When trying to run xwork/ww2 app with Orion Server 2.0.1, I'm getting the
following Exception:

14:15:53,300 ERROR ServletDispatcher:187 - Could not execute action
java.lang.NullPointerException
        at
 com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.
java:65) at
 com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResu
ltSupport.java:53) at
 com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionIn
vocation.java:274) at
 com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocatio
n.java:192) at
 com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterce
ptor.java:37) at
 com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocatio
n.java:170) at
 com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:11
6) at
 com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletD
ispatcher.java:182) at
 com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatc
her.java:162) at
 art.core.control.servlet.Dispatcher.service(Dispatcher.java:149) at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at
 com.evermind._hb.doFilter(.:59)
        at
 art.core.control.filter.gzip.GzipFilter.doFilter(GzipFilter.java:126) at
 com.evermind._csb._phd(.:384)
        at com.evermind._csb._bkc(.:174)
        at com.evermind._ax._lpc(.:620)
        at com.evermind._ax._tzb(.:189)
        at com.evermind._bf.run(.:62)


I thought maybe my App is doing something wrong, and went to try webwork-example.
Seemed to work ok, but after more carefull trying, I discovered the following 
behaviour:

If you first request some .jsp page, and only after some action with velocity result 
it works.
But if just right after starting the server, I try to access some velocity result 
action, it breaks with
the same Exception as above.

I hadn't this problem in Jetty, so I presume Orion is leaving some kind of jsp 
initialization to the moment
when first jsp is requested, and this apparently screws velocity result, because it 
depends on JspFactory
being initialized.
Any clues how to resolve this?


Fernando Martins

-- 
"Everywhere is walking distance if you have the time" - Steven Wright



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to