aspose file tools*
The moose likes Struts and the fly likes Strut-Layout DataGrid- Very very Urgent - NullPointerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Strut-Layout DataGrid- Very very Urgent - NullPointerException" Watch "Strut-Layout DataGrid- Very very Urgent - NullPointerException" New topic
Author

Strut-Layout DataGrid- Very very Urgent - NullPointerException

sengkann
Greenhorn

Joined: Oct 16, 2002
Posts: 6
Hi,

I tried to run the sample of Struts-Layout using Datagrid, i am getting the following error. I did the configuration right

Sometimes the page is not throwing any exception but it displays nothing on the screen


this is the error stack trace
java.lang.NullPointerException
fr.improve.struts.taglib.layout.collection.CollectionsIterator.<init>(CollectionsIterator.java:35)
fr.improve.struts.taglib.layout.collection.BaseCollectionTag.doStartLayoutTag(BaseCollectionTag.java:929)
fr.improve.struts.taglib.layout.datagrid.DatagridTag.doStartLayoutTag(DatagridTag.java:57)
fr.improve.struts.taglib.layout.BodyLayoutTagSupport.doStartTag(BodyLayoutTagSupport.java:36)
org.apache.jsp.datagridTest_jsp._jspx_meth_layout_datagrid_0(org.apache.jsp.datagridTest_jsp:201)
org.apache.jsp.datagridTest_jsp._jspx_meth_layout_row_0(org.apache.jsp.datagridTest_jsp:172)
org.apache.jsp.datagridTest_jsp._jspx_meth_layout_form_0(org.apache.jsp.datagridTest_jsp:137)
org.apache.jsp.datagridTest_jsp._jspx_meth_layout_html_0(org.apache.jsp.datagridTest_jsp:104)
org.apache.jsp.datagridTest_jsp._jspService(org.apache.jsp.datagridTest_jsp:77)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

thanks
rajesen
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Strut-Layout DataGrid- Very very Urgent - NullPointerException