Hi,

I am using App Engine Standard with Java 8 (1.9.54). In one of my 
cron tasks I am making a query to BigQuery : 
QueryJobConfiguration queryConfig =

        QueryJobConfiguration.newBuilder(
                "SELECT " + "timestamp" +
                        "      FROM [XXX]" +
                        "      WHERE typing_time>3 AND time_to_respond>6 " +
                        "      ORDER BY timestamp DESC " +
                        "      LIMIT 1 " +
                        ";"
        )
                .setUseLegacySql(true)
                .build();

QueryResponse queryResponse = runQuery(queryConfig);

I get the following exception:
java.lang.NoSuchMethodError: 
com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
 
at com.google.cloud.bigquery.BigQueryImpl.optionMap(BigQueryImpl.java:666 
<https://console.cloud.google.com/debug/fromlog?appModule=default&appVersion=20170830t175044&file=com%2Fgoogle%2Fcloud%2Fbigquery%2FBigQueryImpl.java&line=666&logInsertId=59a71c11000ea6965fb289e3&logNanos=1504123920477706000&nestedLogIndex=2&project=reps-ai-production>)
 
at com.google.cloud.bigquery.BigQueryImpl.getJob(BigQueryImpl.java:497 
<https://console.cloud.google.com/debug/fromlog?appModule=default&appVersion=20170830t175044&file=com%2Fgoogle%2Fcloud%2Fbigquery%2FBigQueryImpl.java&line=497&logInsertId=59a71c11000ea6965fb289e3&logNanos=1504123920477706000&nestedLogIndex=2&project=reps-ai-production>)
 
at com.google.cloud.bigquery.Job.isDone(Job.java:162 
<https://console.cloud.google.com/debug/fromlog?appModule=default&appVersion=20170830t175044&file=com%2Fgoogle%2Fcloud%2Fbigquery%2FJob.java&line=162&logInsertId=59a71c11000ea6965fb289e3&logNanos=1504123920477706000&nestedLogIndex=2&project=reps-ai-production>)
 
at com.google.cloud.bigquery.Job.waitFor(Job.java:214 
<https://console.cloud.google.com/debug/fromlog?appModule=default&appVersion=20170830t175044&file=com%2Fgoogle%2Fcloud%2Fbigquery%2FJob.java&line=214&logInsertId=59a71c11000ea6965fb289e3&logNanos=1504123920477706000&nestedLogIndex=2&project=reps-ai-production>
)
at com.myCode.runQuery

The thing is that it worked for a few weeks and it suddenly stopped 
working. Does anyone know what can be the reason?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ea98f314-5445-466e-a4f8-f9aa26e42905%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine... Shachar Grembek

Reply via email to