tuscany-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Gavlin <rgav...@yahoo.com>
Subject Help...NPE at o.a.t.sdo.impl.ClassImpl.getProperty(ClassImpl.java:192) w/multiple threads
Date Thu, 31 Aug 2006 14:08:04 GMT
Hi,
 
I receive the following NPE when using Tuscany SDO in a multi-threaded environment. Here is
the stack trace:
 
java.lang.NullPointerException
at org.apache.tuscany.sdo.impl.ClassImpl.getProperty(ClassImpl.java:192)
at org.apache.tuscany.sdo.util.DataObjectUtil.getProperty(DataObjectUtil.java:2342)
at org.apache.tuscany.sdo.util.DataObjectUtil.getProperty(DataObjectUtil.java:1284)
at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.setFeatureName(DataObjectUtil.java:2032)
at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.process(DataObjectUtil.java:2139)
at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.init(DataObjectUtil.java:1918)
at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.create(DataObjectUtil.java:1838)
at org.apache.tuscany.sdo.util.DataObjectUtil.get(DataObjectUtil.java:739)
at org.apache.tuscany.sdo.util.DataObjectUtil.get(DataObjectUtil.java:213)
...
 
I suspect the NPE is due to synchronization problems with the ClassImpl.propertyNameToPropertyMap.
This problem occurs during load testing of our application. Thanks in advance for your assistance.
This is a show-stopper for us.
 
- Ron

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org


Mime
View raw message