empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r1242014 - /incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecordData.java
Date Wed, 08 Feb 2012 17:54:22 GMT
Author: doebele
Date: Wed Feb  8 17:54:22 2012
New Revision: 1242014

URL: http://svn.apache.org/viewvc?rev=1242014&view=rev
Log:
EMPIREDB-126
Log NullPointerException from BeanUtils.setProperty

Modified:
    incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecordData.java

Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecordData.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecordData.java?rev=1242014&r1=1242013&r2=1242014&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecordData.java
(original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecordData.java
Wed Feb  8 17:54:22 2012
@@ -318,6 +318,9 @@ public abstract class DBRecordData exten
         } catch (NoSuchMethodException e)
         {   log.error(bean.getClass().getName() + ": unable to set property '" + property
+ "'");
             throw new BeanPropertySetException(bean, property, e);
+        } catch (NullPointerException e)
+        {   log.error(bean.getClass().getName() + ": unable to set property '" + property
+ "'");
+            throw new BeanPropertySetException(bean, property, e);
         }
     }
 



Mime
View raw message