java.lang.NullPointerException

Jenkins JIRA | tk694h | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When starting Hudson CI via "java -jar hudson.war --httpPort=8008" I find the following in the log file: Mar 10, 2010 8:38:06 AM hudson.triggers.SafeTimerTask run SEVERE: Timer task hudson.WebAppMain$2$1@214d8c01 failed java.lang.NullPointerException at hudson.util.XStream2$AssociatedConverterImpl.findConverter(XStream2.java:152) at hudson.util.XStream2$AssociatedConverterImpl.canConvert(XStream2.java:198) at com.thoughtworks.xstream.core.DefaultConverterLookup.lookupConverterForType(DefaultConverterLookup.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926) at hudson.util.XStream2.unmarshal(XStream2.java:76) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:864) at hudson.plugins.filesystem_scm.ChangelogSet$XMLSerializer.parse(ChangelogSet.java:92) at hudson.plugins.filesystem_scm.ChangelogSet$XMLSerializer.parse(ChangelogSet.java:72) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:652) at hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:627) at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:315) at hudson.model.User.getBuilds(User.java:366) at hudson.WebAppMain$2$1.doRun(WebAppMain.java:231) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)

    Jenkins JIRA | 7 years ago | tk694h
    java.lang.NullPointerException
  2. 0

    When starting Hudson CI via "java -jar hudson.war --httpPort=8008" I find the following in the log file: Mar 10, 2010 8:38:06 AM hudson.triggers.SafeTimerTask run SEVERE: Timer task hudson.WebAppMain$2$1@214d8c01 failed java.lang.NullPointerException at hudson.util.XStream2$AssociatedConverterImpl.findConverter(XStream2.java:152) at hudson.util.XStream2$AssociatedConverterImpl.canConvert(XStream2.java:198) at com.thoughtworks.xstream.core.DefaultConverterLookup.lookupConverterForType(DefaultConverterLookup.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926) at hudson.util.XStream2.unmarshal(XStream2.java:76) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:864) at hudson.plugins.filesystem_scm.ChangelogSet$XMLSerializer.parse(ChangelogSet.java:92) at hudson.plugins.filesystem_scm.ChangelogSet$XMLSerializer.parse(ChangelogSet.java:72) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:652) at hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:627) at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:315) at hudson.model.User.getBuilds(User.java:366) at hudson.WebAppMain$2$1.doRun(WebAppMain.java:231) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)

    Jenkins JIRA | 7 years ago | tk694h
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.util.XStream2$AssociatedConverterImpl.findConverter()
    2. Hudson
      XStream2$AssociatedConverterImpl.canConvert
      1. hudson.util.XStream2$AssociatedConverterImpl.findConverter(XStream2.java:152)
      2. hudson.util.XStream2$AssociatedConverterImpl.canConvert(XStream2.java:198)
      2 frames
    3. XStream Core
      XStream.unmarshal
      1. com.thoughtworks.xstream.core.DefaultConverterLookup.lookupConverterForType(DefaultConverterLookup.java:63)
      2. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      3. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
      4. com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
      5. com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
      6. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926)
      6 frames
    4. Hudson
      XStream2.unmarshal
      1. hudson.util.XStream2.unmarshal(XStream2.java:76)
      1 frame
    5. XStream Core
      XStream.fromXML
      1. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912)
      2. com.thoughtworks.xstream.XStream.fromXML(XStream.java:864)
      2 frames
    6. hudson.plugins.filesystem_scm
      ChangelogSet$XMLSerializer.parse
      1. hudson.plugins.filesystem_scm.ChangelogSet$XMLSerializer.parse(ChangelogSet.java:92)
      2. hudson.plugins.filesystem_scm.ChangelogSet$XMLSerializer.parse(ChangelogSet.java:72)
      2 frames
    7. Hudson
      SafeTimerTask.run
      1. hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:652)
      2. hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:627)
      3. hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:315)
      4. hudson.model.User.getBuilds(User.java:366)
      5. hudson.WebAppMain$2$1.doRun(WebAppMain.java:231)
      6. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
      6 frames
    8. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:512)
      2. java.util.TimerThread.run(Timer.java:462)
      2 frames