tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Nilakandan.V...@cognizant.com>
Subject RE: Error rendering tile java.lang.NullPointerException
Date Thu, 25 Mar 2010 19:30:26 GMT
Thanks for the reply!!
 
The below exception was thrown when I try to access the application for the first time.
 
We have a xxx.jsf file as the welcome file in web.xml and this in turn will map to the tiles.xml
and from there it will redirect to a jsp page.
 
Actually before I update the Struts-tiles to Tiles 2.0.5 , there was no such exceptiion but
my page was blank.
 
After that I updated the JSPTilesViewHandler to JSPTilesTwoViewHandler in managed_beans.xml
and navigation_rules.xml files and then updated the tiles to tiles2.0.5.
 
Deleted the existing struts-tiles.tld from /Web-inf and copied the jsp-tiles.tld from the
jar into the /Web-inf directory.
 
 
Regards,
Nila

________________________________

From: Antonio Petrelli [mailto:antonio.petrelli@gmail.com]
Sent: Fri 3/26/2010 12:30 AM
To: users@tiles.apache.org
Subject: Re: Error rendering tile java.lang.NullPointerException



2010/3/25  <Nilakandan.Velu@cognizant.com>:
>> java.lang.NullPointerException
>
>>         at
> org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(Serv
> letTilesRequestContext.java:198)

Curious, never seen. It seems that the request dispatcher is null.
What is the path you are trying to forward to?

Antonio



This e-mail and any files transmitted with it are for the sole use of the intended recipient(s)
and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy
all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of
this email or any action taken in reliance on this e-mail is strictly prohibited and may be
unlawful.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message