特定の UML モデルから Ecore モデルに変換しようとしました。この後、ジェネレーターモデルを作成しようとしています。
これを実行しようとするたびに、次のログに「未処理のイベント ループ例外」があるというエラー メッセージが表示されます。
org.eclipse.swt.SWTException: org.eclipse.swt.SWT.error(SWT.java:3884) で org.eclipse.swt.SWT.error(SWT.java) で実行可能 (java.lang.NullPointerException) を実行できませんでした:3799) org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137) で org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885) で org.eclipse.swt.widgets. Display.readAndDispatch(Display.java:3506) org.eclipse.jface.window.Window.runEventLoop(Window.java:825) org.eclipse.jface.window.Window.open(Window.java:801) org .eclipse.gmf.internal.bridge.ui.dashboard.DashboardMediator$RunWizardAction.run(DashboardMediator.java:316) at org.eclipse.gmf.internal.bridge.ui.dashboard.HyperlinkFigure$1.mousePressed(HyperlinkFigure.java:63) ) org.eclipse.draw2d.Figure.handleMousePressed(Figure.java:873) で、org.eclipse.draw2d.SWTEventDispatcher で。org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown(LightweightSystem.java:513) の dispatchMousePressed(SWTEventDispatcher.java:214) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179) の org.eclipse org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) の .swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java) :3910) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) で org.eclipse.ui.internal. Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) org.eclipse.ui の org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) で。org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java: 113) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) で org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) で org.eclipse org.eclipse.core.runtime.adaptor の .core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) .EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) の java.lang.reflect.Method.invoke(不明なソース) での invoke(不明なソース) org.eclipse.equinox.launcher.Main.basicRun での(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311) 原因: java.lang.NullPointerException at org.eclipse.emf.converter.util.ConverterUtil.computeRequiredPackages(ConverterUtil) .java:374) で org.eclipse.emf.converter.ui.contribution.base.ModelConverterPackagePage.validate(ModelConverterPackagePage.java:965) で org.eclipse.emf.importer.ui.contribution.base.ModelImporterPackagePage.validate(ModelImporterPackagePage) .java:101) org.eclipse.emf.converter.ui.contribution.base.ModelConverterPackagePage$1.run(ModelConverterPackagePage.java:155) で org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) でorg.eclipse.swt.widgets にあります。Synchronizer.runAsyncMessages(Synchronizer.java:134) ... 34 もっと見る
この後、「エディター ID org.eclipse.emf.codegen.ecore.genmodel.presentation.GenModelEditorID を作成できません:予期しない例外がスローされました。」というテキストで別の例外が発生します。
セッションデータは次のように述べています: eclipse.buildId=unknown java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader 定数: OS=win32, ARCH=x86, WS=win32, NL=de_DE フレームワーク引数: -product org. eclipse.epp.package.modeling.product コマンドライン引数: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.modeling.product -consoleLog
この長いログでは:
org.eclipse.emf.codegen.ecore.genmodel.impl.GenModelImpl.diagnose(GenModelImpl.java:2930) の org.eclipse.emf.ecore.util.EcoreUtil.getURI(EcoreUtil.java:2887) での java.lang.NullPointerException ) org.eclipse.emf.codegen.ecore.genmodel.presentation.GenModelEditor.validate(GenModelEditor.java:1773) で org.eclipse.emf.codegen.ecore.genmodel.presentation.GenModelEditor.initialize(GenModelEditor.java:596) で) org.eclipse.emf.codegen.ecore.genmodel.presentation.GenModelEditor.createPages(GenModelEditor.java:1080) で org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:357) で org.eclipse. ui.internal.EditorReference.createPartHelper(EditorReference.java:662) の org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462) の org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:286) で org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2857) で org.eclipse.ui.internal.WorkbenchPage .busyOpenEditor(WorkbenchPage.java:2762) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701) の org.eclipse.ui.internal.WorkbenchPage.openEditor( WorkbenchPage.java:2685) で org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668) で org.eclipse.emf.converter.ui.contribution.base.ModelConverterWizard.openEditor(ModelConverterWizard.java:318) でorg.eclipse.emf.importer.ui にあります。org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752) での貢献.base.ModelImporterWizard.performFinish(ModelImporterWizard.java:167) org.eclipse.gmf.internal.bridge.ui.dashboard.DashboardMediator$ でRunWizardAction$1.finishPressed(DashboardMediator.java:311) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) で org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) で org.eclipse.swt.widgets.Widget.sendEvent (Widget.java:1003) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910) で org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503) で org.eclipse. jface.window.Window.runEventLoop(Window.java:825) org.org.eclipse.gmf.internal.bridge.ui.dashboard.DashboardMediator$RunWizardAction.run(DashboardMediator.java:316) で org.eclipse.gmf で eclipse.jface.window.Window.open(Window.java:801)。 internal.bridge.ui.dashboard.HyperlinkFigure$1.mousePressed(HyperlinkFigure.java:63) at org.eclipse.draw2d.Figure.handleMousePressed(Figure.java:873) at org.eclipse.draw2d.SWTEventDispatcher.dispatchMousePressed(SWTEventDispatcherjava.java) :214) org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown(LightweightSystem.java:513) で org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179) で org.eclipse.swt.widgets. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) の EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910) の org .eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) で org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) で org.eclipse.ui.internal.Workbench .access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) ) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) で org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) で org.eclipse.ui.internal.ide.application. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher. java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher で。start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) sun.reflect.NativeMethodAccessorImpl.invoke0 (ネイティブ メソッド) で sun.reflect.NativeMethodAccessorImpl.invoke (不明なソース) で sun.reflect.DelegatingMethodAccessorImpl.invoke (不明なソース) で java.lang.reflect.Method.invoke (不明なソース) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) で org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) で org.eclipse.equinox.launcher.Main.run (Main.java:1311)org.eclipse.equinox. launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311)org.eclipse.equinox. launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
誰が何がうまくいかないのか考えていますか? 私は自分のモデルをしばらく見ましたが、何か問題を見つけることができませんでした。「未処理のイベント ループ例外」が原因で再帰が発生する可能性があると思いましたが、これは可能ですか?
前もってありがとう、ドミニク