This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes error with tiles , please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "error with tiles , please help" Watch "error with tiles , please help" New topic
Author

error with tiles , please help

noon ab
Greenhorn

Joined: Apr 24, 2008
Posts: 1
tiles-defs.xml::




header.jsp:


footer.jsp:




body.jsp:




web.xml:



struts-config.xml



MyAction.java




template.jsp




on running the template.jsp the following error appear

java.lang.NullPointerExceptionat org.apache.struts.taglib.tiles.InsertTag.processAttribute(InsertTag.java:689)at org.apache.struts.taglib.tiles.InsertTag.createTagHandler(InsertTag.java:489)at org.apache.struts.taglib.tiles.InsertTag.doStartTag(InsertTag.java:451)at _template._jspService(template.jsp:16)[SRC:/template.jsp]at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)at java.lang.Thread.run(Thread.java:534)



if any one know the reason for the error please help me

and thank you very much
Doug Slattery
Ranch Hand

Joined: Sep 15, 2007
Posts: 294
Hi Noon,

Could it be the empty tiles:insert tag you have in the header.jsp? That's where I would place my bet.



Aloha,
Doug

-- Nothing is impossible if I'mPossible
 
Consider Paul's rocket mass heater.
 
subject: error with tiles , please help