Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Nullpointer in sdo in multithreaded environment.
Nullpointer in sdo in multithreaded environment. [message #414572] Tue, 13 November 2007 15:05 Go to next message
Dinesh Varadharajan is currently offline Dinesh VaradharajanFriend
Messages: 6
Registered: July 2009
Junior Member
Hi,
When we are doing load testing for 100 users we are getting nullpointer
exception in sdo for few instances. We are using emf2.0. I am trying to
fetch dataobject using getDataObject(String XPath)

java.lang.NullPointerException
at
org.eclipse.emf.ecore.util.FeatureMapUtil.isFeatureMap(Featu reMapUtil.java:86)
at org.eclipse.emf.ecore.sdo.util.SDOUtil$Accessor.get(SDOUtil. java:750)
at
org.eclipse.emf.ecore.sdo.util.SDOUtil$Accessor.getAndRecyle (SDOUtil.java:761)
at org.eclipse.emf.ecore.sdo.util.SDOUtil.get(SDOUtil.java:162)
at org.eclipse.emf.ecore.sdo.util.SDOUtil.getDataObject(SDOUtil .java:232)
at
org.eclipse.emf.ecore.sdo.impl.DynamicEDataObjectImpl.getDat aObject(DynamicEDataObjectImpl.java:315)

The eStructuralFeature is coming as null in FeatureMapUtil. I am not sure
whether I am again pointing to a older bug which is already fixed. Any help
is much appreciated.

Thanks,
Dinesh
Re: Nullpointer in sdo in multithreaded environment. [message #414573 is a reply to message #414572] Tue, 13 November 2007 15:10 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Dinesh,

This sounds like https://bugs.eclipse.org/bugs/show_bug.cgi?id=96106
which should be fixed in 2.0.3.


Dinesh Varadharajan wrote:
> Hi,
> When we are doing load testing for 100 users we are getting nullpointer
> exception in sdo for few instances. We are using emf2.0. I am trying to
> fetch dataobject using getDataObject(String XPath)
>
> java.lang.NullPointerException
> at
> org.eclipse.emf.ecore.util.FeatureMapUtil.isFeatureMap(Featu reMapUtil.java:86)
> at org.eclipse.emf.ecore.sdo.util.SDOUtil$Accessor.get(SDOUtil. java:750)
> at
> org.eclipse.emf.ecore.sdo.util.SDOUtil$Accessor.getAndRecyle (SDOUtil.java:761)
> at org.eclipse.emf.ecore.sdo.util.SDOUtil.get(SDOUtil.java:162)
> at org.eclipse.emf.ecore.sdo.util.SDOUtil.getDataObject(SDOUtil .java:232)
> at
> org.eclipse.emf.ecore.sdo.impl.DynamicEDataObjectImpl.getDat aObject(DynamicEDataObjectImpl.java:315)
>
> The eStructuralFeature is coming as null in FeatureMapUtil. I am not sure
> whether I am again pointing to a older bug which is already fixed. Any help
> is much appreciated.
>
> Thanks,
> Dinesh
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:referencing an element of an unknown metamodel using EObject
Next Topic:Customizing serialized reference formats
Goto Forum:
  


Current Time: Fri Apr 26 04:07:12 GMT 2024

Powered by FUDForum. Page generated in 0.03088 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top