Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » NullPointerException at org.eclipse.epsilon.emc.emf
NullPointerException at org.eclipse.epsilon.emc.emf [message #584238] Sat, 02 January 2010 15:16 Go to next message
Itamar is currently offline Itamar
Messages: 39
Registered: November 2009
Member
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 15:52 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
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: Wed Sep 24 02:31:01 GMT 2014

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

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