facebook

JSP Editor does not work in M3 [Closed]

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #234838 Reply

    Hi
    I updated to M3 using the automatic updater and since then none of my JSP files open. There are some messageboxes (creating jsp designer or something to that effect) that come up and thereafter finally “an error has occured: please see the log” appears. This happens for any jsp file.
    I am WIN XP, Eclipse 3.1.

    Here is the stack trace from the log:

    
    !ENTRY org.eclipse.jface 4 2 2005-08-16 02:01:10.974
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
    !STACK 0
    java.lang.NoSuchMethodError: org.eclipse.swt.graphics.GC.getAdvanced()Z
        at org.eclipse.draw2d.SWTGraphics.init(SWTGraphics.java:707)
        at org.eclipse.draw2d.SWTGraphics.<init>(SWTGraphics.java:258)
        at com.genuitec.eclipse.webdesigner2.flyoutpalette.FlyoutPaletteComposite$RotatedTitleLabel.updateImage(FlyoutPaletteComposite.java:1035)
        at com.genuitec.eclipse.webdesigner2.flyoutpalette.FlyoutPaletteComposite$RotatedTitleLabel.setFont(FlyoutPaletteComposite.java:1017)
        at com.genuitec.eclipse.webdesigner2.flyoutpalette.FlyoutPaletteComposite$TitleCanvas.setFont(FlyoutPaletteComposite.java:1296)
        at com.genuitec.eclipse.webdesigner2.flyoutpalette.FlyoutPaletteComposite$FontManager.register(FlyoutPaletteComposite.java:1397)
        at com.genuitec.eclipse.webdesigner2.flyoutpalette.FlyoutPaletteComposite$TitleCanvas.init(FlyoutPaletteComposite.java:1252)
    at com.genuitec.eclipse.webdesigner2.flyoutpalette.FlyoutPaletteComposite$TitleCanvas.<init>(FlyoutPaletteComposite.java:1219)
        at com.genuitec.eclipse.webdesigner2.flyoutpalette.FlyoutPaletteComposite.createTitle(FlyoutPaletteComposite.java:269)
        at com.genuitec.eclipse.webdesigner2.flyoutpalette.FlyoutPaletteComposite.access$4(FlyoutPaletteComposite.java:268)
        at com.genuitec.eclipse.webdesigner2.flyoutpalette.FlyoutPaletteComposite$Sash.<init>(FlyoutPaletteComposite.java:669)
        at com.genuitec.eclipse.webdesigner2.flyoutpalette.FlyoutPaletteComposite.createSash(FlyoutPaletteComposite.java:265)
        at com.genuitec.eclipse.webdesigner2.flyoutpalette.FlyoutPaletteComposite.<init>(FlyoutPaletteComposite.java:190)
        at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createDesignPage(HTMLMultiPageEditorPart.java:469)
        at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createPages(HTMLMultiPageEditorPart.java:247)
        at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
        at org.eclipse.ui.internal.EditorManager.busyRestoreEditorHelper(EditorManager.java:1237)
        at org.eclipse.ui.internal.EditorManager.busyRestoreEditor(EditorManager.java:1102)
        at org.eclipse.ui.internal.EditorManager$7.run(EditorManager.java:1064)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.ui.internal.EditorManager.restoreEditor(EditorManager.java:1062)
        at org.eclipse.ui.internal.EditorManager$Editor.getEditor(EditorManager.java:1648)
        at org.eclipse.ui.internal.EditorManager$Editor.getPart(EditorManager.java:1639)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:260)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
        at org.eclipse.ui.internal.presentations.newapi.PresentablePartFolder.select(PresentablePartFolder.java:268)
        at org.eclipse.ui.internal.presentations.newapi.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
        at org.eclipse.ui.internal.presentations.newapi.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1070)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1019)
        at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1223)
        at org.eclipse.ui.internal.PartStack.add(PartStack.java:406)
        at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109)
        at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
        at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:267)
        at org.eclipse.ui.internal.EditorManager$4.run(EditorManager.java:829)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:809)
        at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:697)
        at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:660)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2236)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2165)
        at org.eclipse.ui.internal.WorkbenchPage.access$7(WorkbenchPage.java:2157)
        at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2143)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2138)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
        at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
        at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
        at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:120)
        at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:316)
        at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:648)
        at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:406)
        at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:658)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1021)
        at org.eclipse.core.runtime.Platform.run(Platform.java:757)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:40)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
        at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:656)
        at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:875)
        at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:974)
        at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
        at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
        at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2894)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2527)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1570)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:306)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
        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.core.launcher.Main.invokeFramework(Main.java:315)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
        at org.eclipse.core.launcher.Main.run(Main.java:942)
        at org.eclipse.core.launcher.Main.main(Main.java:926)
    #234847 Reply

    Brian Fernandes
    Moderator

    Poonam,

    We added a new JSP Designer in M3, and your JSP files are now opening with the new editor by default. We’ll get back to you with more support shortly.

    In the meanwhile, you can still open your file with our “Classic” editor. Right click on the file in the package explorer and choose “Open With > MyEclipse ‘Classic’ JSP Editor”.

    Please let us know if you experience any further issues.

    Sorry for the inconvenience,
    Brian.

    #234856 Reply

    Brian Fernandes
    Moderator

    Pronam,

    It’s likely that you have a milestone build of Eclipse 3.1 and / or installed your own versions of the GEF (and Draw2D) plugin.

    Could you download a copy of Eclipse 3.1 Final and install MyEclipse M3 for that version? When you get it working, you can continue using your old workspace with it.

    Please let us know how it turns out.

    Best,
    Brian.

    #234902 Reply

    Hi Brian,
    I reinstalled Eclipse and MyEclipse. The problem is no longer appearing.

    Thanks
    Pronam

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: JSP Editor does not work in M3 [Closed]

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