Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 6.1.15
-
Fix Version/s: None
-
Component/s: Security and SSL
-
Labels:None
-
Environment:RHEL4
-
Number of attachments :
Description
Saw this exception during our tests:
java.lang.NullPointerException at org.mortbay.jetty.security.SslHttpChannelEndPoint.wrap(SslHttpChannelEndPoint.java:645) at org.mortbay.jetty.security.SslHttpChannelEndPoint.flush(SslHttpChannelEndPoint.java:406) at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:710) at org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:568) at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:947) at org.mortbay.jetty.AbstractGenerator$OutputWriter.flush(AbstractGenerator.java:733) at java.io.PrintWriter.flush(PrintWriter.java:276) at org.dom4j.io.XMLWriter.flush(XMLWriter.java:272) at com.electriccloud.xml.XmlUtil.toXml(XmlUtil.java:195) at com.electriccloud.xml.XmlUtil.toXml(XmlUtil.java:160) at com.electriccloud.commander.server.XmlRequestHandler.handle(XmlRequestHandler.java:375) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:398) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:525) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
The exception happened on one thread while another thread was calling Server.stop(), so it might be a race condition in the shutdown logic.
So far we've only see this once, so I wouldn't call it reproducible.