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

ERROR: Publisher com.myyearbook.hudson.plugins.confluence.ConfluencePublisher aborted due to exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Postponed
    • Icon: Critical Critical
    • None
    • Windows 7 Server

      Jenkins 1.518
      Plugin information Confluence Publisher 1.8

      Objective: To publish build artifact to confluence.

      Note: If I untick "Attach archived artifacts to page" the build is successful.

      Console output

      Started by user anonymous
      Building in workspace C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace
      Parsing POMs
      [workspace] $ C:\webui-dev.x64\jdk6/bin/java -cp "C:\Program Files (x86)\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-agent-1.2.jar;C:\webui-dev.x64\maven3\boot\plexus-classworlds-2.4.jar" org.jvnet.hudson.maven3.agent.Maven3Main C:\webui-dev.x64\maven3 "C:\Program Files (x86)\Jenkins\war\WEB-INF\lib\remoting-2.23.jar" "C:\Program Files (x86)\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-1.2.jar" 50864
      <===[JENKINS REMOTING CAPACITY]===>channel started
      log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
      log4j:WARN Please initialize the log4j system properly.
      Executing Maven:  -B -f C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\pom.xml install
      [INFO] Scanning for projects...
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building MySel20Proj 1.0
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ MySel20Proj ---
      [debug] execute contextualize
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] skip non existing resourceDirectory C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\src\main\resources
      [INFO] No sources to compile
      [INFO] 
      [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ MySel20Proj ---
      [debug] execute contextualize
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] skip non existing resourceDirectory C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\src\test\resources
      [INFO] 
      [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ MySel20Proj ---
      [INFO] No sources to compile
      [INFO] 
      [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ MySel20Proj ---
      [INFO] 
      [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ MySel20Proj ---
      [INFO] No tests to run.
      [INFO] Surefire report directory: C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\target\surefire-reports
      
      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      
      Results :
      
      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
      
      [JENKINS] Recording test results
      [WARNING] JAR will be empty - no content was marked for inclusion!
      [INFO] 
      [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ MySel20Proj ---
      [INFO] [INFO] Installing C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\target\MySel20Proj-1.0.jar to C:\.m2\repository\MySel20Proj\MySel20Proj\1.0\MySel20Proj-1.0.jar
      [INFO] Installing C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\pom.xml to C:\.m2\repository\MySel20Proj\MySel20Proj\1.0\MySel20Proj-1.0.pom
      
      [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ MySel20Proj ---
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 11.703s
      [INFO] Finished at: Thu Aug 01 10:43:26 BST 2013
      [INFO] Final Memory: 8M/139M
      [INFO] ------------------------------------------------------------------------
      [JENKINS] Archiving C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\pom.xml to C:\Program Files (x86)\Jenkins\jobs\TestNewJob\modules\MySel20Proj$MySel20Proj\builds\2013-08-01_10-43-10\archive\MySel20Proj\MySel20Proj\1.0\MySel20Proj-1.0.pom
      [JENKINS] Archiving C:\Program Files (x86)\Jenkins\jobs\TestNewJob\workspace\target\MySel20Proj-1.0.jar to C:\Program Files (x86)\Jenkins\jobs\TestNewJob\modules\MySel20Proj$MySel20Proj\builds\2013-08-01_10-43-10\archive\MySel20Proj\MySel20Proj\1.0\MySel20Proj-1.0.jar
      Waiting for Jenkins to finish collecting data
      channel stopped
      [confluence] Uploading attachments to Confluence page: http://xxx.xxx.com/display/Space/Page Name
      ERROR: Publisher com.myyearbook.hudson.plugins.confluence.ConfluencePublisher aborted due to exception
      java.lang.NullPointerException
      	at com.myyearbook.hudson.plugins.confluence.ConfluencePublisher.findArtifacts(ConfluencePublisher.java:445)
      	at com.myyearbook.hudson.plugins.confluence.ConfluencePublisher.performAttachments(ConfluencePublisher.java:182)
      	at com.myyearbook.hudson.plugins.confluence.ConfluencePublisher.perform(ConfluencePublisher.java:314)
      	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:949)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
      	at hudson.model.Run.execute(Run.java:1601)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:241)
      Finished: FAILURE
      

            jhansche Joe Hansche
            sean_ross Sean Moloney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: