Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364033

Summary: NullPointerException thrown by org.eclipse.jetty.io.nio.SelectorManager during jetty start up.
Product: [RT] Jetty Reporter: qquit27
Component: serverAssignee: Jan Bartel <janb>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: janb, jetty-inbox
Version: unspecified   
Target Milestone: 7.5.x   
Hardware: Other   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=362614
Whiteboard:

Description qquit27 CLA 2011-11-17 09:13:30 EST
Build Identifier: 7.5.4

In SelectorManager register(channel) may be called, before doStart() has completed and initialized _selectSet. 

Exception thrown: 

09:37:32,194 [qtp1082134328-23 Acceptor0 NIOSocketConnectorWrapper@0.0.0.0:8080 STARTING] WARN  AbstractConnector - 
java.lang.NullPointerException
   at org.eclipse.jetty.io.nio.SelectorManager.register(SelectorManager.java:158)
   at org.eclipse.jetty.server.nio.SelectChannelConnector.accept(SelectChannelConnector.java:101)
   at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:833)
   at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
   at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
   at java.lang.Thread.run(Thread.java:745)


Reproducible: Sometimes
Comment 1 Jan Bartel CLA 2011-11-17 22:15:30 EST
I think this is a duplicate of https://bugs.eclipse.org/bugs/show_bug.cgi?id=362614, which is fixed for 7.6.0. Please reopen if you think this does not cover the issue.

*** This bug has been marked as a duplicate of bug 362614 ***