Commits

Anonymous committed 051b5ae

Avoid NPE if null gets inserted into the value stack.

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@268e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork/util/CompoundRootAccessor.java

         for (Iterator iterator = root.iterator(); iterator.hasNext();) {
             Object o = iterator.next();
 
+            if (o == null) {
+                continue;
+            }
             Class clazz = o.getClass();
             Class[] argTypes = getArgTypes(objects);