facebook

JSP Editor: Error pressing "delete" key [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #224131 Reply

    Hi!

    On Random, when pressing the “delete” key on my keyboard to delete a selected area of a JSP-file, the editor responds by popping up a dialog that says that the operation could not be performed. When I press “OK”, the selected text is gone, showing that the operation worked ok.

    Sorry if this is a duplicate of an earlier error, couldn’t find anything similar.

    My MyEclipse is version 3.8.4, eclipse version Version: 3.0.1, Build id: 200409161125

    #224148 Reply

    Additional comments on the bug: When the bug appears, saving the file will no longer work. You can edit the file as normal, but I can’t press “delete” and saving doesn’t do anything good (ctrl+s anyway). Only workaround is to close the IDE and restart MyEclipse.

    #224149 Reply

    Riyad Kalla
    Member

    oyvind, check our your log file (workspace dir\.metadata\.log) and see if there are exceptions from the editor that could help us track down what is going on.

    #224150 Reply

    Riyad Kalla
    Member

    Additional comments on the bug: When the bug appears, saving the file will no longer work. You can edit the file as normal, but I can’t press “delete” and saving doesn’t do anything good (ctrl+s anyway). Only workaround is to close the IDE and restart MyEclipse.

    I actually saw this last night with the Java Editor, it was the first time I had ever seen it. Are you sure that simply closing and reopening the editor doesn’t fix the problem?

    #224152 Reply

    Well, here’s something (from the 103MB large log file!)

    !ENTRY org.eclipse.ui 4 4 Feb 01, 2005 12:22:04.46
    !MESSAGE The command for the key you pressed failed

    !ENTRY org.eclipse.ui 4 0 Feb 01, 2005 12:22:04.62
    !MESSAGE The command for the key you pressed failed
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.jface.text.reconciler.AbstractReconciler$Listener.documentChanged(AbstractReconciler.java:236)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument._fireDocumentChanged(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.replaceText(Unknown Source)
    at com.ibm.sse.editor.StructuredDocumentToTextAdapter.replaceTextRange(Unknown Source)
    at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5601)
    at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6441)
    at org.eclipse.swt.custom.StyledText.doDelete(StyledText.java:2632)
    at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:5485)
    at org.eclipse.jface.text.TextViewer.deleteText(TextViewer.java:3528)
    at org.eclipse.jface.text.TextViewer.doOperation(TextViewer.java:3423)
    at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:757)
    at com.ibm.sse.editor.StructuredTextViewer.doOperation(Unknown Source)
    at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:122)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:120)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
    at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:143)
    at org.eclipse.ui.internal.commands.Command.execute(Command.java:132)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:453)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:871)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:912)
    at org.eclipse.ui.internal.keys.OutOfOrderListener.handleEvent(OutOfOrderListener.java:69)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    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_KEYDOWN(Control.java:3517)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:2997)
    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:1473)
    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:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

    !ENTRY org.eclipse.ui 4 4 Feb 01, 2005 12:22:04.390
    !MESSAGE Unhandled event loop exception

    ENTRY org.eclipse.ui 4 0 Feb 01, 2005 12:22:04.390
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.jface.text.reconciler.AbstractReconciler$Listener.documentChanged(AbstractReconciler.java:236)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument._fireDocumentChanged(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.replaceText(Unknown Source)
    at com.ibm.sse.editor.StructuredDocumentToTextAdapter.replaceTextRange(Unknown Source)
    at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5601)
    at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6441)
    at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2536)
    at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:4979)
    at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5002)
    at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    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:1473)
    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:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)
    !SESSION Feb 01, 2005 12:23:51.640 ———————————————
    eclipse.buildId=M200409161125
    java.version=1.5.0_01
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_NO

    There are several of these…

    #224153 Reply

    Riyad Kalla
    Member

    Hrrm, I’ll go ahead and file this and see if we can figure out what is going on. In the mean time the obvious workaround is to stop using your keyboard while programming =/

    Ok well maybe not, we’ll see what we can find 😉

    #224222 Reply

    justinj1
    Member

    I experienced two problems with JSP editor when I installed MyEclipse 3.8.4.
    1. Pressing Delete key on JSP editor pops up error message.
    2. Whatever I type on the JSP editor appeared backward (e.g. typed “ABC”, it appeared as “CBA”.

    What I found out is my PATH environment variable found JDK1.5.0 first. I changed the PATH env. variable to use JDK1.4.1_03 and the above problems were resolved.

    #224223 Reply

    Riyad Kalla
    Member

    Justin,
    This is very interesting as we know Eclipse/MyEclipse are not certified with JDK 5.0 yet but we hadn’t imagined that the side effect would be so drastic. I will pass this along to the rest of the team so they are aware of it. Thanks.

    #224250 Reply

    arjan.tijms
    Member

    @justinj1 wrote:

    2. Whatever I type on the JSP editor appeared backward (e.g. typed “ABC”, it appeared as “CBA”.
    … JDK1.5.0 … use JDK1.4.1_03 … problems were resolved.

    Just for the record, I’ve seen the exact same problem on multiple workstations running different operating systems (mandrake 2.4 kernel/debian 2.6 kernel, w2k and XP) but all with JDK1.4.2_X.

    For me, the JSP editor behaved -far- better when I changed my ‘prelude’ (top) include from static to dynamic inclusion. For some reason, MyEclipse was tagging a lot of errors in my include. The thing was that basically some variables were declared before the included fragment on which it depended. The validator (or partioner or jsp parser) was not picking that up, which in turn seemed to confuse the editor. This confusion resulted in the erratic behaviour I reported earlier.

    #224253 Reply

    Riyad Kalla
    Member

    For me, the JSP editor behaved -far- better when I changed my ‘prelude’ (top) include from static to dynamic inclusion. For some reason, MyEclipse was tagging a lot of errors in my include. The thing was that basically some variables were declared before the included fragment on which it depended. The validator (or partioner or jsp parser) was not picking that up, which in turn seemed to confuse the editor.

    Did you make sure to name the includes with the .jspf extension as the JSP spec suggests you should?

    #225698 Reply

    Zardo
    Member

    I think this is not a problem with jdk 1.5 because I’m using j2sdk 1.4.2_05.
    When I press the delete key, a popup message appears: “The command for the key you pressed failed”.
    If I press any other letter key, the cursor stays in the same position and the next letter comes before the another. (the word became backwards).

    !ENTRY org.eclipse.ui 4 4 Fev 24, 2005 13:40:10.359
    !MESSAGE The command for the key you pressed failed

    !ENTRY org.eclipse.ui 4 0 Fev 24, 2005 13:40:10.375
    !MESSAGE The command for the key you pressed failed
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.jface.text.reconciler.AbstractReconciler$Listener.documentChanged(AbstractReconciler.java:236)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument._fireDocumentChanged(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.replaceText(Unknown Source)
    at com.ibm.sse.editor.StructuredDocumentToTextAdapter.replaceTextRange(Unknown Source)
    at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5601)
    at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6441)
    at org.eclipse.swt.custom.StyledText.doDelete(StyledText.java:2632)
    at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:5485)
    at org.eclipse.jface.text.TextViewer.deleteText(TextViewer.java:3528)
    at org.eclipse.jface.text.TextViewer.doOperation(TextViewer.java:3423)
    at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:757)
    at com.ibm.sse.editor.StructuredTextViewer.doOperation(Unknown Source)
    at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:122)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:120)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
    at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:143)
    at org.eclipse.ui.internal.commands.Command.execute(Command.java:132)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:453)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:871)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:912)
    at org.eclipse.ui.internal.keys.OutOfOrderListener.handleEvent(OutOfOrderListener.java:69)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    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_KEYDOWN(Control.java:3517)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:2997)
    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:1473)
    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:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

    !ENTRY org.eclipse.ui 4 4 Fev 24, 2005 13:40:11.250
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 Fev 24, 2005 13:40:11.265
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.jface.text.reconciler.AbstractReconciler$Listener.documentChanged(AbstractReconciler.java:236)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument._fireDocumentChanged(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.replaceText(Unknown Source)
    at com.ibm.sse.editor.StructuredDocumentToTextAdapter.replaceTextRange(Unknown Source)
    at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5601)
    at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6441)
    at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2536)
    at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:4979)
    at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5002)
    at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    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:1473)
    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:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

    !ENTRY org.eclipse.ui 4 4 Fev 24, 2005 13:40:27.343
    !MESSAGE The command for the key you pressed failed

    !ENTRY org.eclipse.ui 4 0 Fev 24, 2005 13:40:27.343
    !MESSAGE The command for the key you pressed failed
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.jface.text.reconciler.AbstractReconciler$Listener.documentChanged(AbstractReconciler.java:236)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument._fireDocumentChanged(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.replaceText(Unknown Source)
    at com.ibm.sse.editor.StructuredDocumentToTextAdapter.replaceTextRange(Unknown Source)
    at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5601)
    at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6441)
    at org.eclipse.swt.custom.StyledText.doDelete(StyledText.java:2632)
    at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:5485)
    at org.eclipse.jface.text.TextViewer.deleteText(TextViewer.java:3528)
    at org.eclipse.jface.text.TextViewer.doOperation(TextViewer.java:3423)
    at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:757)
    at com.ibm.sse.editor.StructuredTextViewer.doOperation(Unknown Source)
    at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:122)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:120)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
    at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:143)
    at org.eclipse.ui.internal.commands.Command.execute(Command.java:132)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:453)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:871)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:912)
    at org.eclipse.ui.internal.keys.OutOfOrderListener.handleEvent(OutOfOrderListener.java:69)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    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_KEYDOWN(Control.java:3517)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:2997)
    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:1473)
    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:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)- System Setup ——————————-
    Operating System and version:
    Eclipse version:
    Eclipse build id:
    Fresh Eclipse install (y/n):
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
    MyEclipse version:
    Eclipse JDK version:
    Application Server JDK version:
    Are there any exceptions in the Eclipse log file?

    If this is a DB related question please answer the following:

    RDBMS vendor and version:
    JDBC driver vendor and version, and access type (thin, type-2, etc):
    Connection URL:
    Eclipse error logs related to com.genuitec.eclipse.sqlexplorer packages:

    – Message Body ——————————-

    #225703 Reply

    Riyad Kalla
    Member

    Zardo,
    Which editor are you in? Is this while editing HTML?

    Our HTML editor/designer is going to be completely rewritten for the next release, so we may need to ask you to hold off and wait for that release for a fix. Additionally another user ran into similar problems with 3.8.4 and said 3.8.3 did not have these problems, maybe downgrading if necessary may help OR associating your HTML files with a different editor (like the JSP Editor) temporarily.

    #226078 Reply

    clone92
    Member

    I’m using MyEclipse 3.8.4 and JDK1.4.2 on XP SP2. I’m getting this error when editing java files, copying & pasting and formatting using keyboard shortcuts. Interestingly I’ve been using 3.8.4 for a few weeks and I can’t remember if I had this problem from when I initially started using 3.8.4, I suspect not, but anyway it’s virtually unbearable now. I have to retype! It’s just not natural.

    I would give you specifics but I’m copying and pasting chunks of text between text files, JSP’s and Java files and its just “Error Executing Command” heaven for me 🙁

    Strangely it seems to let you paste into a javadoc comment.

    #226083 Reply

    Riyad Kalla
    Member

    Guys I am bumping this priority to P1 for us, it is rediculous that so many of you are experiencing this maddening problem.

    #226400 Reply

    Dana Danet
    Member

    Not much more to add to this thread other than one additional oddity.

    When editing html files using default editor and then trying to save I get the error below. Additionally I can continually reproduce this:

    1. I delete the “html” file from my eclipse project.
    2. Recreating the file with a different editor with the changes I want.
    3. Shut down eclipse, verify file is missing from my project.
    4. Add the file to the filesystem in my project.
    5. Start myEclipse.
    6. Refresh my project structure, file shows up.
    7. Open file, and changes are not present.
    8. It seems that myEclipse is viewing some type of cache copy of old file.

    See below for exception trace.

    !ENTRY org.eclipse.ui 4 0 Mar 09, 2005 07:22:20.262
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.jface.text.reconciler.AbstractReconciler$Listener.documentChanged(AbstractReconciler.java:236)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument._fireDocumentChanged(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.replaceText(Unknown Source)
    at com.ibm.sse.editor.StructuredDocumentToTextAdapter.replaceTextRange(Unknown Source)
    at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5601)
    at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6441)
    at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2536)
    at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:4979)
    at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5002)
    at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    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:1473)
    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(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:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

Viewing 15 posts - 1 through 15 (of 23 total)
Reply To: JSP Editor: Error pressing "delete" key [Closed]

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