Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001783 [Resin] minor always 06-06-07 15:24 06-06-07 15:57
Reporter everflux View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.2
Summary 0001783: NullPointerException when ServletName is unavailable
Description If the servlet-name is unavailable and filters are used (at least the hibernate open session in view filter) a NPE is thrown.

java.lang.NullPointerException
    at com.caucho.server.dispatch.FilterMapping.isMatch(FilterMapping.java:169)
    at com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper.java:140)
    at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:1902)
    at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:721)
    at com.caucho.server.host.Host.buildInvocation(Host.java:476)
    at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:314)
    at com.caucho.server.cluster.Server.buildInvocation(Server.java:839)
    at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:200)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:258)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:600)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:522)
    at java.lang.Thread.run(Thread.java:619)
Additional Information Fix/workaraound:
Add
 if (servletName == null) return false;
in line 166 in ./modules/resin/src/com/caucho/server/dispatch/FilterMapping.java
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
06-06-07 15:24 everflux New Issue
06-06-07 15:25 everflux Issue Monitored: everflux
06-06-07 15:57 ferg Assigned To  => ferg
06-06-07 15:57 ferg Status new => closed
06-06-07 15:57 ferg Resolution open => fixed
06-06-07 15:57 ferg Fixed in Version  => 3.1.2


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker