1. opensymphony
  2. ognl

Commits

jkuh...@d4b077e3-5828-0410-b394-cb2b42183085  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
  • Branches default

Comments (0)

Files changed (1)

File src/java/ognl/ASTProperty.java

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