java.lang.InstantiationException: java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Gardner Bickford,
  • 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
    via by Gardner Bickford,
    • 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
    No Bugmate found.