facebook

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

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

    Riyad Kalla
    Member

    ddanet,
    I wasn’t able to reproduce this, the modifications made by (TextPad in my case) external editor showed up in the file once I refreshed and opened it. Can you do a File > Switch Workspace and try this with a new Web Project, the same steps, and see if it still happens? I wonder if it is a stale local history for your workspace or something…

    #226701 Reply

    Is there a fix for this? I get this error alot using XP SP2 using MyEclipseIDE 3.8.3

    !ENTRY org.eclipse.ui 4 0 Mar 15, 2005 09:15:54.152
    !MESSAGE The command for the key you pressed failed
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.jdt.internal.ui.text.comment.CommentFormattingStrategy.format(CommentFormattingStrategy.java:138)
    at org.eclipse.jface.text.formatter.MultiPassContentFormatter.formatSlave(MultiPassContentFormatter.java:220)
    at org.eclipse.jface.text.formatter.MultiPassContentFormatter.formatSlaves(MultiPassContentFormatter.java:267)
    at org.eclipse.jface.text.formatter.MultiPassContentFormatter.format(MultiPassContentFormatter.java:143)
    at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:722)
    at org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1410)
    at org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer.doOperation(JavaSourceViewer.java:152)
    at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:199)
    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.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:530)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(WorkbenchKeyboard.java:478)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(WorkbenchKeyboard.java:243)
    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: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:638)
    at org.eclipse.core.launcher.Main.main(Main.java:622)

    #226709 Reply

    Riyad Kalla
    Member

    For what? The delete-key problem?

    #234654 Reply

    ndenkha
    Member

    Has this been fixed or has a work around? its very annoying to keep restarting the ide.

    #234664 Reply

    Riyad Kalla
    Member

    This should be fixed in M3, but double check us when it is released next week and try it out and see if it is infact fixed.

    #234727 Reply

    dhoff
    Member

    I’m getting the same editor bugs… delete key did not complete normally due to NullPointerException and then backwards typing, not able to save document with changes, the editor does remember the (cached?)changes even after closing and opening the document but reports errors based on the real unchanged state of the jsp. If you need more log files or data, let me know. I’m using MyEclipse 4.0 Milestone 2, JDK 1.5.0_04, and XP SP2.

    #234906 Reply

    Riyad Kalla
    Member

    Please upgrade to M3 and double check us to see that it is fixed. A newsletter should go out soon with directions on how to do that.

    #234940 Reply

    dhoff
    Member

    M3 fixed it. Thanks.

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

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