Hello,
I am trying to migrate our app from 2.0.1 to 2.0.6, but I have had nothing but
problems...
It turns out that the xwork-2.0.1 has problems with packages that extend a base
package and tiles is unable to handle definitions that extend a base
definition. Or so it seems....
I was able to resolve the xwork problems by downloading xwork 2.0.2, but tiles
has not fared as well.... I have tried numerous tiles snapshot builds, but the
snapshot builds all lead to 'other' issues.
The current tiles distribution that was bundled with Struts 2.0.6 is not
resolving / picking up the template / definition path. Here is part of the
stack trace.
2007-04-24 21:39:38,203 DEBUG [http-8080-Processor24]
BasicTilesContainer:render(392) | Dispatching to definition path 'null '
2007-04-24 21:39:38,203 ERROR [http-8080-Processor24]
BasicTilesContainer:render(401) | Error rendering tile
java.lang.NullPointerException
at
org.apache.struts2.tiles.StrutsTilesRequestContext.include(StrutsTilesRequestContext.java:94)
at
org.apache.struts2.tiles.StrutsTilesRequestContext.dispatch(StrutsTilesRequestContext.java:83)
at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:395)
at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:345)
at
org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:104)
at
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
at
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
at
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105)
ETC.,
2007-04-24 21:39:38,203 ERROR [http-8080-Processor24] [default]:invoke(253) |
Servlet.service() for servlet default threw exception
org.apache.tiles.TilesException
at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:403)
at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:345)
at
org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:104)
at
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
at
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
at
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105)
ETC.
Our tiles configuration has not changed. It worked with WW2 and Struts 2.0.1.
Any ideas or suggestions?...
Additional Questions:
When will 2.0.8 be released?
Will it be released as a binary distribution?
Thanks,
- Mike
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=79653&messageID=144729#144729
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]