http://www.eclipse.org/uml2/3.0.0/UML
Exception in thread "main" java.lang.NullPointerException
at org.eclipse.epsilon.emc.emf.EmfModelResourceFactory.createResource(EmfModelResourceFactory.java:47)
at org.eclipse.epsilon.emc.emf.EmfModelResourceSet.createResource(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.EpsilonStandaloneExample.createEmfModelByURI(EpsilonStandaloneExample.java:92)
at org.eclipse.epsilon.examples.standalone.eol.EolStandaloneUmlExample.getModels(EolStandaloneUmlExample.java:29)
at org.eclipse.epsilon.examples.standalone.EpsilonStandaloneExample.execute(EpsilonStandaloneExample.java:55)
at org.eclipse.epsilon.examples.standalone.eol.EolStandaloneUmlExample.main(EolStandaloneUmlExample.java:16)
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 :)
I just reinstalled my Eclipse and Epsilon -- all to the latest version (0.8.8 of Epsilon).
I also updated the examples from the SVN repo. (or did you mean I should download Epsilon from SVN?)
Could you please give it a go with the latest interim version?
Cheers,
Dimitris
Itamar wrote:
> I just reinstalled my Eclipse and Epsilon -- all to the latest version
> (0.8.8 of Epsilon).
> I also updated the examples from the SVN repo. (or did you mean I should
> download Epsilon from SVN?)
>
> Still exactly the same exception.
Sorry for the newbie question.. but is there any way to temporarily disable the 0.8.8 version? Or should I remove it completely before trying the interim version?
I'd install the interim version on top of the one you have now.
Cheers,
Dimitris
Itamar wrote:
> Sorry for the newbie question.. but is there any way to temporarily
> disable the 0.8.8 version? Or should I remove it completely before
> trying the interim version?
I just reinstalled my Eclipse and Epsilon -- all to the latest version (0.8.8 of Epsilon).
I also updated the examples from the SVN repo. (or did you mean I should download Epsilon from SVN?)
Could you please give it a go with the latest interim version?
Cheers,
Dimitris
Itamar wrote:
> I just reinstalled my Eclipse and Epsilon -- all to the latest version
> (0.8.8 of Epsilon).
> I also updated the examples from the SVN repo. (or did you mean I should
> download Epsilon from SVN?)
>
> Still exactly the same exception.
Sorry for the newbie question.. but is there any way to temporarily disable the 0.8.8 version? Or should I remove it completely before trying the interim version?
I'd install the interim version on top of the one you have now.
Cheers,
Dimitris
Itamar wrote:
> Sorry for the newbie question.. but is there any way to temporarily
> disable the 0.8.8 version? Or should I remove it completely before
> trying the interim version?