Hey guys,
I am trying to upload my Snowplow events into BigQuery and am having lots of issues. I have had my manager and other engineer look at this with me and we cannot figgure it out
Exception in thread "main" java.lang.NullPointerException
at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
at java.base/java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)
at java.base/java.util.Properties.put(Properties.java:1316)
at java.base/java.util.Properties.setProperty(Properties.java:225)
at com.snowplowanalytics.snowplow.bigquery.loader.BigqueryInterface.storeRefreshToken(BigqueryInterface.scala:173)
at com.snowplowanalytics.snowplow.bigquery.loader.BigqueryInterface.<init>(BigqueryInterface.scala:111)
at com.snowplowanalytics.snowplow.bigquery.loader.BigqueryLoaderCli$.main(BigqueryLoaderCli.scala:71)
at com.snowplowanalytics.snowplow.bigquery.loader.BigqueryLoaderCli.main(BigqueryLoaderCli.scala)
samuel:bigqueryloader samuel.$ ls
We can’t figure this one out.
2 "installed": {
3 "client_id": "xxx.apps.googleusercontent.com",
4 "client_secret": "xxx",
5 "redirect_uris": [],
6 "auth_uri": "https://accounts.google.com/o/oauth2/auth",
7 "token_uri": "https://accounts.google.com/o/oauth2/token"
8 }
9 }
~
~
~
~
is the client_secrets and we are running it
I have configured my account right, but there is obviously something that doesn’t exist in the java file.
I would really appreciate help on this. I am considering making my own script that links to the client_secrets just for experimental reasons but really want to know the meaning behind this.
Thank you,
Morris