Home » Eclipse Projects » Sirius » EMF Model Creation Wizard fail(Model creation fails)
EMF Model Creation Wizard fail [message #1852947] |
Sun, 12 June 2022 12:05 |
AMir Taghizadegan Messages: 32 Registered: May 2022 |
Member |
|
|
Hi everyone,
I have currently problems with creating a model.
I get the following errer message:
The selected wizard could not be started.
Plug-in "AutoDesigner1.editor" was unable to instantiate class "autoDesigner1.presentation.AutoDesigner1ModelWizard".
java.lang.reflect.InvocationTargetException
Here is the .log file:
!SESSION 2022-06-12 13:50:05.508 -----------------------------------------------
eclipse.buildId=4.23.0.I20220308-0310
java.version=16.0.1
java.vendor=Private Build
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.platform.ide
Command-line arguments: -product org.eclipse.platform.ide -data /home/amir2000/eclipse-wokspace-EED-Test/../AutoDesigner_runtime-New_configuration -dev file:/home/amir2000/eclipse-wokspace-EED-Test/.metadata/.plugins/org.eclipse.pde.core/New_configuration/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog
!ENTRY org.eclipse.jface 2 0 2022-06-12 13:50:12.707
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2022-06-12 13:50:12.707
!MESSAGE A conflict occurred for CTRL+SHIFT+T:
Binding(CTRL+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type,
Open a type in a Java editor,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@7a7bd9a8,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace,
,
Category(org.eclipse.lsp4e.category,Language Servers,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@72b6fa98,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2022-06-12 13:50:12.707
!MESSAGE A conflict occurred for ALT+SHIFT+R:
Binding(ALT+SHIFT+R,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.rename.element,Rename - Refactoring ,
Rename the selected element,
Category(org.eclipse.jdt.ui.category.refactoring,Refactor - Java,Java Refactoring Actions,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1832b0f6,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(ALT+SHIFT+R,
ParameterizedCommand(Command(org.eclipse.ui.edit.rename,Rename,
Rename the selected item,
Category(org.eclipse.ui.category.file,File,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@6693818c,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!ENTRY org.eclipse.ui 2 2 2022-06-12 13:51:02.210
!MESSAGE Invalid property category path: org.springframework.ide.eclipse.beans.ui.properties.ProjectPropertyPage (bundle: org.springframework.ide.eclipse.xml.namespaces, propertyPage: org.springframework.ide.eclipse.beans.ui.namespaces.projectPropertyPage)
[Updated on: Sun, 12 June 2022 12:07] Report message to a moderator
|
|
| | | |
Re: EMF Model Creation Wizard fail [message #1852994 is a reply to message #1852975] |
Tue, 14 June 2022 09:32 |
AMir Taghizadegan Messages: 32 Registered: May 2022 |
Member |
|
|
I get a more precise error when I try to use the metamodel in odesign.
I think the problem is the gurobi library which is added through a maven dependency. However I also added the jar in Classpath of the project and also configured the environment variables.
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:443)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:352)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:470)
at org.eclipse.ui.internal.progress.ProgressManager$RunnableWithStatus.run(ProgressManager.java:1117)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74)
at org.eclipse.ui.internal.progress.ProgressManager.lambda$27(ProgressManager.java:996)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:6012)
at org.eclipse.ui.internal.progress.ProgressManager.runInUI(ProgressManager.java:996)
at org.eclipse.sirius.editor.properties.sections.description.representationdescription.AddFromRegistryButtonListener.widgetSelected(AddFromRegistryButtonListener.java:77)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5895)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5126)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4581)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
Caused by: java.lang.NoClassDefFoundError: gurobi/GRBVar
at autoDesigner1.impl.AutoDesigner1PackageImpl.initializePackageContents(AutoDesigner1PackageImpl.java:1425)
at autoDesigner1.impl.AutoDesigner1PackageImpl.init(AutoDesigner1PackageImpl.java:202)
at autoDesigner1.AutoDesigner1Package.<clinit>(AutoDesigner1Package.java:58)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1155)
at java.base/jdk.internal.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:42)
at java.base/jdk.internal.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:186)
at java.base/java.lang.reflect.Field.acquireFieldAccessor(Field.java:1126)
at java.base/java.lang.reflect.Field.getFieldAccessor(Field.java:1107)
at java.base/java.lang.reflect.Field.get(Field.java:419)
at org.eclipse.emf.ecore.plugin.RegistryReader$EPackageDescriptor.getEPackage(RegistryReader.java:304)
at org.eclipse.sirius.editor.properties.sections.description.representationdescription.DescriptionMetamodelsUpdater.getEPackagesFromNsURI(DescriptionMetamodelsUpdater.java:282)
at org.eclipse.sirius.editor.properties.sections.description.representationdescription.AddFromRegistryButtonListener$1.run(AddFromRegistryButtonListener.java:83)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:434)
... 38 more
Caused by: java.lang.ClassNotFoundException: gurobi.GRBVar cannot be found by AutoDesigner1_0.1.0.qualifier
at org.eclipse.osgi.internal.loader.BundleLoader.generateException(BundleLoader.java:529)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:524)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:416)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
... 52 more
[Updated on: Tue, 14 June 2022 10:39] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Dec 14 10:09:12 GMT 2024
Powered by FUDForum. Page generated in 0.03196 seconds
|