- This topic has 4 replies, 2 voices, and was last updated 17 years, 5 months ago by Christian Dupuis.
-
AuthorPosts
-
pierdeuxMemberEarlier today, I installed Matisse4MyEclipsea (on MyEclipse’s invitation prompt to do so). I now get the following exception on starting Eclipse. (Using Version: 6.0.0 M1, Build id: 20070629-6.0.0-M1)
I don’t plan on using Matisse any time soon, so this is probably no major concern, but if anyone has a pret-a-porter solution, I’d love to hear about it!
!ENTRY org.eclipse.jface 4 2 2007-08-10 21:33:50.484 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". !STACK 0 java.lang.NullPointerException at org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart$StatusLineLabelProvider.getText(XMLMultiPageEditorPart.java:322) at org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart.updateStatusLine(XMLMultiPageEditorPart.java:853) at org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart$5.selectionChanged(XMLMultiPageEditorPart.java:429) at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:842) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:857) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193) at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:840) at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1642) at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1083) at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:392) at org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart$TextEditorPostSelectionAdapter.selectionChanged(XMLMultiPageEditorPart.java:233) at org.eclipse.wst.sse.ui.StructuredTextEditor$6.run(StructuredTextEditor.java:908) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.fireSelectionChanged(StructuredTextEditor.java:906) at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.handlePostSelectionChanged(StructuredTextEditor.java:964) at org.eclipse.wst.sse.ui.StructuredTextEditor$5.selectionChanged(StructuredTextEditor.java:887) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2546) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2498) at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2477) at org.eclipse.swt.widgets.Display.runTimer(Display.java:3745) at org.eclipse.swt.widgets.Display.messageProc(Display.java:2967) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2264) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3291) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:797) at org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:1342) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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:504) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) at org.eclipse.equinox.launcher.Main.run(Main.java:1169) at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
(I’ll include configuration or plug-in details on request.)
pierdeuxMemberUpdate: I disabled Matisse4MyEclipse, but I still get those error messages. (It doesn’t prevent me from working: I just minimize the error window and carry on…)
But the full story is that I did install a few other updates as well as SpringIDE. Maybe M4ME isn’t the culprit after all (I jumped to conclusions too soon).
Should I start disabling the features one after the other until I stop getting the error messages? Or is there a more painless way of getting to the bottom of this? I’ll take any advice I can get!
pierdeuxMemberIn the end, I did go about disabling the features one by one. The culprit seems to have been:
Spring IDE (required) 2.0.0.v200706271108
It seems there was a conflict in keybinding:
Ctrl+Shift+G => References in Workspace
Ctrl+Shift+G => Spring Beans References SearchI’ll put the question to the folks at Spring, but if someone here has some suggestions, I would love to try them (because I was looking forward to using the Spring IDE plugin!)
!ENTRY org.eclipse.jface 2 0 2007-08-11 11:23:43.261 !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. !SUBENTRY 1 org.eclipse.jface 2 0 2007-08-11 11:23:43.261 !MESSAGE A conflict occurred for CTRL+SHIFT+G: Binding(CTRL+SHIFT+G, ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.search.references.in.workspace,References in Workspace, Search for references to the selected element in the workspace, Category(org.eclipse.search.ui.category.search,Search,Search command category,true), , ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system) Binding(CTRL+SHIFT+G, ParameterizedCommand(Command(com.genuitec.org.springframework.ide.eclipse.beans.ui.editor.commands.searchBeanReferences,Spring Beans References Search, , Category(org.eclipse.ui.category.views,Views,Commands for opening views,true), LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.internal.EditorPluginAction@23ed31)), ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.wst.sse.ui.structuredTextEditorScope,,,system) Binding(CTRL+SHIFT+G, ParameterizedCommand(Command(org.springframework.ide.eclipse.beans.ui.editor.commands.searchBeanReferences,Spring Beans References Search, , Category(org.eclipse.search.ui.category.search,Search,Search command category,true), , ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.wst.sse.ui.structuredTextEditorScope,,,system)
pierdeuxMemberThe original NullPointerException and the keybinding problem seem to be two different (unrelated) questions.
NullPointerException question has been asked by another user: https://www.genuitec.com/forums/topic/nullpointerexception-in-xmlmultipageeditorpart/
The keybinding problem came from my installing SpringIDE on top of MyEclipse, without first disabling the proper MyEclipse features, as pointed out in here: https://www.genuitec.com/forums/topic/springide-2-0-integration/
Thanks to Christian on the Spring Forums for pointing me in the right direction!
-
AuthorPosts