1

Eclipse で「ビュー付きプラグイン」を作成し、後でインターネットで見つけたチュートリアルを使用して修正しました。それを開いて Java パースペクティブに追加することはできますが、パースペクティブ内の別の場所に移動しようとすると、ビューが閉じて「未処理のイベント ループ例外」が発生します。

スタック トレースは次のとおりです。

java.lang.NullPointerException
    at org.eclipse.ui.internal.FastViewPane.hideView(FastViewPane.java:582)
    at org.eclipse.ui.internal.Perspective.hideFastView(Perspective.java:571)
    at org.eclipse.ui.internal.Perspective.setActiveFastView(Perspective.java:1933)
    at org.eclipse.ui.internal.Perspective.setActiveFastView(Perspective.java:1952)
    at org.eclipse.ui.internal.Perspective.toggleFastView(Perspective.java:2365)
    at org.eclipse.ui.internal.WorkbenchPage.toggleFastView(WorkbenchPage.java:3972)
    at org.eclipse.ui.internal.WorkbenchPage.hideFastView(WorkbenchPage.java:3960)
    at org.eclipse.ui.internal.FastViewPane$2.dragStart(FastViewPane.java:156)
    at org.eclipse.ui.internal.FastViewPane$2.dragStart(FastViewPane.java:136)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:118)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:282)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleDragStarted(AbstractTabFolder.java:366)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$2.handleEvent(AbstractTabFolder.java:67)
    at org.eclipse.ui.presentations.PresentationUtil.handleMouseMove(PresentationUtil.java:110)
    at org.eclipse.ui.presentations.PresentationUtil.access$4(PresentationUtil.java:95)
    at org.eclipse.ui.presentations.PresentationUtil$2.handleEvent(PresentationUtil.java:63)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    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:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

数時間前にはこのエラーは発生しなくなりましたが、現在は再発しています。どうすれば修正できますか?

4

1 に答える 1