private static final EconomicRelationshipGroup
pcGetgroup(EconomicRelationship paramEconomicRelationship)
  {
1:    if (paramEconomicRelationship.pcStateManager == null)
2:      return paramEconomicRelationship.group;
3:    int i = pcInheritedFieldCount + 1;
4:    paramEconomicRelationship.pcStateManager.accessingField(i);
5:    return paramEconomicRelationship.group;
  }

> The whole system is highly multithreaded,

One possibility:
Thread t1 entered this method when pcStateManager was not null. Hence failed
the check at line 1 went to Line 3. But by then another thread t2 did
"something" that nullified pcStateManager. Line 4 threw NPE. 

-----
Pinaki 
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/NullPointerException-in-pcGet-Method-tp5337474p5342244.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to