Commits

plightbo  committed 7132fe7
  • Participants
  • Parent commits 54b1afa

Comments (0)

Files changed (1)

File src/java/com/opensymphony/xwork/util/InstantiatingNullHandler.java

                 clazz = OgnlRuntime.getPropertyDescriptor(o.getClass(), property.toString()).getPropertyType();
             }
 
+            if (clazz == null) {
+                // can't do much here!
+                return null;
+            }
+
             Object param = createObject(clazz, o, property.toString());
 
             Ognl.setValue(property.toString(), context, o, param);
 
             return param;
         } catch (Exception e) {
-            e.printStackTrace();
             LOG.error("Could not create and/or set value back on to object", e);
         }