| Anonymous | Login | Signup for a new account | 11-03-2025 20:26 PST | 
| Main | My View | View Issues | Change Log | Docs | 
| 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 | |||||||||
| 
 | 
|||||||||
| There are no notes attached to this issue. | 
| 	Mantis 1.0.0rc3[^]
	Copyright © 2000 - 2005 Mantis Group
	28 total queries executed. 25 unique queries executed.  |