Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » JpoxStoreException:Exception when determining refers to
JpoxStoreException:Exception when determining refers to [message #609376] Tue, 31 July 2007 02:44
Eclipse UserFriend
Originally posted by: danceslower.sina.com

Hi,all
I have created a complicated model with EMF and this model is integrated
with another model, which means one model have reference to another
model.Then I use teneo jpox to map ecore to data table successfully.
However, when I tried to manipulate this model and make persistence of
it, an exception was throw out when initialize jpoxdatastore.Here is the
exception:
/////////////////////////////////
Exception in thread "main" org.eclipse.emf.teneo.jpox.JpoxStoreException:
Exception when determining

refers to
at
org.eclipse.emf.teneo.jpox.JpoxDataStore.createRefersToMap(J poxDataStore.java:783)
at
org.eclipse.emf.teneo.jpox.JpoxDataStore.initialize(JpoxData Store.java:244)
at com.ibm.crl.bo.tops.util.TestTeneoBom.main(TestTeneoBom.java :45)
Caused by: java.lang.NullPointerException
at
org.eclipse.emf.teneo.util.StoreUtil.getEStructuralFeature(S toreUtil.java:353)
at
org.eclipse.emf.teneo.jpox.JpoxDataStore$ReferenceTo.<init>(JpoxDataStore.java:1030)
at
org.eclipse.emf.teneo.jpox.JpoxDataStore.createRefersToFromF ield(JpoxDataStore.java:868)
at
org.eclipse.emf.teneo.jpox.JpoxDataStore.createRefersToMap(J poxDataStore.java:769)
... 2 more
////////////////////////////////////////
the strange thing is when a model is independent and not related to another
one, everything goes quite well.
Where is problem is, is it related to the interation between two models?
Previous Topic:[Teneo] can't deserialize EObjects which contain Teneo proxies
Next Topic:JpoxStoreException:Exception when determining refers to
Goto Forum:
  


Current Time: Thu Sep 29 12:30:59 GMT 2022

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

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

Back to the top