Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1783 | minor | always | 06-06-07 15:24 | 06-06-07 15:57 | |
|
|||||
Reporter: | everflux | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.2 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in 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) |
||||
Steps To Reproduce: | |||||
Additional Information: |
Fix/workaraound: Add if (servletName == null) return false; in line 166 in ./modules/resin/src/com/caucho/server/dispatch/FilterMapping.java |
||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |