• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • Downstream Build View: 1.4. Hudson: 1.349. Linux (2.6.18 rhel), Tomcat 6, Sun Java 6, etc.

      The contents of the http://../hudson/job/mvn-thingie/1337/blah.blah$blah/console page is:

      Started
      FATAL: null
      java.lang.NullPointerException
      	at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:76)
      	at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:48)
      	at hudson.model.listeners.RunListener.fireStarted(RunListener.java:139)
      	at hudson.model.Run.run(Run.java:1219)
      	at hudson.maven.MavenBuild.access$600(MavenBuild.java:71)
      	at hudson.maven.MavenBuild$ProxyImpl2.close(MavenBuild.java:453)
      	at hudson.maven.MavenModuleSetBuild$Builder.end(MavenModuleSetBuild.java:681)
      	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:482)
      	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      	at hudson.model.Run.run(Run.java:1224)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:122)
      

      No idea why. Other failed submodules work fine. It's not first or last in the list. The maven job is downstream of a plain Java build and upstream to nothing. It's publishing to Nexus. The maven multimodule config is pretty simple; this would have been the last module to be built.

          [JENKINS-5918] NPE viewing maven submodule console

          kutzi added a comment -

          Note that dowstream-ext is the JIRA component for this plugin: http://wiki.jenkins-ci.org/display/JENKINS/Downstream-Ext+Plugin

          Therefore unassigned this issue from downstream-ext - currently there's no component for downstream buildview

          kutzi added a comment - Note that dowstream-ext is the JIRA component for this plugin: http://wiki.jenkins-ci.org/display/JENKINS/Downstream-Ext+Plugin Therefore unassigned this issue from downstream-ext - currently there's no component for downstream buildview

          kutzi added a comment -

          Now there is a component for it.

          kutzi added a comment - Now there is a component for it.

          micha4311 added a comment -

          This problem becomes very urgent at our site as
          a) the plugin is not usable at the moment
          b) some projects are in need for it
          c) since Hudson 1.355 we have to completly uninstall it
          (before we just deactivated it but Hudson 1.355 now hangs)

          micha4311 added a comment - This problem becomes very urgent at our site as a) the plugin is not usable at the moment b) some projects are in need for it c) since Hudson 1.355 we have to completly uninstall it (before we just deactivated it but Hudson 1.355 now hangs)

          micha4311 added a comment -

          Would it be possible to provide at least a quick fix which does a null check and in the case just does nothing?

          If this view would be wrong in some cases it would be even better than not having it at all.

          I realized that if I uninstall the plugin hudson hangs because of an entry in the build.xml of the several job runs:
          <org.jvnet.hudson.plugins.DownstreamBuildViewAction>
          <build class="hudson.maven.MavenModuleSetBuild" reference="../../.."/>
          </org.jvnet.hudson.plugins.DownstreamBuildViewAction>

          Now I have to remove this entry out of EVERY existing build.xml in order to keep hudson running.

          micha4311 added a comment - Would it be possible to provide at least a quick fix which does a null check and in the case just does nothing? If this view would be wrong in some cases it would be even better than not having it at all. I realized that if I uninstall the plugin hudson hangs because of an entry in the build.xml of the several job runs: <org.jvnet.hudson.plugins.DownstreamBuildViewAction> <build class="hudson.maven.MavenModuleSetBuild" reference="../../.."/> </org.jvnet.hudson.plugins.DownstreamBuildViewAction> Now I have to remove this entry out of EVERY existing build.xml in order to keep hudson running.

          micha4311 added a comment -

          it seems that is (at least often) happens when a release is made. On normal Snapshot builds afair I did not see this behavior.

          micha4311 added a comment - it seems that is (at least often) happens when a release is made. On normal Snapshot builds afair I did not see this behavior.

          riftware added a comment -

          This error is also happening for us - we just started trying for the first time to get hudson to create our release builds as well. We get the problem with maven release builds with the current maven release plugin and hudson 1.362 unless we disable the downstream plugin. Normal builds work fine. The weird thing is we don't actually have downstream projects - what is failing is we have a parent pom that builds 4 modules in the same job. IN snapshot (normal build) all 4 show blue. In release mode only the first child module goes blue, the other 3 show red with the null pointer error. They have however successfully built on this supposedly failed build.

          riftware added a comment - This error is also happening for us - we just started trying for the first time to get hudson to create our release builds as well. We get the problem with maven release builds with the current maven release plugin and hudson 1.362 unless we disable the downstream plugin. Normal builds work fine. The weird thing is we don't actually have downstream projects - what is failing is we have a parent pom that builds 4 modules in the same job. IN snapshot (normal build) all 4 show blue. In release mode only the first child module goes blue, the other 3 show red with the null pointer error. They have however successfully built on this supposedly failed build.

          hhuynh added a comment -

          Ran into this bug by upgrading Hudson from 1.362 to 1.363

          Started by upstream project "projectA" build number 899
          FATAL: null
          java.lang.NullPointerException
          at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:84)
          at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:48)
          at hudson.model.listeners.RunListener.fireStarted(RunListener.java:139)
          at hudson.model.Run.run(Run.java:1248)
          at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:306)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:127)

          hhuynh added a comment - Ran into this bug by upgrading Hudson from 1.362 to 1.363 Started by upstream project "projectA" build number 899 FATAL: null java.lang.NullPointerException at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:84) at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:48) at hudson.model.listeners.RunListener.fireStarted(RunListener.java:139) at hudson.model.Run.run(Run.java:1248) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:306) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:127)

          lynggaard added a comment -

          This looks very similar to the http://issues.jenkins-ci.org/browse/JENKINS-7691 (Release Build is marked as failure for multi-module projects.) which is fixed in plugin version 1.5 could I kindly ask you to retest as I have not been able to reproduce the stacktrace lately?

          lynggaard added a comment - This looks very similar to the http://issues.jenkins-ci.org/browse/JENKINS-7691 (Release Build is marked as failure for multi-module projects.) which is fixed in plugin version 1.5 could I kindly ask you to retest as I have not been able to reproduce the stacktrace lately?

          evernat added a comment -

          No response, but yes, it was certainly a duplicate of JENKINS-7691.
          So resolving as duplicate.

          evernat added a comment - No response, but yes, it was certainly a duplicate of JENKINS-7691 . So resolving as duplicate.

            shinodkm shinodkm
            faux faux
            Votes:
            9 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: