Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365223 - Occasional NullPointerException in SslSelectChannelEndPoint.unwrap()
Summary: Occasional NullPointerException in SslSelectChannelEndPoint.unwrap()
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 7.5.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 7.5.x   Edit
Assignee: Greg Wilkins CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 12:02 EST by vgarnashevich CLA
Modified: 2012-01-10 23:50 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vgarnashevich CLA 2011-11-30 12:02:14 EST
Build Identifier: 7.5.4.v20111024

Sometimes I get the following NullPointerException exceptions:

21 Nov 2011 19:07:19,484 [qtp13041996-141] WARN  org.eclipse.jetty.io.nio  - handle failed
java.lang.NullPointerException
	at org.eclipse.jetty.io.nio.SslSelectChannelEndPoint.unwrap(SslSelectChannelEndPoint.java:525)
	at org.eclipse.jetty.io.nio.SslSelectChannelEndPoint.fill(SslSelectChannelEndPoint.java:397)
	at org.eclipse.jetty.http.HttpParser.fill(HttpParser.java:949)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:274)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
	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(Unknown Source)

30 Nov 2011 18:39:21,593 [qtp11420600-149] WARN  org.eclipse.jetty.io.nio  - handle failed
java.lang.NullPointerException
	at org.eclipse.jetty.io.nio.SslSelectChannelEndPoint.unwrap(SslSelectChannelEndPoint.java:525)
	at org.eclipse.jetty.io.nio.SslSelectChannelEndPoint.fill(SslSelectChannelEndPoint.java:397)
	at org.eclipse.jetty.http.HttpParser.fill(HttpParser.java:949)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:274)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
	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(Unknown Source)


Reproducible: Sometimes
Comment 1 Jan Bartel CLA 2011-12-05 01:21:00 EST
Could you try the latest release of jetty-7 and report back?
jetty-7.6.0.RC0 can be downloaded here: 

http://download.eclipse.org/jetty/7.6.0.RC0/dist/

thanks
Jan
Comment 2 Greg Wilkins CLA 2012-01-10 23:50:39 EST
We believe this is fixed in the 7.6.0 release