java.lang.InstantiationException: java.lang.NullPointerException

Jenkins JIRA | Gardner Bickford | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Running the war as root to attempt to work around [JENKINS-9958|https://issues.jenkins-ci.org/browse/JENKINS-9958] results in a NullPointerException gbickfor@usurper:~ $ sudo java -jar jenkins.war Password: Running from: /Users/gbickfor/jenkins.war webroot: $user.home/.jenkins [Winstone 2011/06/11 11:18:06] - Beginning extraction from war file hudson home directory: /Users/gbickfor/.jenkins found at: $user.home/.jenkins [Winstone 2011/06/11 11:18:08] - HTTP Listener started: port=8080 [Winstone 2011/06/11 11:18:08] - AJP13 Listener started: port=8009 Using one-time self-signed certificate [Winstone 2011/06/11 11:18:08] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled Jun 11, 2011 11:18:08 AM hudson.model.Hudson$5 onAttained INFO: Started initialization Jun 11, 2011 11:18:08 AM hudson.model.Hudson$5 onAttained INFO: Listed all plugins Jun 11, 2011 11:18:08 AM hudson.model.Hudson$5 onAttained INFO: Prepared all plugins Jun 11, 2011 11:18:09 AM hudson.plugins.pxe.PXE restartPXE INFO: Starting TFTP/ProxyDHCP service Jun 11, 2011 11:18:09 AM hudson.plugins.pxe.PXEBootProcess call INFO: Starting a DHCP proxy service Jun 11, 2011 11:18:09 AM org.jvnet.hudson.proxy_dhcp.ProxyDhcpService <init> INFO: TFTP server: 169.254.68.51 Jun 11, 2011 11:18:09 AM org.jvnet.hudson.proxy_dhcp.ProxyDhcpService <init> INFO: Boot file: pxelinux.0 Jun 11, 2011 11:18:09 AM hudson.plugins.pxe.PXEBootProcess call INFO: Starting a TFTP service Jun 11, 2011 11:18:09 AM hudson.plugins.pxe.PXEBootProcess call INFO: All services ready Jun 11, 2011 11:18:09 AM hudson.ExtensionFinder$Sezpoz find WARNING: Failed to load hudson.plugins.pxe.PXE java.lang.InstantiationException: java.lang.NullPointerException at net.java.sezpoz.IndexItem.instance(IndexItem.java:191) at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:180) at hudson.ExtensionFinder._find(ExtensionFinder.java:94) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:283) at hudson.ExtensionList.load(ExtensionList.java:237) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:208) at hudson.ExtensionList.iterator(ExtensionList.java:115) at hudson.ExtensionList.get(ExtensionList.java:106) at hudson.plugins.pxe.PluginImpl.postInitialize(PluginImpl.java:13) at hudson.PluginManager$2$1$2.run(PluginManager.java:293) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at hudson.model.Hudson$4.runTask(Hudson.java:735) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.NullPointerException at hudson.plugins.pxe.PXEBootProcess.call(PXEBootProcess.java:48) at hudson.plugins.pxe.PXEBootProcess.call(PXEBootProcess.java:22) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.plugins.pxe.PXE.restartPXE(PXE.java:173) at hudson.plugins.pxe.PXE.<init>(PXE.java:82) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at net.java.sezpoz.IndexItem.instance(IndexItem.java:181) ... 17 more Jun 11, 2011 11:18:09 AM hudson.model.Hudson$5 onAttained INFO: Started all plugins Jun 11, 2011 11:18:10 AM hudson.model.Hudson$5 onAttained INFO: Augmented all extensions Jun 11, 2011 11:18:10 AM hudson.model.Hudson$5 onAttained INFO: Loaded all jobs Jun 11, 2011 11:18:10 AM hudson.model.Hudson$5 onAttained INFO: Completed initialization Jun 11, 2011 11:18:10 AM hudson.TcpSlaveAgentListener <init> INFO: JNLP slave agent listener started on TCP port 51121

    Jenkins JIRA | 6 years ago | Gardner Bickford
    java.lang.InstantiationException: java.lang.NullPointerException
  2. 0

    Running the war as root to attempt to work around [JENKINS-9958|https://issues.jenkins-ci.org/browse/JENKINS-9958] results in a NullPointerException gbickfor@usurper:~ $ sudo java -jar jenkins.war Password: Running from: /Users/gbickfor/jenkins.war webroot: $user.home/.jenkins [Winstone 2011/06/11 11:18:06] - Beginning extraction from war file hudson home directory: /Users/gbickfor/.jenkins found at: $user.home/.jenkins [Winstone 2011/06/11 11:18:08] - HTTP Listener started: port=8080 [Winstone 2011/06/11 11:18:08] - AJP13 Listener started: port=8009 Using one-time self-signed certificate [Winstone 2011/06/11 11:18:08] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled Jun 11, 2011 11:18:08 AM hudson.model.Hudson$5 onAttained INFO: Started initialization Jun 11, 2011 11:18:08 AM hudson.model.Hudson$5 onAttained INFO: Listed all plugins Jun 11, 2011 11:18:08 AM hudson.model.Hudson$5 onAttained INFO: Prepared all plugins Jun 11, 2011 11:18:09 AM hudson.plugins.pxe.PXE restartPXE INFO: Starting TFTP/ProxyDHCP service Jun 11, 2011 11:18:09 AM hudson.plugins.pxe.PXEBootProcess call INFO: Starting a DHCP proxy service Jun 11, 2011 11:18:09 AM org.jvnet.hudson.proxy_dhcp.ProxyDhcpService <init> INFO: TFTP server: 169.254.68.51 Jun 11, 2011 11:18:09 AM org.jvnet.hudson.proxy_dhcp.ProxyDhcpService <init> INFO: Boot file: pxelinux.0 Jun 11, 2011 11:18:09 AM hudson.plugins.pxe.PXEBootProcess call INFO: Starting a TFTP service Jun 11, 2011 11:18:09 AM hudson.plugins.pxe.PXEBootProcess call INFO: All services ready Jun 11, 2011 11:18:09 AM hudson.ExtensionFinder$Sezpoz find WARNING: Failed to load hudson.plugins.pxe.PXE java.lang.InstantiationException: java.lang.NullPointerException at net.java.sezpoz.IndexItem.instance(IndexItem.java:191) at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:180) at hudson.ExtensionFinder._find(ExtensionFinder.java:94) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:283) at hudson.ExtensionList.load(ExtensionList.java:237) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:208) at hudson.ExtensionList.iterator(ExtensionList.java:115) at hudson.ExtensionList.get(ExtensionList.java:106) at hudson.plugins.pxe.PluginImpl.postInitialize(PluginImpl.java:13) at hudson.PluginManager$2$1$2.run(PluginManager.java:293) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at hudson.model.Hudson$4.runTask(Hudson.java:735) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.NullPointerException at hudson.plugins.pxe.PXEBootProcess.call(PXEBootProcess.java:48) at hudson.plugins.pxe.PXEBootProcess.call(PXEBootProcess.java:22) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.plugins.pxe.PXE.restartPXE(PXE.java:173) at hudson.plugins.pxe.PXE.<init>(PXE.java:82) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at net.java.sezpoz.IndexItem.instance(IndexItem.java:181) ... 17 more Jun 11, 2011 11:18:09 AM hudson.model.Hudson$5 onAttained INFO: Started all plugins Jun 11, 2011 11:18:10 AM hudson.model.Hudson$5 onAttained INFO: Augmented all extensions Jun 11, 2011 11:18:10 AM hudson.model.Hudson$5 onAttained INFO: Loaded all jobs Jun 11, 2011 11:18:10 AM hudson.model.Hudson$5 onAttained INFO: Completed initialization Jun 11, 2011 11:18:10 AM hudson.TcpSlaveAgentListener <init> INFO: JNLP slave agent listener started on TCP port 51121

    Jenkins JIRA | 6 years ago | Gardner Bickford
    java.lang.InstantiationException: java.lang.NullPointerException
  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.plugins.pxe.PXEBootProcess.call()
    2. hudson.plugins.pxe
      PXEBootProcess.call
      1. hudson.plugins.pxe.PXEBootProcess.call(PXEBootProcess.java:48)
      2. hudson.plugins.pxe.PXEBootProcess.call(PXEBootProcess.java:22)
      2 frames
    3. Hudson :: Remoting Layer
      LocalChannel.call
      1. hudson.remoting.LocalChannel.call(LocalChannel.java:45)
      1 frame
    4. hudson.plugins.pxe
      PXE.<init>
      1. hudson.plugins.pxe.PXE.restartPXE(PXE.java:173)
      2. hudson.plugins.pxe.PXE.<init>(PXE.java:82)
      2 frames
    5. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      5. java.lang.Class.newInstance0(Class.java:355)
      6. java.lang.Class.newInstance(Class.java:308)
      6 frames
    6. SezPoz
      IndexItem.instance
      1. net.java.sezpoz.IndexItem.instance(IndexItem.java:181)
      1 frame
    7. Hudson
      ExtensionList.get
      1. hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:180)
      2. hudson.ExtensionFinder._find(ExtensionFinder.java:94)
      3. hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:283)
      4. hudson.ExtensionList.load(ExtensionList.java:237)
      5. hudson.ExtensionList.ensureLoaded(ExtensionList.java:208)
      6. hudson.ExtensionList.iterator(ExtensionList.java:115)
      7. hudson.ExtensionList.get(ExtensionList.java:106)
      7 frames
    8. hudson.plugins.pxe
      PluginImpl.postInitialize
      1. hudson.plugins.pxe.PluginImpl.postInitialize(PluginImpl.java:13)
      1 frame
    9. Hudson
      PluginManager$2$1$2.run
      1. hudson.PluginManager$2$1$2.run(PluginManager.java:293)
      1 frame
    10. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
      2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      2 frames
    11. Hudson
      Hudson$4.runTask
      1. hudson.model.Hudson$4.runTask(Hudson.java:735)
      1 frame
    12. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      2 frames
    13. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:680)
      3 frames