Menu

#43 cannot save a JSP file

open
nobody
jsp (21)
5
2004-06-30
2004-06-30
No

Fresh install if Eclipse 3.0 and SolarEclipse 0.4.1. I
can open a JSP in the JSP editor and the syntax is
colored appropriately. If I attempt to save the file, I
get the following error: Save failed:
org.eclipse.ui.texteditor.AbstractTextEditor.createSaveOperation(Z)Lo

There might be more, but that's all I can see in the
dialog.

Discussion

  • Raj Bhaskar

    Raj Bhaskar - 2004-07-07

    Logged In: YES
    user_id=662712

    I get the same error with Eclipse 3.0 and SE0.4.1 on Windows
    2000 (pro) SP3. This makes SolarEclipse just about useless,
    really.

     
  • Raj Bhaskar

    Raj Bhaskar - 2004-07-07

    Logged In: YES
    user_id=662712

    Checking the .log file gives the following stacktrace:

    !ENTRY org.eclipse.ui 2 0 Jul 07, 2004 12:51:33.609
    !MESSAGE Save Failed
    !STACK 0
    java.lang.NoSuchMethodError:
    org.eclipse.ui.texteditor.AbstractTextEditor.createSaveOperation(Z)Lorg/eclipse/ui/actions/WorkspaceModifyOperation;
    at
    net.sf.solareclipse.editor.I18NTextEditor.doSave(I18NTextEditor.java:65)
    at
    org.eclipse.ui.internal.EditorManager$12.run(EditorManager.java:1160)
    at
    org.eclipse.ui.internal.EditorManager$10.run(EditorManager.java:1015)
    at
    org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:303)
    at
    org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253)
    at
    org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:588)
    at
    org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at
    org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:585)
    at
    org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1653)
    at
    org.eclipse.ui.internal.EditorManager.runProgressMonitorOperation(EditorManager.java:1021)
    at
    org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1165)
    at
    org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:2539)
    at
    org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:2551)
    at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:69)
    at
    org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
    at
    org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:141)
    at
    org.eclipse.ui.internal.commands.Command.execute(Command.java:132)
    at
    org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:471)
    at
    org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:889)
    at
    org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:930)
    at
    org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:548)
    at
    org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(WorkbenchKeyboard.java:496)
    at
    org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(WorkbenchKeyboard.java:261)
    at
    org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at
    org.eclipse.swt.widgets.Display.filterEvent(Display.java:740)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:795)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
    at
    org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1734)
    at
    org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1730)
    at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3067)
    at
    org.eclipse.swt.widgets.Control.windowProc(Control.java:2970)
    at
    org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
    at
    org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
    Method)
    at
    org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1467)
    at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2429)
    at
    org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at
    org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at
    org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at
    org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at
    org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    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.basicRun(Main.java:183)
    at org.eclipse.core.launcher.Main.run(Main.java:644)
    at org.eclipse.core.launcher.Main.main(Main.java:628)

     
  • Nobody/Anonymous

    Logged In: NO

    What I have been doing is you can do 'Save As' on your
    jsp/xml file and then replace the old one.

    Saving this way works (even though it is HIGHLY annoying).

     
  • Jim Faut

    Jim Faut - 2004-07-14

    Logged In: YES
    user_id=1080534

    I had the same problem with CSS and XML files as well

     
  • Jim Stringer

    Jim Stringer - 2004-07-20

    Logged In: YES
    user_id=906644

    Same thing happens with xml files with Eclipse 3.0 and
    SolarEclipse 0.4.1

     
  • itsp

    itsp - 2004-08-04

    Logged In: YES
    user_id=1093599

    I have the same problem. the full message text is:
    Save
    failed:org.eclipse.ui.TextEditor.AbstractTextEditor.createSaveOperation
    (Z)Lorg/eclipse/ui/actions/WorkspaceModifyOperation

     
  • Ricardo Gladwell

    Logged In: YES
    user_id=61769

    I have a patch but I cannot figure out how to add it to this
    bug?

     
  • Matthijs Wensveen

    Logged In: YES
    user_id=823008

    I've tried to compile this plugin manually, but I didn't
    succeed because of dependencies on deprecated API's.
    Worse, having SolarEclipse installed it's impossible to save
    xml files, even with other editors than SolarEclipse. Just
    having it installed screws up my installation.

     
  • Ricardo Gladwell

    Logged In: YES
    user_id=61769

    This bug has been fixed in ServerEclipse, a branch of the
    un-supported SolarEclipse platform that supports Eclipse
    3.0. Please un-install SolarEclipse and download the latest
    version of ServerEclipse from:

    http://servereclipse.sourceforge.net/

     

Log in to post a comment.