java.lang.NullPointerException

Jenkins JIRA | Thorsten Löber | 6 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

    [JENKINS-10810] Jenkins 1.427 doesn't work on AIX - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    java.lang.NullPointerException
  2. 0

    I try to upgrade jenkins from 1.415 to 1.427 and get following error message: [Winstone 2011/08/24 09:55:47] - Beginning extraction from war file Jenkins home directory: /home/hudson/.hudson found at: $user.home/.hudson [Winstone 2011/08/24 09:55:56] - HTTP Listener started: port=8080 [Winstone 2011/08/24 09:55:56] - AJP13 Listener started: port=8009 Using one-time self-signed certificate [Winstone 2011/08/24 09:55:56] - Winstone shutdown successfully [Winstone 2011/08/24 09:55:56] - Container startup failed java.io.IOException: Failed to start a listener: winstone.ssl.HttpsListener at winstone.Launcher.spawnListener(Launcher.java:250) at winstone.Launcher.<init>(Launcher.java:206) at winstone.Launcher.main(Launcher.java:398) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at Main._main(Main.java:268) at Main.main(Main.java:96) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:522) at winstone.Launcher.spawnListener(Launcher.java:238) ... 8 more Caused by: java.lang.NoClassDefFoundError: sun.security.x509.CertAndKeyGen at winstone.ssl.HttpsListener.<init>(HttpsListener.java:111) ... 13 more Caused by: java.lang.ClassNotFoundException: sun.security.x509.CertAndKeyGen at java.net.URLClassLoader.findClass(URLClassLoader.java:496) at java.lang.ClassLoader.loadClass(ClassLoader.java:631) at java.lang.ClassLoader.loadClass(ClassLoader.java:597) ... 14 more Aug 24, 2011 9:55:56 AM hudson.WebAppMain$2 run SEVERE: Failed to initialize Jenkins java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:199) at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:244) at jenkins.model.Jenkins.executeReactor(Jenkins.java:813) at jenkins.model.Jenkins.<init>(Jenkins.java:727) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Exception in thread "pool-2-thread-1" java.lang.NullPointerException at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:810) java version "1.6.0" Java(TM) SE Runtime Environment (build pap6460sr5-20090529_04(SR5)) IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr5-20090519_35743 (JIT enabled, AOT enabled) J9VM - 20090519_035743_BHdSMr JIT - r9_20090518_2017 GC - 20090417_AA) JCL - 20090529_01

    Jenkins JIRA | 6 years ago | Thorsten Löber
    java.lang.NullPointerException
  3. 0

    I try to upgrade jenkins from 1.415 to 1.427 and get following error message: [Winstone 2011/08/24 09:55:47] - Beginning extraction from war file Jenkins home directory: /home/hudson/.hudson found at: $user.home/.hudson [Winstone 2011/08/24 09:55:56] - HTTP Listener started: port=8080 [Winstone 2011/08/24 09:55:56] - AJP13 Listener started: port=8009 Using one-time self-signed certificate [Winstone 2011/08/24 09:55:56] - Winstone shutdown successfully [Winstone 2011/08/24 09:55:56] - Container startup failed java.io.IOException: Failed to start a listener: winstone.ssl.HttpsListener at winstone.Launcher.spawnListener(Launcher.java:250) at winstone.Launcher.<init>(Launcher.java:206) at winstone.Launcher.main(Launcher.java:398) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at Main._main(Main.java:268) at Main.main(Main.java:96) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:522) at winstone.Launcher.spawnListener(Launcher.java:238) ... 8 more Caused by: java.lang.NoClassDefFoundError: sun.security.x509.CertAndKeyGen at winstone.ssl.HttpsListener.<init>(HttpsListener.java:111) ... 13 more Caused by: java.lang.ClassNotFoundException: sun.security.x509.CertAndKeyGen at java.net.URLClassLoader.findClass(URLClassLoader.java:496) at java.lang.ClassLoader.loadClass(ClassLoader.java:631) at java.lang.ClassLoader.loadClass(ClassLoader.java:597) ... 14 more Aug 24, 2011 9:55:56 AM hudson.WebAppMain$2 run SEVERE: Failed to initialize Jenkins java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:199) at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:244) at jenkins.model.Jenkins.executeReactor(Jenkins.java:813) at jenkins.model.Jenkins.<init>(Jenkins.java:727) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Exception in thread "pool-2-thread-1" java.lang.NullPointerException at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:810) java version "1.6.0" Java(TM) SE Runtime Environment (build pap6460sr5-20090529_04(SR5)) IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr5-20090519_35743 (JIT enabled, AOT enabled) J9VM - 20090519_035743_BHdSMr JIT - r9_20090518_2017 GC - 20090417_AA) JCL - 20090529_01

    Jenkins JIRA | 6 years ago | Thorsten Löber
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot start Jenkins on port 80 on debian 7

    Stack Overflow | 4 years ago | u123
    java.lang.NullPointerException
  6. 0

    Exception when running Jenkins on Windows

    Stack Overflow | 5 years ago | Andrey Botalov
    java.lang.NullPointerException

    1 unregistered visitors
    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 org.jvnet.hudson.reactor.Reactor$2.run()
    2. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      2 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
      3. java.lang.Thread.run(Thread.java:810)
      3 frames