Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.1
-
None
-
None
Description
java.lang.NullPointerException
org.apache.struts2.views.xslt.BeanAdapter.buildChildAdapters(BeanAdapter.java:104)
org.apache.struts2.views.xslt.AbstractAdapterNode.getChildAdapters(AbstractAdapterNode.java:126)
org.apache.struts2.views.xslt.AbstractAdapterNode.getChildNodes(AbstractAdapterNode.java:182)
org.apache.struts2.views.xslt.BeanAdapter.getChildNodes(BeanAdapter.java:86)
org.apache.struts2.views.xslt.AbstractAdapterNode.getElementsByTagName(AbstractAdapterNode.java:156)
org.apache.struts2.views.xslt.AbstractAdapterElement.hasChildNodes(AbstractAdapterElement.java:108)
org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.nextNode(DOM2DTM.java:378)
org.apache.xml.dtm.ref.DTMDefaultBase._firstch(DTMDefaultBase.java:527)
org.apache.xml.dtm.ref.DTMDefaultBase.getFirstChild(DTMDefaultBase.java:965)
org.apache.xpath.axes.ChildIterator.nextNode(ChildIterator.java:130)
org.apache.xpath.axes.NodeSequence.nextNode(NodeSequence.java:321)
when the property getter method can not be found. This is only due to the log statement coming before the m==null guard.