[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[emfstore-dev] EMFStore Configuration Bug

Hello:
     Follow the document "Getting started with EMFStore", when I lanuched on eclipse "Run Configurations",   and the application "EMF Client Platform" was lanuched, but on the eclipse console there is still some exeception messages like this:


!SESSION 2017-12-26 14:42:04.296 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_144
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments:  -application org.eclipse.emf.ecp.application.e3.application
Command-line arguments:  -application org.eclipse.emf.ecp.application.e3.application -data D:\workspace\test/../runtime-EMFStore -dev file:D:/workspace/test/.metadata/.plugins/org.eclipse.pde.core/EMF Store-client1/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog -console

!ENTRY org.eclipse.osgi 4 0 2017-12-26 14:42:07.095
!MESSAGE Could not find bundle: org.eclipse.equinox.console
!STACK 0
org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console
at org.eclipse.core.runtime.internal.adaptor.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:58)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:339)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
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:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
UIProviderDescriptor: org.eclipse.emf.ecp.emfstore.ui [423] --> file:D:\Eclipse\eclipse-rcp-oxygen-R-win32-x86_64\plugins\org.eclipse.emf.ecp.emfstore.ui_1.15.0.20171220-1057.jar
UIProviderDescriptor: org.eclipse.emf.ecp.workspace.ui [456] --> file:D:\Eclipse\eclipse-rcp-oxygen-R-win32-x86_64\plugins\org.eclipse.emf.ecp.workspace.ui_1.15.0.20171220-1057.jar
Loading ECPProjectManagerImpl from D:\workspace\runtime-EMFStore\.metadata\.plugins\org.eclipse.emf.ecp.core\projects
Loading ECPRepositoryManagerImpl from D:\workspace\runtime-EMFStore\.metadata\.plugins\org.eclipse.emf.ecp.core\repositories
RepositoryDescriptor: org.eclipse.emf.ecp.emfstore.ui [423] --> file:D:\Eclipse\eclipse-rcp-oxygen-R-win32-x86_64\plugins\org.eclipse.emf.ecp.emfstore.ui_1.15.0.20171220-1057.jar
ProviderDescriptor: org.eclipse.emf.ecp.workspace.core [398] --> file:D:\Eclipse\eclipse-rcp-oxygen-R-win32-x86_64\plugins\org.eclipse.emf.ecp.workspace.core_1.15.0.20171220-1057.jar
ProviderDescriptor: org.eclipse.emf.ecp.emfstore.core [417] --> file:D:\Eclipse\eclipse-rcp-oxygen-R-win32-x86_64\plugins\org.eclipse.emf.ecp.emfstore.core_1.15.0.20171220-1057.jar
Loading ECPRepositoryManagerImpl from D:\workspace\runtime-EMFStore\.metadata\.plugins\org.eclipse.emf.ecp.core\repositories

!ENTRY org.eclipse.emf.emfstore.common.model 1 1 2017-12-26 14:42:11.283
!MESSAGE Value not found.

!ENTRY org.eclipse.emf.emfstore.common.model 1 1 2017-12-26 14:42:11.287
!MESSAGE Error while instantiating location provider or none configured, switching to default location!




     And when I create a new project with the context menu in the left "Model Explorer" view(In the Create Project Dialog, for the "Provider" item, I select the "EMFStore"), then it throws exeception on the eclipse console, and the project was not created, with the exception messages like this:
 


!ENTRY org.eclipse.emf.emfstore.common.model 1 1 2017-12-26 14:45:15.906
!MESSAGE Resource save options initialized:

!ENTRY org.eclipse.emf.emfstore.common.model 1 1 2017-12-26 14:45:15.908
!MESSAGE  USE_ENCODED_ATTRIBUTE_STYLE: true

!ENTRY org.eclipse.emf.emfstore.common.model 1 1 2017-12-26 14:45:15.912
!MESSAGE  ENCODING: UTF-8

!ENTRY org.eclipse.emf.emfstore.common.model 1 1 2017-12-26 14:45:15.923
!MESSAGE  FLUSH_THRESHOLD: 100000

!ENTRY org.eclipse.emf.emfstore.common.model 1 1 2017-12-26 14:45:15.927
!MESSAGE  USE_FILE_BUFFER: true

!ENTRY org.eclipse.emf.emfstore.common.model 1 1 2017-12-26 14:45:15.930
!MESSAGE  CONFIGURATION_CACHE: true

!ENTRY org.eclipse.ui 4 0 2017-12-26 14:45:16.101
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.IllegalStateException: java.io.UnsupportedEncodingException: Encoding GBK is not supported yet (feel free to submit a patch)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:431)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:446)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:472)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1044)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.emf.ecp.application3x.Application.start(Application.java:37)
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:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
Caused by: java.lang.IllegalStateException: java.io.UnsupportedEncodingException: Encoding GBK is not supported yet (feel free to submit a patch)
at org.eclipse.emf.emfstore.internal.server.model.versioning.impl.FileBasedChangePackageImpl.computeSize(FileBasedChangePackageImpl.java:823)
at org.eclipse.emf.emfstore.internal.server.model.versioning.impl.FileBasedChangePackageImpl.isEmpty(FileBasedChangePackageImpl.java:674)
at org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceBase.updateDirtyState(ProjectSpaceBase.java:1498)
at org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceBase.startChangeRecording(ProjectSpaceBase.java:1379)
at org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceBase.init(ProjectSpaceBase.java:702)
at org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceBase.initResources(ProjectSpaceBase.java:887)
at org.eclipse.emf.emfstore.internal.client.model.impl.WorkspaceBase.createLocalProject(WorkspaceBase.java:109)
at org.eclipse.emf.emfstore.internal.client.model.impl.WorkspaceBase.createLocalProject(WorkspaceBase.java:137)
at org.eclipse.emf.emfstore.internal.client.model.impl.api.ESWorkspaceImpl$2.doRun(ESWorkspaceImpl.java:77)
at org.eclipse.emf.emfstore.internal.client.model.impl.api.ESWorkspaceImpl$2.doRun(ESWorkspaceImpl.java:1)
at org.eclipse.emf.emfstore.internal.client.model.util.EMFStoreCommandWithResult.commandBody(EMFStoreCommandWithResult.java:31)
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.EMFStoreCommandWithResult.run(EMFStoreCommandWithResult.java:59)
at org.eclipse.emf.emfstore.internal.client.model.impl.api.ESWorkspaceImpl.createLocalProject(ESWorkspaceImpl.java:80)
at org.eclipse.emf.ecp.emfstore.core.internal.EMFStoreProvider.getProjectSpace(EMFStoreProvider.java:490)
at org.eclipse.emf.ecp.emfstore.core.internal.EMFStoreProvider.handleInit(EMFStoreProvider.java:260)
at org.eclipse.emf.ecp.emfstore.core.internal.EMFStoreProvider.handleLifecycle(EMFStoreProvider.java:189)
at org.eclipse.emf.ecp.internal.core.ECPProviderRegistryImpl$ProviderDescriptor.handleLifecycle(ECPProviderRegistryImpl.java:233)
at org.eclipse.emf.ecp.internal.core.ECPProjectImpl.notifyProvider(ECPProjectImpl.java:417)
at org.eclipse.emf.ecp.internal.core.ECPProjectImpl.<init>(ECPProjectImpl.java:92)
at org.eclipse.emf.ecp.internal.core.ECPProjectManagerImpl.createProject(ECPProjectManagerImpl.java:117)
at org.eclipse.emf.ecp.spi.ui.util.ECPHandlerHelper.createProject(ECPHandlerHelper.java:169)
at org.eclipse.emf.ecp.ui.commands.CreateProjectHandler.execute(CreateProjectHandler.java:33)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:92)
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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
... 37 more
Caused by: java.io.UnsupportedEncodingException: Encoding GBK is not supported yet (feel free to submit a patch)
at org.apache.commons.io.input.ReversedLinesFileReader.<init>(ReversedLinesFileReader.java:115)
at org.apache.commons.io.input.ReversedLinesFileReader.<init>(ReversedLinesFileReader.java:60)
at org.eclipse.emf.emfstore.internal.server.model.versioning.impl.FileBasedChangePackageImpl.computeSize(FileBasedChangePackageImpl.java:811)
... 69 more

at last, my develop environment configureation are:
     OS:                 Win 7 (64 bit)  
     JRE:                1.8.0_144 (64-Bit)
     Eclipse:          Oxygen Release (4.7.0)
     ECP:               1.15x  (http://download.eclipse.org/ecp/releases/releases_115/)
     EMFStore:     1.9.x (http://download.eclipse.org/emfstore/releases_19)
     EMF:              2.12-2.14 v20170608-0928
     


Karelun Huang 
2017-12-27