Please create a Jira issue for this... > -----Original Message----- > From: Francisco Hernandez [mailto:[EMAIL PROTECTED] > Sent: Sunday, November 16, 2003 1:24 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] NPE when thrown when an action with a > velocity result is executed first, before any action with a > dispatcher result > > > this is line 61 of VelocityResult > > PageContext pageContext = jspFactory.getPageContext(servlet, > request, response, null, true, 8192, true); > > jspFactory is null, > > this happens when the very first action executed (first > action executed > right after server startup) uses a velocity result, but if the first > action executed uses a dispatcher result this exception doesnt get > thrown when the action using velocity result is executed, weird, im > using orion 2.0.2, jdk 1.4.1 on windows xp. > > [ERROR] ServletDispatcher - Could not execute action > java.lang.NullPointerException > at > com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(V > elocityResult.java:61) > at > com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execu > te(WebWorkResultSupport.java:54) > at > com.opensymphony.xwork.DefaultActionInvocation.executeResult(D > efaultActionInvocation.java:269) > at > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultA > ctionInvocation.java:191) > at > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept > (AroundInterceptor.java:37) > at > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultA > ctionInvocation.java:169) > at > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept > (AroundInterceptor.java:37) > at > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultA > ctionInvocation.java:169) > at > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept > (AroundInterceptor.java:37) > at > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultA > ctionInvocation.java:169) > at > com.opensymphony.xwork.interceptor.TimerInterceptor.intercept( > TimerInterceptor.java:66) > at > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultA > ctionInvocation.java:169) > at > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept > (AroundInterceptor.java:37) > at > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultA > ctionInvocation.java:169) > at > com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActio > nProxy.java:120) > at > com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceA > ction(ServletDispatcher.java:181) > at > com.opensymphony.webwork.dispatcher.ServletDispatcher.service( > ServletDispatcher.java:161) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:336) > at com.evermind._hb.doFilter(.:59) > at > com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFi > lter(RequestLifecycleFilter.java:62) > at com.evermind._cub._pod(.:387) > at com.evermind._cub._bmc(.:177) > at com.evermind._ax._ltc(.:666) > at com.evermind._ax._uab(.:191) > > > > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your > computer from any Web browser or wireless device. Click here > to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/ g22lp.tmpl _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork