[Resolvido] TilesException ao usar tag s:url do Struts 2

Pessoal,

estou realizando a troca do nome do projeto e tudo que referencia ele. Por exemplo, pacotes, arquivos de configuração, referencias e etc.

Após realizar a alteração, passou a dar o seguinte erro no console:

<04/01/2011 09h58min48s BRST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@68f17d - appName: 'netcorr', name: 'netcorr', context-path: '/netcorr', spec-version: 'null', request: weblogic.servlet.internal.ServletRequestImpl@19d21c6[
POST /netcorr/login.action HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.0.15) Gecko/2009101601 Firefox/3.0.8 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: pt-br,pt;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:7001/netcorr/
Cookie: ADMINCONSOLESESSION=QRXPNjJGZChJFgQQGq87SrVcKkxdRW3JLrh8HH0b9VhvBvZpGSLT!-961438585; JSESSIONID=PW7fNjKGl3FGZNH7JkrrYKMnXBXQChxwns2yYdkGvJ22mJ71yyC1!-961438585
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
Content-Length: 41

]] Root cause of ServletException.
org.apache.tiles.TilesException
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:425)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:368)
	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)
	Truncated. see log file for complete stacktrace
java.lang.NullPointerException
	at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:50)
	at jsp_servlet._paginas._layout.__layout._jsp__tag23(__layout.java:1057)
	at jsp_servlet._paginas._layout.__layout._jspService(__layout.java:239)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	Truncated. see log file for complete stacktrace

Obs: estou usando Struts 2 e Weblogic.

Alguem sabe me ajudar??

Descobri que o erro está ocorrendo nessa funcition em uma JSP.


	function carregaTreeview()
	{
		var carregaTree = $j('#carregaTree').val();
		<s:url id="url" action="carregaTreeview!montaTreeView.action" />
		ajax('<s:property value="%{url}"/>');
	}

A execução não chega até o método montaTreeView da Action CarregaTreeView.

Resta descobrir como solucionar

resolvi inclíndo a parte destacada em negrito, no arquivo web.xml:

<web-app id=“WebApp_9” version=“2.4”
xmlns=“http://java.sun.com/xml/ns/j2ee
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xmlns:javaee=“http://java.sun.com/xml/ns/javaee
xmlns:web=“http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
xsi:schemaLocation=“http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd” >

Não entendi o erro, mas resolvido.