Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67163

JEP-233 breaks confluence publisher plugin

XMLWordPrintable

      The recent upgrade of Guava on JEP-233 breaks the confluence publisher plugin:

       publishConfluence attachArchivedArtifacts: false, pageName: config.pageName, siteName: 'confluence.mysite.com',
                      spaceName: config.spaceName, buildIfUnstable: true,
                      editorList: [confluenceBeforeToken(generator: confluenceText(message), markerToken: '</tbody></table>')]
      

      Gives:

      java.lang.NoSuchMethodError: com.google.common.util.concurrent.Futures.transform(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/base/Function;)Lcom/google/common/util/concurrent/ListenableFuture;
      	at com.atlassian.util.concurrent.Promises$Of.map(Promises.java:254)
      	at com.atlassian.confluence.rest.client.AbstractRemoteContentService$AbstractRemoteContentFinder.fetchOne(AbstractRemoteContentService.java:157)
      	at com.atlassian.confluence.rest.client.RemoteContentServiceImpl$RemoteContentFinderImpl.fetchOne(RemoteContentServiceImpl.java:35)
      	at com.atlassian.confluence.rest.client.RemoteSingleFetcher.fetch(RemoteSingleFetcher.java:14)
      	at com.myyearbook.hudson.plugins.confluence.ConfluenceSession.getContent(ConfluenceSession.java:150)
      	at com.myyearbook.hudson.plugins.confluence.ConfluencePublisher.perform(ConfluencePublisher.java:387)
      	at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
      	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:100)
      	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:70)
      	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      	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)
      

            basil Basil Crow
            ben_gineer Ben Middleton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: