Ask a Question

Uncaught exception polling for ProjectConfig.

Occasional Visitor

Uncaught exception polling for ProjectConfig.

We upgraded our readyapi test's in jenkins to out newest ready api version 3.40.2. When we run the test in Jenkins we get the next error:

07:20:36  [INFO] Reflections took 320 ms to scan 1 urls, producing 44 keys and 339 values 
07:20:36  07:21:42,618 INFO  1 out of 1 plugins have been loaded in 2 ms.
07:20:36  [INFO] No license found for ReadyAPI Performance.
07:20:36  [INFO] No license found for ReadyAPI Virtualization.
07:20:37  [INFO] using json parser: GsonConfigParser
07:20:37  [ERROR] Uncaught exception polling for ProjectConfig.07:20:37  java.lang.NullPointerException: Cannot invoke "com.optimizely.ab.config.ProjectConfig.getVersion()" because "projectConfig" is null
07:20:37      at com.optimizely.ab.config.DatafileProjectConfig$ (
07:20:37      at com.optimizely.ab.config.HttpProjectConfigManager.parseProjectConfig (
07:20:37      at com.optimizely.ab.config.HttpProjectConfigManager.poll (
07:20:37      at com.optimizely.ab.config.PollingProjectConfigManager$ (
07:20:37      at java.util.concurrent.Executors$ (
07:20:37      at java.util.concurrent.FutureTask.runAndReset (
07:20:37      at java.util.concurrent.ScheduledThreadPoolExecutor$ (
07:20:37      at java.util.concurrent.ThreadPoolExecutor.runWorker (
07:20:37      at java.util.concurrent.ThreadPoolExecutor$ (
07:20:37      at (
07:20:47  [WARNING] Timeout exceeded waiting for ProjectConfig to be set, returning null.07:20:47  [ERROR] Optimizely instance is not valid, failing getOptimizelyConfig call.07:20:47  [INFO] Datafile successfully loaded with revision: 97
07:20:47  [INFO] Loaded project from [file:/c:/Data/AgentMstr1/workspace/***-readyapi-project/]

We start our test with maven:

mvn -Denvironment=acc -Dprojectfile=***-readyapi-project test

We are using 

Java version:

The pom file looks like this:



The test is successful but we don't want the error in the log. Can anyone tell us why we get the error?

New Contributor

We are experiencing the same behaviour lately. So we are also interested having a fix for this.

Showing results for 
Search instead for 
Did you mean: