Skip to main content



      Home
Home » Modeling » Epsilon » NullPointerException at org.eclipse.epsilon.emc.emf
NullPointerException at org.eclipse.epsilon.emc.emf [message #584238] Sat, 02 January 2010 10:16 Go to next message
Eclipse UserFriend
I checked out the standalone examples ( http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.examples.standalone),
tried to run org.eclipse.epsilon.examples.standalone.eol.EolStandaloneUml Example (right-click, Run As, Java Application),
and got:

http://www.eclipse.org/uml2/3.0.0/UML
Exception in thread "main" java.lang.NullPointerException
at org.eclipse.epsilon.emc.emf.EmfModelResourceFactory.createRe source(EmfModelResourceFactory.java:47)
at org.eclipse.epsilon.emc.emf.EmfModelResourceSet.createResour ce(EmfModelResourceSet.java:23)
at org.eclipse.epsilon.emc.emf.EmfModel.loadModel(EmfModel.java :181)
at org.eclipse.epsilon.emc.emf.EmfModel.load(EmfModel.java:96)
at org.eclipse.epsilon.emc.emf.EmfModel.load(EmfModel.java:90)
at org.eclipse.epsilon.examples.standalone.EpsilonStandaloneExa mple.createEmfModelByURI(EpsilonStandaloneExample.java:92)
at org.eclipse.epsilon.examples.standalone.eol.EolStandaloneUml Example.getModels(EolStandaloneUmlExample.java:29)
at org.eclipse.epsilon.examples.standalone.EpsilonStandaloneExa mple.execute(EpsilonStandaloneExample.java:55)
at org.eclipse.epsilon.examples.standalone.eol.EolStandaloneUml Example.main(EolStandaloneUmlExample.java:16)


Any idea why?
Thanks :)
Re: NullPointerException at org.eclipse.epsilon.emc.emf [message #584253 is a reply to message #584238] Sat, 02 January 2010 10:52 Go to previous message
Eclipse UserFriend
Hi Itamar,

Could you please update from SVN and give it another go? (line 47
appears to be empty in the current version of EmfModelResourceFactory.java).

Cheers,
Dimitris

Itamar wrote:
> I checked out the standalone examples
> ( http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.examples.standalone),
>
> tried to run
> org.eclipse.epsilon.examples.standalone.eol.EolStandaloneUml Example
> (right-click, Run As, Java Application),
> and got:
>
> http://www.eclipse.org/uml2/3.0.0/UML
> Exception in thread "main" java.lang.NullPointerException
> at
> org.eclipse.epsilon.emc.emf.EmfModelResourceFactory.createRe source(EmfModelResourceFactory.java:47)
>
> at
> org.eclipse.epsilon.emc.emf.EmfModelResourceSet.createResour ce(EmfModelResourceSet.java:23)
>
> at org.eclipse.epsilon.emc.emf.EmfModel.loadModel(EmfModel.java :181)
> at org.eclipse.epsilon.emc.emf.EmfModel.load(EmfModel.java:96)
> at org.eclipse.epsilon.emc.emf.EmfModel.load(EmfModel.java:90)
> at
> org.eclipse.epsilon.examples.standalone.EpsilonStandaloneExa mple.createEmfModelByURI(EpsilonStandaloneExample.java:92)
>
> at
> org.eclipse.epsilon.examples.standalone.eol.EolStandaloneUml Example.getModels(EolStandaloneUmlExample.java:29)
>
> at
> org.eclipse.epsilon.examples.standalone.EpsilonStandaloneExa mple.execute(EpsilonStandaloneExample.java:55)
>
> at
> org.eclipse.epsilon.examples.standalone.eol.EolStandaloneUml Example.main(EolStandaloneUmlExample.java:16)
>
>
>
> Any idea why?
> Thanks :)


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Previous Topic:Composing Epsilon tools?
Next Topic:problems with ETL
Goto Forum:
  


Current Time: Tue Jul 22 12:45:58 EDT 2025

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

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

Back to the top