Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Sirius 0.9 install problem on Kepler(Unable to instantiate class "org.eclipse.sirius.editor.tools.internal.presentation.CustomSiriusEditor")
Sirius 0.9 install problem on Kepler [message #1196253] Tue, 19 November 2013 10:20 Go to next message
Dominique Torette is currently offline Dominique Torette
Messages: 3
Registered: November 2013
Junior Member
I've installed Sirius 0.9.0.201311151146 on Kepler Service Release 1 (Ubuntu 12.10).
During the installation all dependencies have been updated.
The installation was fine and I can activate the Sirius perspective.
I can create a new 'Viewpoint Specification Project'.
But as soon as the default 'My.odesign' opens, the editor crashes with the following error message.

Dominique Torette.

Plug-in "org.eclipse.sirius.editor" was unable to instantiate class "org.eclipse.sirius.editor.tools.internal.presentation.CustomSiriusEditor".

Details are:
org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.sirius.editor" was unable to instantiate class "org.eclipse.sirius.editor.tools.internal.presentation.CustomSiriusEditor".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:188)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:274)
at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:235)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:318)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPart(CompatibilityPart.java:266)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPart(CompatibilityEditor.java:61)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:877)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:857)
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:119)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:333)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:254)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:949)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1096)
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:66)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4491)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:205)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:80)
at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:576)
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:543)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:610)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:322)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1034)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3112)
at org.eclipse.ui.internal.WorkbenchPage.access$21(WorkbenchPage.java:3034)
at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:3016)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3012)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2976)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2959)
at org.eclipse.sirius.ui.tools.api.project.ViewpointSpecificationProject.selectAndOpen(ViewpointSpecificationProject.java:302)
at org.eclipse.sirius.ui.tools.api.project.ViewpointSpecificationProject.access$0(ViewpointSpecificationProject.java:289)
at org.eclipse.sirius.ui.tools.api.project.ViewpointSpecificationProject$1.run(ViewpointSpecificationProject.java:194)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2327)
at org.eclipse.sirius.ui.tools.api.project.ViewpointSpecificationProject.createNewViewpointSpecificationProject(ViewpointSpecificationProject.java:202)
at org.eclipse.sirius.editor.tools.internal.wizards.ViewpointSpecificationProjectWizard.performFinish(ViewpointSpecificationProjectWizard.java:86)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
at org.eclipse.jface.window.Window.open(Window.java:802)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:117)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.sirius.table.metamodel.table.description.DescriptionPackage
at org.eclipse.sirius.table.metamodel.table.description.util.DescriptionSwitch.<init>(DescriptionSwitch.java:85)
at org.eclipse.sirius.table.metamodel.table.description.util.DescriptionAdapterFactory$1.<init>(DescriptionAdapterFactory.java:112)
at org.eclipse.sirius.table.metamodel.table.description.util.DescriptionAdapterFactory.<init>(DescriptionAdapterFactory.java:112)
at org.eclipse.sirius.table.metamodel.table.description.provider.DescriptionItemProviderAdapterFactory.<init>(DescriptionItemProviderAdapterFactory.java:75)
at org.eclipse.sirius.table.ui.business.internal.dialect.TableDialectUIServices.createAdapterFactory(TableDialectUIServices.java:181)
at org.eclipse.sirius.ui.business.internal.dialect.DialectUIManagerImpl.createAdapterFactory(DialectUIManagerImpl.java:161)
at org.eclipse.sirius.editor.editorPlugin.SiriusEditor.<init>(SiriusEditor.java:592)
at org.eclipse.sirius.editor.tools.internal.presentation.CustomSiriusEditor.<init>(CustomSiriusEditor.java:109)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
... 110 more
Re: Sirius 0.9 install problem on Kepler [message #1196644 is a reply to message #1196253] Tue, 19 November 2013 14:17 Go to previous messageGo to next message
Dominique Torette is currently offline Dominique Torette
Messages: 3
Registered: November 2013
Junior Member
I've tried on a Kepler fresh install under MS Windows 7 and Unbutu...
It works well on both. May be incompatibility between plug-ins?

Dominique Torette.
Re: Sirius 0.9 install problem on Kepler [message #1196678 is a reply to message #1196253] Tue, 19 November 2013 14:36 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles David
Messages: 128
Registered: July 2009
Senior Member
Le 19/11/2013 15:02, Dominique Torette a écrit :
> I've installed Sirius 0.9.0.201311151146 on Kepler Service Release 1
> (Ubuntu 12.10).
> During the installation all dependencies have been updated.
> The installation was fine and I can activate the Sirius perspective.
> I can create a new 'Viewpoint Specification Project'.
> But as soon as the default 'My.odesign' opens, the editor crashes with
> the following error message.

Hi. A quick test using the latest version from master does not show the
problem (but using Luna instead of Kepler).

> Caused by: java.lang.NoClassDefFoundError: Could not initialize class
> org.eclipse.sirius.table.metamodel.table.description.DescriptionPackage
> at
> org.eclipse.sirius.table.metamodel.table.description.util.DescriptionSwitch.<init>(DescriptionSwitch.java:85)

I'll have a look, but I don't see anything obvious in the corresponding
code (at least in the latest version).
Re: Sirius 0.9 install problem on Kepler [message #1196728 is a reply to message #1196644] Tue, 19 November 2013 15:07 Go to previous message
Pierre-Charles David is currently offline Pierre-Charles David
Messages: 128
Registered: July 2009
Senior Member
Le 19/11/2013 15:17, Dominique Torette a écrit :
> I've tried on a Kepler fresh install under MS Windows 7 and Unbutu...
> It works well on both. May be incompatibility between plug-ins?

I tried using a fresh Kepler SR1 install, using the repo at
http://download.eclipse.org/sirius/updates/stable/0.9.0-S20131115-0601/kepler
which (despite its URL) contains the version 0.9.0.201311151146 you
mention. I have not been able to reproduce the issue. This is on Ubuntu
13.04 using Oracle JDK 1.7.0_25 (64 bits mode).
Previous Topic:Problem in creating Representation file
Next Topic:Problem with installing Sirius
Goto Forum:
  


Current Time: Sat Sep 20 08:17:22 GMT 2014

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

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