facebook

[Closed] Minor JSP editor issue in Eclipse 3.2M2

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #238528 Reply

    Jim Farley
    Participant

    I decided to give the latest Eclipse 3.2 milestone (M2) a try with MyEclipse, and generally things seem fine. I tried a few things in the DB explorer (connected to an Oracle DB, made some queries, generated an ER diagram), all was fine.

    I tried bringing up the JSP editor, and while it did eventually activate, it generated an error dialog, and the following trace appears in my Eclipse log file. The editor seems pretty slow as well (noticeably slower than in Eclipse 3.1). Popup suggestions take longer to appear, re-coloring the text after edits is slow, etc.

    I don’t expect a resolution prior to a new release with support for 3.2, of course, but if there’s a workaround of some kind, I’d like to stick with 3.2 if possible. This is on OSX, by the way.

    Stack trace follows:

    !ENTRY org.eclipse.ui 4 0 2005-10-02 19:24:32.151
    !MESSAGE Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jspeditor to create itself (this is probably, but not necessarily, a bug)
    !STACK 1
    org.eclipse.ui.PartInitException: Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jspeditor to create itself (this is probably, but not necessarily, a bug)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:543)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:213)
    at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:463)
    at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:388)
    at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:358)
    at org.eclipse.ui.internal.WorkbenchPage.findEditor(WorkbenchPage.java:1788)
    at com.genuitec.eclipse.core.util.EditorUtil.getEditorForInput(Unknown Source)
    at com.genuitec.eclipse.core.util.EditorUtil.checkConflictingEditor(Unknown Source)
    at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.init(HTMLMultiPageEditorPart.java:765)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:764)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:586)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:374)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:285)
    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:141)
    at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
    at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:387)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1138)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1091)
    at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:795)
    at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:781)
    at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:122)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:126)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:84)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1436)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1421)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1251)
    at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3174)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1958)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:293)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1436)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1421)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1251)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3118)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2766)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1755)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1719)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:368)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:377)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:164)
    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:324)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)
    !SUBENTRY 1 org.eclipse.ui 4 0 2005-10-02 19:24:32.157
    !MESSAGE Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jspeditor to create itself (this is probably, but not necessarily, a bug)

    !ENTRY org.eclipse.ui.workbench 4 2 2005-10-02 19:24:35.298
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.ui.texteditor.BasicTextEditorActionContributor.doSetActiveEditor(BasicTextEditorActionContributor.java:213)
    at org.eclipse.ui.texteditor.BasicTextEditorActionContributor.setActiveEditor(BasicTextEditorActionContributor.java:243)
    at com.ibm.sse.editor.ui.ActionContributor.setActiveEditor(ActionContributor.java:269)
    at com.ibm.sse.editor.xml.ui.actions.ActionContributorXML.setActiveEditor(ActionContributorXML.java:140)
    at com.ibm.sse.editor.jsp.ActionContributorJSP.setActiveEditor(ActionContributorJSP.java:75)
    at com.genuitec.eclipse.webdesigner.jspeditor.JSPMultiPageContributor.setActiveEditor(JSPMultiPageContributor.java:71)
    at org.eclipse.ui.internal.EditorActionBars.partChanged(EditorActionBars.java:310)
    at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:578)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java:567)
    at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2938)
    at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2520)
    at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:251)
    at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:88)
    at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:297)
    at org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java:116)
    at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:798)
    at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:781)
    at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:122)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:126)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:84)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1436)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1421)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1251)
    at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3174)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1958)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:293)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1436)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1421)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1251)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3118)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2766)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1755)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1719)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:368)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:377)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:164)
    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:324)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)

    #238546 Reply

    MyEclipse does not support the 3.2 at the moment.

    #238551 Reply

    Riyad Kalla
    Member

    Jim,
    Eugene is correct however we appreciate the information you have provided. We likely won’t dive into 3.2 until it gets farther along in it’s M series, but we are collecting the issues that popup now so we know what to focus on when we do the port over.

    We wouldn’t encourage you to stay on 3.2 just yet, but if you need to for work we understand.

    #238560 Reply

    Jim Farley
    Participant

    Thanks. I realize 3.2 isn’t supported yet (as noted in my original post), and it makes sense not to get into the port until the release candidates stabilize a bit more. I was just looking for a possible workaround or even just hints based on this stack trace. I’ll muddle along on my own.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] Minor JSP editor issue in Eclipse 3.2M2

You must be logged in to post in the forum log in