-
Bug
-
Resolution: Fixed
-
Blocker
-
None
When the pipeline gets to publishing step it returns this:
ERROR: Exception when publishing, exception message [null]
The stack trace is as follows:
java.lang.Exception: UNSTABLE at org.jenkinsci.plugins.publishoverdropbox.impl.step.DropboxPublishStepExecution$1.run(DropboxPublishStepExecution.java:90) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
And this is the stacktrace from Jenkins system log:
An exception was caught when invoking perform java.lang.NullPointerException at org.jenkinsci.plugins.publishoverdropbox.domain.JsonObjectRequest.getProxy(JsonObjectRequest.java:209) at org.jenkinsci.plugins.publishoverdropbox.domain.JsonObjectRequest.openConnection(JsonObjectRequest.java:200) at org.jenkinsci.plugins.publishoverdropbox.domain.JsonObjectRequest.execute(JsonObjectRequest.java:146) at org.jenkinsci.plugins.publishoverdropbox.domain.DropboxV2.retrieveAccountInfo(DropboxV2.java:142) at org.jenkinsci.plugins.publishoverdropbox.domain.DropboxV2.connect(DropboxV2.java:121) at org.jenkinsci.plugins.publishoverdropbox.domain.DropboxClient.connect(DropboxClient.java:118) at org.jenkinsci.plugins.publishoverdropbox.impl.DropboxHostConfiguration.connect(DropboxHostConfiguration.java:112) at org.jenkinsci.plugins.publishoverdropbox.impl.DropboxHostConfiguration.init(DropboxHostConfiguration.java:100) at org.jenkinsci.plugins.publishoverdropbox.impl.DropboxHostConfiguration.createClient(DropboxHostConfiguration.java:83) at org.jenkinsci.plugins.publishoverdropbox.impl.DropboxHostConfiguration.createClient(DropboxHostConfiguration.java:47) at jenkins.plugins.publish_over.BPHostConfiguration.createClient(BPHostConfiguration.java:96) at jenkins.plugins.publish_over.BapPublisher$Performer.perform(BapPublisher.java:229) at jenkins.plugins.publish_over.BapPublisher$Performer.access$000(BapPublisher.java:205) at jenkins.plugins.publish_over.BapPublisher.perform(BapPublisher.java:158) at jenkins.plugins.publish_over.BPCallablePublisher.invoke(BPCallablePublisher.java:65) Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to worker02 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1693) at hudson.remoting.UserResponse.retrieve(UserRequest.java:310) at hudson.remoting.Channel.call(Channel.java:908) at hudson.FilePath.act(FilePath.java:986) at hudson.FilePath.act(FilePath.java:975) at jenkins.plugins.publish_over.BPInstanceConfig.perform(BPInstanceConfig.java:141) at org.jenkinsci.plugins.publishoverdropbox.impl.step.DropboxPublishStepExecution$1.run(DropboxPublishStepExecution.java:87) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) Caused: jenkins.plugins.publish_over.BapPublisherException: Exception when publishing, exception message [null] at jenkins.plugins.publish_over.BPCallablePublisher.invoke(BPCallablePublisher.java:69) at jenkins.plugins.publish_over.BPCallablePublisher.invoke(BPCallablePublisher.java:38) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2760) at hudson.remoting.UserRequest.perform(UserRequest.java:207) at hudson.remoting.UserRequest.perform(UserRequest.java:53) at hudson.remoting.Request$2.run(Request.java:358) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
UPDATE: Just confirmed that when the pipeline gets to Upload step, the request doesn't even reach the proxy server. Now I'm not sure if the error is caused by that, or the fact that the request doesn't reach the server is caused by the __
NullPointerException