Community
Participate
Working Groups
This is an edge case discovered while testing with a minimal set of plugins. The Papyrus diagram editor assumes that content outline is present and should fail silently if it doesn't exist. Instead I get the following exception. The suggested work-around of adding org.eclipse.papyrus.outline and dependencies to my test plugins solved the issue. [2011-07-28T5-14-10] Status ERROR: org.eclipse.mylyn.context.ui code=0 Could not install viewer manager on: org.eclipse.mylyn.ui.interest.filter.org.eclipse.ui.views.ContentOutline java.lang.RuntimeException: org.eclipse.papyrus.core.extension.NotFoundException: No ContentOutline registered., Exception: java.lang.RuntimeException: org.eclipse.papyrus.core.extension.NotFoundException: No ContentOutline registered. at org.eclipse.papyrus.core.editor.CoreMultiDiagramEditor.getAdapter(CoreMultiDiagramEditor.java:369) at org.eclipse.mylyn.emf.ui.GenericUIBridge.getContentOutlineViewers(GenericUIBridge.java:54) at org.eclipse.mylyn.internal.context.ui.actions.FocusOutlineAction.getViewers(FocusOutlineAction.java:90) at org.eclipse.mylyn.context.ui.AbstractFocusViewAction.valueChanged(AbstractFocusViewAction.java:297) at org.eclipse.mylyn.context.ui.AbstractFocusViewAction.update(AbstractFocusViewAction.java:275) at org.eclipse.mylyn.context.ui.AbstractFocusViewAction$1.contextChanged(AbstractFocusViewAction.java:148) at org.eclipse.mylyn.internal.context.core.InteractionContextManager$4.run(InteractionContextManager.java:444) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.mylyn.internal.context.core.InteractionContextManager.deactivateContext(InteractionContextManager.java:434) at org.eclipse.mylyn.emf.context.AbstractDiagramContextTest.tearDown(AbstractDiagramContextTest.java:49) at org.eclipse.mylyn.emf.ui.PapyrusDiagramEditorUIBridgeTest.tearDown(PapyrusDiagramEditorUIBridgeTest.java:120) at junit.framework.TestCase.runBare(TestCase.java:140) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:62) at org.eclipse.pde.internal.junit.runtime.PlatformUITestHarness$1.run(PlatformUITestHarness.java:47) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3935) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3612) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.runApp(NonUIThreadTestApplication.java:54) at org.eclipse.pde.internal.junit.runtime.UITestApplication.runApp(UITestApplication.java:41) at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.start(NonUIThreadTestApplication.java:48) 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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) Caused by: org.eclipse.papyrus.core.extension.NotFoundException: No ContentOutline registered. at org.eclipse.papyrus.core.contentoutline.ContentOutlineRegistry.getContentOutlineDescriptor(ContentOutlineRegistry.java:98) at org.eclipse.papyrus.core.contentoutline.ContentOutlineRegistry.createContentOutline(ContentOutlineRegistry.java:112) at org.eclipse.papyrus.core.contentoutline.ContentOutlineRegistry.getContentOutline(ContentOutlineRegistry.java:72) at org.eclipse.papyrus.core.editor.CoreMultiDiagramEditor.getAdapter(CoreMultiDiagramEditor.java:363) ... 55 more
Fixed in r10337 on the trunk (0.10)