Issue Details (XML | Word | Printable)

Key: GLASSFISH-11492
Type: Bug Bug
Status: Resolved Resolved
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: oleksiys
Reporter: slweng
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

NullpointerException in ServletConnectionImpl under load

Created: 27/Jan/10 03:15 PM   Updated: 08/Apr/13 10:37 PM   Resolved: 08/Apr/13 10:37 PM
Component/s: grizzly-kernel
Affects Version/s: v2.1
Fix Version/s: None

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 11,492
Tags: future-exclude
Participants: jluehe, oleksiys and slweng


 Description  « Hide

We have run into a NPE problem pretty consistently when running a JCAPS suite
health care application. The complete stack trace is copied below. Alexey did
find a workaround for us which is to disable the port unification by commenting
out the following property in domain.xml:
<property name="proxiedProtocols" value="ws/tcp"/>

But this is not a real solution to the problem (and modifying the domain.xml is
not an option we can have for the health care product), so we are filing an
issue for this problem to be properly addressed.

BTW, since the health product is pretty huge, we cannot attach the sample
project here. We will be more than happy to provide a test environment and/or
steps to reproduce the problem upon request.

Stack trace:
invocation error on ejb endpoint PIXPDQAuditService at
/PIXPDQAuditServiceService/PIXPDQAuditService : null
java.lang.NullPointerException
at
com.sun.xml.ws.transport.http.servlet.ServletConnectionImpl.isSecure(ServletConnectionImpl.java:203)
at com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:264)
at com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:93)
at
com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:432)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
at
com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
at
com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:113)
at
com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87)
at
com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:231)
at
com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:157)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:114)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:87)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
HTTBC-W00758: An exception occured while processing a request message. The
server sent HTTP status code 500: Internal Server Error...



jluehe added a comment - 15/Mar/10 05:55 PM

Looks like a Grizzly issue, since disabling port unification for "ws/tcp" fixes
it. Reassigning ...


oleksiys added a comment - 11/Oct/10 08:15 AM

target for ms7


oleksiys added a comment - 11/Nov/10 03:06 AM

not v3.x related