java.lang.NullPointerException

Jenkins JIRA | Stuart Lovegrove | 5 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

    On Jenkins 1.426 all is well however when I upgrade to 1.428 or 1.429 this error appears when starting!! C:\Documents and Settings\builder2\Desktop>java -Xmx1600M -jar F:\Hudson\hudson. war --httpPort=8080 Running from: F:\Hudson\hudson.war webroot: $user.home/.hudson [Winstone 2011/09/07 12:05:22] - Beginning extraction from war file Jenkins home directory: C:\Documents and Settings\builder2\.hudson found at: $us er.home/.hudson [Winstone 2011/09/07 12:05:46] - HTTP Listener started: port=8080 [Winstone 2011/09/07 12:05:46] - Winstone shutdown successfully [Winstone 2011/09/07 12:05:46] - Container startup failed java.io.IOException: Failed to start a listener: winstone.ajp13.Ajp13Listener at winstone.Launcher.spawnListener(Launcher.java:250) at winstone.Launcher.<init>(Launcher.java:203) at winstone.Launcher.main(Launcher.java:398) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at Main._main(Main.java:268) at Main.main(Main.java:96) Caused by: java.io.IOException: Failed to listen on port 8009 at winstone.ajp13.Ajp13Listener.start(Ajp13Listener.java:92) at winstone.Launcher.spawnListener(Launcher.java:241) ... 8 more Caused by: java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at winstone.ajp13.Ajp13Listener.start(Ajp13Listener.java:87) ... 9 more Exception in thread "pool-2-thread-2" java.lang.NullPointerException at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:153) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 07-Sep-2011 12:05:47 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:485) at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:244) at jenkins.model.Jenkins.executeReactor(Jenkins.java:814) at jenkins.model.Jenkins.<init>(Jenkins.java:728) 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(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Jenkins JIRA | 5 years ago | Stuart Lovegrove
    java.lang.NullPointerException
  2. 0

    On Jenkins 1.426 all is well however when I upgrade to 1.428 or 1.429 this error appears when starting!! C:\Documents and Settings\builder2\Desktop>java -Xmx1600M -jar F:\Hudson\hudson. war --httpPort=8080 Running from: F:\Hudson\hudson.war webroot: $user.home/.hudson [Winstone 2011/09/07 12:05:22] - Beginning extraction from war file Jenkins home directory: C:\Documents and Settings\builder2\.hudson found at: $us er.home/.hudson [Winstone 2011/09/07 12:05:46] - HTTP Listener started: port=8080 [Winstone 2011/09/07 12:05:46] - Winstone shutdown successfully [Winstone 2011/09/07 12:05:46] - Container startup failed java.io.IOException: Failed to start a listener: winstone.ajp13.Ajp13Listener at winstone.Launcher.spawnListener(Launcher.java:250) at winstone.Launcher.<init>(Launcher.java:203) at winstone.Launcher.main(Launcher.java:398) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at Main._main(Main.java:268) at Main.main(Main.java:96) Caused by: java.io.IOException: Failed to listen on port 8009 at winstone.ajp13.Ajp13Listener.start(Ajp13Listener.java:92) at winstone.Launcher.spawnListener(Launcher.java:241) ... 8 more Caused by: java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at winstone.ajp13.Ajp13Listener.start(Ajp13Listener.java:87) ... 9 more Exception in thread "pool-2-thread-2" java.lang.NullPointerException at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:153) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 07-Sep-2011 12:05:47 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:485) at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:244) at jenkins.model.Jenkins.executeReactor(Jenkins.java:814) at jenkins.model.Jenkins.<init>(Jenkins.java:728) 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(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Jenkins JIRA | 5 years ago | Stuart Lovegrove
    java.lang.NullPointerException
  3. 0

    Cannot start Jenkins on port 80 on debian 7

    Stack Overflow | 3 years ago | u123
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames