Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMFSTORE]Error runing EMFStrore Server
[EMFSTORE]Error runing EMFStrore Server [message #1463225] Thu, 06 November 2014 10:33 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 550
Registered: June 2011
Senior Member
i have download Version: Luna Service Release 1 (4.4.1) and i have installed modeling components and have installed EMFStore.
I am trying to run examples for EMFStore using https://eclipse.org/emfstore/documentation/howToUseExamples.php

But when i run Server then i get the following exception:

java.lang.NullPointerException
at org.eclipse.emf.emfstore.mongodb.server.MongoDBDynamicModelProvider.getDynamicModels(MongoDBDynamicModelProvider.java:53)
at org.eclipse.emf.emfstore.internal.server.EMFStoreController.registerDynamicModels(EMFStoreController.java:223)
at org.eclipse.emf.emfstore.internal.server.EMFStoreController.run(EMFStoreController.java:154)
at org.eclipse.emf.emfstore.internal.server.EMFStoreController.start(EMFStoreController.java:119)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

any idea why is this happening?

Cheers
Re: [EMFSTORE]Error runing EMFStrore Server [message #1463416 is a reply to message #1463225] Thu, 06 November 2014 14:43 Go to previous message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 253
Registered: July 2009
Senior Member
Hi,

I am sorry, but the tutorial you are pointing out is old, I will open a
bug to get it removed. Could you please instead use the Tutorial linked
from the EMFStore home page and see if your problem persists:
http://eclipsesource.com/blogs/tutorials/emfstore-api-basics/#installation
It seems you are trying the MongoDB Backend of EMFStore, is this correct?

Best regards,
Maximilian


Am 06.11.2014 11:33, schrieb ModelGeek Mising name:
> i have download Version: Luna Service Release 1 (4.4.1) and i have
> installed modeling components and have installed EMFStore. I am trying
> to run examples for EMFStore using
> https://eclipse.org/emfstore/documentation/howToUseExamples.php
>
> But when i run Server then i get the following exception:
>
> java.lang.NullPointerException
> at
> org.eclipse.emf.emfstore.mongodb.server.MongoDBDynamicModelProvider.getDynamicModels(MongoDBDynamicModelProvider.java:53)
>
> at
> org.eclipse.emf.emfstore.internal.server.EMFStoreController.registerDynamicModels(EMFStoreController.java:223)
>
> at
> org.eclipse.emf.emfstore.internal.server.EMFStoreController.run(EMFStoreController.java:154)
>
> at
> org.eclipse.emf.emfstore.internal.server.EMFStoreController.start(EMFStoreController.java:119)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
>
> any idea why is this happening?
>
> Cheers


--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Previous Topic:[Edapt] Can I use Edapt directly on software using generated Model Code?
Next Topic:[Edapt] URI Changes in release, how to manage it for multiple models ?
Goto Forum:
  


Current Time: Fri Apr 10 10:40:12 GMT 2020

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

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

Back to the top