I am upgrading from Struts 1.0.2 to 1.1b2.
I am getting null pointer exceptions in the nested:iterate tag
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:320)
at
com.caucho.server.http.Request.getAttribute(Request.java:1459)
at
com.caucho.server.http.RequestAdapter.getAttribute(RequestAdapter.java:4
09)
at
com.caucho.jsp.QPageContext.findAttribute(QPageContext.java:283)
at
org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:663)
at
org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:710)
at
org.apache.struts.taglib.logic.IterateTag.doStartTag(IterateTag.java:303
)
at
org.apache.struts.taglib.nested.logic.NestedIterateTag.doStartTag(Nested
IterateTag.java:120)
at
_web_22dinf._jsp._customerbilltoselect__jsp._jspService(/WEB-INF/jsp/cus
tomerBillToSelect.jsp:100)
I was using the original nested property syntax
ArrayList nestedProperty = new ArrayList();
public Object[] getNestedProperty() {
return nestedProperty.toArray();
}
The documentation doesn't seem to indicate any changes.
Does anyone have any ideas about this.
Thanks.
Edgar
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>