facebook

JSP Designer/Editor Error

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #242127 Reply

    dvohra09
    Member

    When a JSP is opened in MyEclipse JSP Designer or MyEclipse Classic JSP Editor an error gets generated:
    An error has occurred when initializing the input for the the editor’s source page.
    at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createPages(HTMLMultiPageEditorPart.java:248)

    #242135

    Brian Fernandes
    Moderator

    Deepak,

    Please follow the instructions here: Posting Guidelines, that will help us run down your issue faster.

    Best,
    Brian.

    #242667

    Kamal
    Member

    Hi ,

    I’m getting following error when i try to open JSP file with “Classic JSP editor”

    OS:Win xp pro
    jdk:1.4.2_10
    Myeclipse:4.0.100 M1
    Eclipse sdk: 3.1.1

    Thanks

    #242668

    Kamal
    Member

    Hi ,

    I’m getting following error when i try to open JSP file with “Classic JSP editor”

    OS:Win xp pro
    jdk:1.4.2_10
    Myeclipse:4.0.100 M1
    Eclipse sdk: 3.1.1

    Thanks

    org.eclipse.ui.PartInitException: The resource index.jsp is already in use by another editor. Simultaneous editor access to this resource is unsupported.
    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:778)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
    at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:279)
    at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:271)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:178)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    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:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    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:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

    #242674

    Brian Fernandes
    Moderator

    Kamalmn,

    As the error log says, do you already have the index.jsp file open in another editor within eclipse? Or did you open it and close it and cannot open again?

    If you close all your editors, restart eclipse and try to open that file with the classic editor – what happens?

    Best,
    Brian.

    #243008

    Kamal
    Member

    Hi Brain,

    Thanks for the hint. It works ! I just restarted myEclipse again.

    Thanks
    -kamal

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: JSP Designer/Editor Error

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