Commits

Anonymous committed 24fe59d

May fix OGNL-144. Impossible to tell without knowing more but PropertyDescriptors aren't guaranteed to have read methods anyways so ..

  • Participants
  • Parent commits ba8249c

Comments (0)

Files changed (1)

src/java/ognl/ASTProperty.java

                     }
                 } else
                 {
-                    if (pd != null)
+                    if (pd != null && pd.getReadMethod() != null)
                     {
                         m = pd.getReadMethod();
                         result = "." + m.getName() + "()";