Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Forms]NPE on Start of Application every time
[EMF Forms]NPE on Start of Application every time [message #1387100] Tue, 24 June 2014 06:40 Go to next message
Annamalai Mising name is currently offline Annamalai Mising nameFriend
Messages: 126
Registered: July 2009
Senior Member
Hi There

Whenever i run my application, Model Explorer throws this exception.

!ENTRY org.eclipse.emf.emfstore.client 2 2 2014-06-24 12:02:20.683
!MESSAGE No EMFStore migrator registered.

!ENTRY org.eclipse.emf.emfstore.client 4 4 2014-06-24 12:02:25.548
!MESSAGE Exception occurred during command execution.
!STACK 0
java.lang.NullPointerException
at
org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceBase.initCrossReferenceAdapter(ProjectSpaceBase.java:642)
at
org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceBase.init(ProjectSpaceBase.java:583)
at
org.eclipse.emf.emfstore.internal.client.model.impl.WorkspaceBase.init(WorkspaceBase.java:134)
at
org.eclipse.emf.emfstore.internal.client.model.ESWorkspaceProviderImpl$2.call(ESWorkspaceProviderImpl.java:232)
at
org.eclipse.emf.emfstore.internal.client.model.ESWorkspaceProviderImpl$2.call(ESWorkspaceProviderImpl.java:1)
at
org.eclipse.emf.emfstore.client.util.RunESCommand$1.doRun(RunESCommand.java:137)
at
org.eclipse.emf.emfstore.internal.client.model.util.EMFStoreCommand.commandBody(EMFStoreCommand.java:51)
at
org.eclipse.emf.emfstore.internal.client.model.util.AbstractEMFStoreCommand.execute(AbstractEMFStoreCommand.java:64)
at
org.eclipse.emf.common.command.BasicCommandStack.execute(BasicCommandStack.java:78)
at
org.eclipse.emf.emfstore.internal.client.model.changeTracking.commands.EMFStoreBasicCommandStack.execute(EMFStoreBasicCommandStack.java:72)
at
org.eclipse.emf.emfstore.internal.client.model.util.AbstractEMFStoreCommand.aRun(AbstractEMFStoreCommand.java:108)
at
org.eclipse.emf.emfstore.internal.client.model.util.EMFStoreCommand.run(EMFStoreCommand.java:60)
at
org.eclipse.emf.emfstore.client.util.RunESCommand.run(RunESCommand.java:145)
at
org.eclipse.emf.emfstore.internal.client.model.ESWorkspaceProviderImpl.load(ESWorkspaceProviderImpl.java:230)
at
org.eclipse.emf.emfstore.internal.client.model.ESWorkspaceProviderImpl.initialize(ESWorkspaceProviderImpl.java:408)
at
org.eclipse.emf.emfstore.internal.client.model.ESWorkspaceProviderImpl.getInstance(ESWorkspaceProviderImpl.java:102)
at
org.eclipse.emf.emfstore.client.ESWorkspaceProvider.<clinit>(ESWorkspaceProvider.java:32)
at
org.eclipse.emf.ecp.emfstore.core.internal.EMFStoreProvider.getServerInfo(EMFStoreProvider.java:518)
at
org.eclipse.emf.ecp.emfstore.core.internal.EMFStoreProvider.fillChildren(EMFStoreProvider.java:145)
at
org.eclipse.emf.ecp.internal.core.ECPProviderRegistryImpl$ProviderDescriptor.fillChildren(ECPProviderRegistryImpl.java:216)
at
org.eclipse.emf.ecp.internal.ui.model.ECPContentProvider.fillChildren(ECPContentProvider.java:50)
at
org.eclipse.emf.ecp.internal.ui.model.RepositoriesContentProvider.fillChildren(RepositoriesContentProvider.java:90)
at
org.eclipse.emf.ecp.internal.ui.model.TreeContentProvider.fillChildrenDetectError(TreeContentProvider.java:193)
at
org.eclipse.emf.ecp.internal.ui.model.TreeContentProvider.getChildrenList(TreeContentProvider.java:185)
at
org.eclipse.emf.ecp.internal.ui.model.TreeContentProvider.hasChildren(TreeContentProvider.java:59)
at
org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2146)

Not sure what is missing or y or is it a BUG ?


Regards
Malai
Re: [EMF Forms]NPE on Start of Application every time [message #1389326 is a reply to message #1387100] Fri, 27 June 2014 16:41 Go to previous message
Edgar Mueller is currently offline Edgar MuellerFriend
Messages: 89
Registered: March 2011
Member
Hi,

this is related to where and how EMFStore, which is the underlying
backend for ECP that you use, stores its data.
Please try to remove the .emfstore folder in your home directory as well
as cleaning your workspace and check if the error remains.

Cheers,
Edgar

Am 24.06.2014 08:40, schrieb Annamalai:
> Hi There
>
> Whenever i run my application, Model Explorer throws this exception.
>
> !ENTRY org.eclipse.emf.emfstore.client 2 2 2014-06-24 12:02:20.683
> !MESSAGE No EMFStore migrator registered.
>
> !ENTRY org.eclipse.emf.emfstore.client 4 4 2014-06-24 12:02:25.548
> !MESSAGE Exception occurred during command execution.
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceBase.initCrossReferenceAdapter(ProjectSpaceBase.java:642)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceBase.init(ProjectSpaceBase.java:583)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.impl.WorkspaceBase.init(WorkspaceBase.java:134)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.ESWorkspaceProviderImpl$2.call(ESWorkspaceProviderImpl.java:232)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.ESWorkspaceProviderImpl$2.call(ESWorkspaceProviderImpl.java:1)
>
> at
> org.eclipse.emf.emfstore.client.util.RunESCommand$1.doRun(RunESCommand.java:137)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.util.EMFStoreCommand.commandBody(EMFStoreCommand.java:51)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.util.AbstractEMFStoreCommand.execute(AbstractEMFStoreCommand.java:64)
>
> at
> org.eclipse.emf.common.command.BasicCommandStack.execute(BasicCommandStack.java:78)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.changeTracking.commands.EMFStoreBasicCommandStack.execute(EMFStoreBasicCommandStack.java:72)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.util.AbstractEMFStoreCommand.aRun(AbstractEMFStoreCommand.java:108)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.util.EMFStoreCommand.run(EMFStoreCommand.java:60)
>
> at
> org.eclipse.emf.emfstore.client.util.RunESCommand.run(RunESCommand.java:145)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.ESWorkspaceProviderImpl.load(ESWorkspaceProviderImpl.java:230)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.ESWorkspaceProviderImpl.initialize(ESWorkspaceProviderImpl.java:408)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.ESWorkspaceProviderImpl.getInstance(ESWorkspaceProviderImpl.java:102)
>
> at
> org.eclipse.emf.emfstore.client.ESWorkspaceProvider.<clinit>(ESWorkspaceProvider.java:32)
>
> at
> org.eclipse.emf.ecp.emfstore.core.internal.EMFStoreProvider.getServerInfo(EMFStoreProvider.java:518)
>
> at
> org.eclipse.emf.ecp.emfstore.core.internal.EMFStoreProvider.fillChildren(EMFStoreProvider.java:145)
>
> at
> org.eclipse.emf.ecp.internal.core.ECPProviderRegistryImpl$ProviderDescriptor.fillChildren(ECPProviderRegistryImpl.java:216)
>
> at
> org.eclipse.emf.ecp.internal.ui.model.ECPContentProvider.fillChildren(ECPContentProvider.java:50)
>
> at
> org.eclipse.emf.ecp.internal.ui.model.RepositoriesContentProvider.fillChildren(RepositoriesContentProvider.java:90)
>
> at
> org.eclipse.emf.ecp.internal.ui.model.TreeContentProvider.fillChildrenDetectError(TreeContentProvider.java:193)
>
> at
> org.eclipse.emf.ecp.internal.ui.model.TreeContentProvider.getChildrenList(TreeContentProvider.java:185)
>
> at
> org.eclipse.emf.ecp.internal.ui.model.TreeContentProvider.hasChildren(TreeContentProvider.java:59)
>
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2146)
>
>
> Not sure what is missing or y or is it a BUG ?
>
>
> Regards
> Malai


--
Edgar Mueller

Get Professional Eclipse Support: http://eclipsesource.com/munich
Previous Topic:EMF FORM
Next Topic:[EMFStore] Export project to xmi file on server
Goto Forum:
  


Current Time: Fri Feb 26 18:48:06 GMT 2021

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

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

Back to the top