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

NullPointerException at startup -- SEVERE: Timer task hudson.WebAppMain failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • maven-plugin
    • None
    • Linux

      I'm seeing the following exception thrown at startup...

      Oct 21, 2010 9:37:00 AM hudson.triggers.SafeTimerTask run
      SEVERE: Timer task hudson.WebAppMain$2$1@109037d failed
      java.lang.NullPointerException
      at java.lang.String.startsWith(String.java:1421)
      at java.lang.String.startsWith(String.java:1450)
      at hudson.maven.MavenModuleSetBuild$1.isDescendantOf(MavenModuleSetBuild.java:178)
      at hudson.maven.MavenModuleSetBuild$1.<init>(MavenModuleSetBuild.java:147)
      at hudson.maven.MavenModuleSetBuild.getChangeSetFor(MavenModuleSetBuild.java:141)
      at hudson.maven.FilteredChangeLogSet.<init>(FilteredChangeLogSet.java:51)
      at hudson.maven.MavenBuild.getChangeSet(MavenBuild.java:161)
      at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:315)
      at hudson.model.User.getBuilds(User.java:369)
      at hudson.WebAppMain$2$1.doRun(WebAppMain.java:227)
      at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)

      I believe the problem began showing up in version 1.378.

      I am currently using:
      Hudson - 1.381
      Static Analysis Collector Plug-in - 1.8
      Static Analysis Utilities - 1.14
      Hudson Backup plugin - 1.5
      Checkstyle Plug-in - 3.10
      Hudson CVS Plug-in - 1.2
      Hudson Dependency Analyzer Plugin - 0.5
      Hudson Email Extension Plugin - 2.9
      FindBugs Plug-in - 4.14
      Hudson Maven Release Plug-in Plug-in - 0.6.1
      Hudson Maven Info Plugin - 0.0.3
      Maven Integration plugin - 1.381
      PMD Plug-in - 3.10
      Hudson Support Subscription Notification Plugin - 1.2
      Hudson SSH Slaves plugin - 0.13
      Hudson Subversion Plug-in - 1.17
      Warnings Plug-in - 3.11

      I'm not sure whether this is causing any real problems, but after I first saw it I was having problems with build hanging, and I was forced to revert to an earlier version of Hudson. If this exception isn't important, I'd like to see it cleaned up. If it is indicative of a larger problems, can we get a fix?

            Unassigned Unassigned
            sinkha sinkha
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: