[ 
http://issues.ops4j.org/browse/PAXWEB-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967#action_13967
 ] 

Kristoffer Peterhänsel commented on PAXWEB-258:
-----------------------------------------------

Ah. Good thing you didn't need the sample. For some reason the update mail for 
the first comment got lost somewhere. So I wasn't aware of it.

> NPE when getting some RAP resources
> -----------------------------------
>
>                 Key: PAXWEB-258
>                 URL: http://issues.ops4j.org/browse/PAXWEB-258
>             Project: Pax Web
>          Issue Type: Bug
>          Components: Http Service
>    Affects Versions: 1.0.0, 1.0.1
>         Environment: RAP 1.3.0
>            Reporter: Kristoffer Peterhänsel
>            Assignee: Achim Nierbeck
>             Fix For: 1.0.2, 1.1.0
>
>
> After updating to Pax Web 1.0.1 (or 1.0.0) it seems there is some sort of 
> issue retrieving some resources that Eclipse RAP has registered directly on 
> the HttpService (RAP is deployed by itself only using the OSGi HttpService). 
> Moving back to 0.8.1 works just fine.
> Specifically I am seeing this NPE:
> java.lang.NullPointerException
>       at 
> org.ops4j.pax.web.service.jetty.internal.ResourceServlet.doGet(ResourceServlet.java:164)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>       at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
>       at 
> org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
>       at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:935)
>       at 
> org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:404)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:870)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>       at 
> org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
>       at org.eclipse.jetty.server.Server.handle(Server.java:342)
>       at 
> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
>       at 
> org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1051)
>       at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:592)
>       at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
>       at 
> org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:520)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:528)
>       at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to