-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins: 2.387.1
confluence-publisher: 136.vc30a_a_0d845d7
[confluence] ParentId: 0 [confluence] Uploading attachments to Confluence page: Certificates status [confluence] Found 1 archived artifact(s) to upload to Confluence... [confluence] Uploading 1 file(s) to Confluence... [confluence] - Uploading file: certificates.json (application/json)
And error:
java.lang.NullPointerException: Cannot invoke "com.atlassian.confluence.api.model.pagination.PageResponse.getResults()" because "result" is null at com.myyearbook.hudson.plugins.confluence.ConfluencePublisher.performAttachments(ConfluencePublisher.java:347) at com.myyearbook.hudson.plugins.confluence.ConfluencePublisher.perform(ConfluencePublisher.java:429) at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Finished: FAILURE
Manually, I can attach a json file.
Jenkins: