Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] problem went copying with EcoreUtil.Copier
[Teneo] problem went copying with EcoreUtil.Copier [message #612533] Thu, 15 November 2007 20:00
Mark Geib is currently offline Mark GeibFriend
Messages: 432
Registered: July 2009
Senior Member
I am trying to save a complete Teneo hosted resource using the
EcoreUtil.Copier class. When I call copier.copyReferences() I get the
following exception... I want to export to XMI/XML any ideas.?

Exception in thread "main" java.lang.NullPointerException
at
org.eclipse.emf.ecore.util.DelegatingEcoreEList.resolveProxy (DelegatingEcoreEList.java:303)
at
org.eclipse.emf.ecore.util.DelegatingEcoreEList.resolve(Dele gatingEcoreEList.java:264)
at
org.eclipse.emf.common.util.DelegatingEList.get(DelegatingEL ist.java:394)
at
org.eclipse.emf.common.util.DelegatingEList$EIterator.doNext (DelegatingEList.java:1073)
at
org.eclipse.emf.common.util.DelegatingEList$EIterator.next(D elegatingEList.java:1060)
at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyAll(EcoreUti l.java:445)
at
org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyContainment( EcoreUtil.java:556)
at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copy(EcoreUtil.j ava:477)
at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyAll(EcoreUti l.java:447)
at
org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyContainment( EcoreUtil.java:556)
at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copy(EcoreUtil.j ava:477)
at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyAll(EcoreUti l.java:447)
at
org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyContainment( EcoreUtil.java:556)
at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copy(EcoreUtil.j ava:477)
at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyAll(EcoreUti l.java:447)
at
org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyContainment( EcoreUtil.java:556)
at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copy(EcoreUtil.j ava:477)
at srd.util.xml2teneo.Import2Teneo.main(Import2Teneo.java:110)
Previous Topic:[Teneo] - Union Subclass out of memory
Next Topic:[CDO] after CVS update today server will create db tables...
Goto Forum:
  


Current Time: Sun Apr 21 22:06:38 GMT 2024

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

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

Back to the top