commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject svn commit: r1190145 - /commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java
Date Fri, 28 Oct 2011 03:36:24 GMT
Author: dbrosius
Date: Fri Oct 28 03:36:24 2011
New Revision: 1190145

URL: http://svn.apache.org/viewvc?rev=1190145&view=rev
Log:
guard against npes on exception path

Modified:
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java?rev=1190145&r1=1190144&r2=1190145&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java
Fri Oct 28 03:36:24 2011
@@ -120,6 +120,7 @@ public class JXPathBasicBeanInfo impleme
                 }
                 catch (IntrospectionException ex) {
                     ex.printStackTrace();
+                    return new PropertyDescriptor[0];
                 }
             }
         }



Mime
View raw message