You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Gregorio, Nelson" <Ne...@sonda.com> on 2002/04/12 23:44:20 UTC

RunData is null in JspLink.java!!!!!

Hi,

I try to use jsp in turbine, when i try to use link object into jsp like
this

<jsp:useBean id="link" class="org.apache.turbine.services.jsp.util.JspLink"
scope="request"/>

<%= link.setPage("NextHello.jsp") %>

i get a null exception because rundata is null to try generate the uri

500 Servlet Exception
java.lang.NullPointerException
	at org.apache.turbine.util.DynamicURI.add(DynamicURI.java:366)
	at
org.apache.turbine.util.DynamicURI.addPathInfo(DynamicURI.java:429)
	at
org.apache.turbine.services.jsp.util.JspLink.setPage(JspLink.java:116)
	at
_templates._hello__jsp._jspService(/demosite/templates/hello.jsp:31)
	at com.caucho.jsp.JavaPage.service(JavaPage.java:87)
	at com.caucho.jsp.JavaPage.subservice(JavaPage.java:81)
	at com.caucho.jsp.Page.service(Page.java:474)
	at
com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:166)
	at com.caucho.server.http.Invocation.service(Invocation.java:277)
	at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:129)
	at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:216)
	at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:158)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
	at java.lang.Thread.run(Thread.java:484)

Resin 2.0.2 (built Mon Aug 27 16:52:49 PDT 2001) 

any ideas, thanks.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>