History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: PAXWEB-84
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alin Dreghiciu
Reporter: Jacek Laskowski
Votes: 0
Watchers: 0
Operations

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

NPE after a web app (bundle) is stopped

Created: 02/Mar/08 11:04 AM   Updated: 01/Apr/08 08:24 AM
Component/s: HttpService
Affects Version/s: 0.3.1
Fix Version/s: 0.4.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: felix 1.0.3
External References:
Pax Web - Change Log (Confluence: OPS4J)
Release notes Release Notes Pax Web Version 0.4.0 (April 01, 2008) Bug PAXWEB80


 Description  « Hide
install war:http://repo1.maven.org/maven2/org/apache/wicket/wicket-examples/1.3.0/wicket-examples-1.3.0.war
start [#id]

Access the web app - http://localhost:8080/http___repo1.maven.org_maven2_org_apache_wicket_wicket-examples_1.3.0_wicket-examples-1.3.0.war/ -> works fine

stop [#id]

Access the web app - http://localhost:8080/http___repo1.maven.org_maven2_org_apache_wicket_wicket-examples_1.3.0_wicket-examples-1.3.0.war/ -> throws exception:

java.lang.NullPointerException
        at org.ops4j.pax.web.service.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

Blank page is displayed in the browser.

 All   Comments   Work Log   Change History   FishEye   Related Builds      Sort Order:
Alin Dreghiciu - [02/Mar/08 06:27 PM ]
The NPE was due to the fact that registered filters url patters were not unregistered from the request url -> context matcher.