Mantis - Resin
Viewing Issue Advanced Details
6470 minor always 06-01-22 21:08 02-01-23 15:10
nam  
ferg  
normal  
closed 4.0.66  
open  
none    
none 4.0.67  
0006470: resin:Forward NullPointerException with absolute-target
(rep by M. Lowe)

<resin:Forward regexp="^/foo/bar" absolute-target="http://mysite.com:8080/aaa/bbb.html" [^] />

java.lang.NullPointerException
at com.caucho.server.dispatch.ForwardAbsoluteFilterChain.doFilter(ForwardAbsoluteFilterChain.java:67)
at com.caucho.server.httpcache.ProxyCacheFilterChain.doRequestCacheable(ProxyCacheFilterChain.java:252)
at com.caucho.server.httpcache.ProxyCacheFilterChain.doFilter(ProxyCacheFilterChain.java:193)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156)
at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:314)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:843)
at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1395)
at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1351)
at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1335)
at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1243)
at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:1037)
at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:175)
at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)





Notes
(0007089)
nam   
06-01-22 21:17   
absolute-target does not support full URLs. It supports "absolute" URLs that start with a slash (/), rather than a relative URL without one.