facebook

File–>Save As does NOT work for JSP files [Closed]

💡
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 Archived
  2.  > 
  3. Bugs
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #207284 Reply

    jiankuan
    Member

    hi,

    I am new to Eclipse/MyEclipse plug-in.

    I am using Eclipse 3M8 and MyEclipse 3.7.2 plugin.
    My Java is JDK1.4.2 and My OS is WinXP.

    After installing MyEclipse, for JSP files, “File->save as” stops
    working—>basically, whenever u want to save a jsp file with
    a new name, there is NO reaction–>Eclipse just ignores the
    command. (before the installation of
    MyEclipse, it worked).

    Any advice/help/fix on this is greatly appreciated.

    jk

    #207295

    Riyad Kalla
    Member

    I was not able to reproduce this on my setup, so lets check your log file and see if anything strange is going on. Its located at <workspace dir>\.metadata\.log, paste any exceptions you find near the end of it in here for us to look at. Preferablly starting with a line that looks like “!SESSION——–” which marks when you started using that particular session of Eclipse.

    What might help is restarting Eclipse, then doing Save As a few times, THEN grabbing the newest SESSION entry from the log file and pasting it here.

    #207337

    jiankuan
    Member

    First, thank you for the help.

    Following ur advice, I closed down then restarted eclipse, then did the File-Save as for a JSP file, it failed again. (Eclipse just ignored the command) following is what I got from the .log file:

    !SESSION May 21, 2004 10:55:03.466 ———————————————
    java.version=1.4.2
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    !ENTRY org.eclipse.osgi May 21, 2004 10:55:03.476
    !MESSAGE Bundle reference:file:c:/eclipse/plugins/org.eclipse.debug.ui_3.0.0/ [19] was not resolved
    !ENTRY org.eclipse.osgi May 21, 2004 10:55:03.476
    !MESSAGE Bundle reference:file:c:/eclipse/plugins/org.eclipse.jdt.debug_3.0.0/ [28] was not resolved
    !ENTRY org.eclipse.ui 4 4 May 21, 2004 10:55:38.66
    !MESSAGE Unhandled event loop exception
    !ENTRY org.eclipse.ui 4 0 May 21, 2004 10:55:38.66
    !MESSAGE Attempted to beginRule: R/, does not match outer scope rule: F/ct3220/src/webmodule/jsp
    !STACK 0
    java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: F/ct3220/src/webmodule/jsp
    at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:56)
    at org.eclipse.core.internal.jobs.ImplicitJobs$ThreadJob.illegalPush(ImplicitJobs.java:86)
    at org.eclipse.core.internal.jobs.ImplicitJobs$ThreadJob.push(ImplicitJobs.java:167)
    at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:241)
    at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:149)
    at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:88)
    at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1521)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1554)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1578)
    at org.eclipse.ui.dialogs.ContainerGenerator.generateContainer(ContainerGenerator.java:138)
    at org.eclipse.ui.editors.text.FileDocumentProvider.doSaveDocument(FileDocumentProvider.java:507)
    at org.eclipse.ui.texteditor.AbstractDocumentProvider$1$SaveOperation.execute(AbstractDocumentProvider.java:611)
    at org.eclipse.ui.texteditor.AbstractDocumentProvider$DocumentProviderOperation.run(AbstractDocumentProvider.java:72)
    at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:67)
    at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:91)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1559)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:105)
    at org.eclipse.ui.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:73)
    at org.eclipse.ui.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:63)
    at org.eclipse.ui.texteditor.AbstractDocumentProvider.executeOperation(AbstractDocumentProvider.java:545)
    at org.eclipse.ui.texteditor.AbstractDocumentProvider.saveDocument(AbstractDocumentProvider.java:620)
    at org.eclipse.ui.editors.text.TextEditor.performSaveAs(TextEditor.java:175)
    at org.eclipse.ui.texteditor.AbstractTextEditor.doSaveAs(AbstractTextEditor.java:2886)
    at de.bb.bje.eclipse.editors.JspMultiPageEditor.doSaveAs(Unknown Source)
    at org.eclipse.ui.internal.SaveAsAction.run(SaveAsAction.java:64)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:550)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:502)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:435)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2578)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2256)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1562)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117)
    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.basicRun(Main.java:267)
    at org.eclipse.core.launcher.Main.run(Main.java:692)
    at org.eclipse.core.launcher.Main.main(Main.java:676)

    #207343

    Scott Anderson
    Participant

    I reproduced this problem on ME 3.7.2. It looks like an interaction problem between the editor and the constantly moving target of how the background threads are working today. I logged it as a bug and we hope to have it fixed by the time our M9-compatible build is ready. Thanks for reporting it. In the meantime, the workaround is to right-click on the file you’d like to rename and select ‘Rename…’.

    #207351

    jiankuan
    Member

    Thanks scott. Looking forward to the next release then.

    jk

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: File–>Save As does NOT work for JSP files [Closed]

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