[ 
http://issues.apache.org/jira/browse/TUSCANY-682?page=comments#action_12431920 
] 
            
Ron Gavlin commented on TUSCANY-682:
------------------------------------

Hi Frank,

I applied your patch and it had no affect. 

However, I did discover some interesting info during troubleshooting. The 
machine we are using to load test is a Wintel dual-core PC running WinXP. This 
machine gets the NPE with or without your patch. 

Just for kicks, I tried running the test on a single-processor Wintel PC 
running Win2K. This machine DOES NOT get the NPE with or without your patch.

We are using Sun JDK 1.4.2_11 in both environments. Any suggestions where to go 
from here?

- Ron

> NPE at o.a.t.sdo.impl.ClassImpl.getProperty(ClassImpl.java:192) w/multiple 
> threads
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-682
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-682
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-M1
>         Environment: Win2K, multi-threaded load test
>            Reporter: Ron Gavlin
>            Priority: Critical
>
> 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. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to