Application name is not set. Call Builder#setApplicationName. error
google-bigquery
Solution
Try this to set your application name
Drive service = new Drive.Builder(httpTransport, jsonFactory, null)
.setHttpRequestInitializer(credential)
.setApplicationName("Your app name")
.build();
Problem
Application: Connecting to BigQuery using BigQuery APIs for Java Environment: Eclipse, Windows 7 My application was running fine until last night. I've made no changes (except for restarting my computer) and my code is suddenly giving me this error: ``` Application name is not set. Call Builder#setApplicationName. ``` Thankfully I had a tar'd version of my workspace from last night. I ran a folder compare and found the local_db.bin file was different. I deleted the existing local_db.bin file and tried to run the program again. And it worked fine! Any idea why this might have happened? Hopefully this will help anyone else who stumbles upon this issue.