Menu

#5 Moving more than 13 lines of code crashes editor

v0.1.2
open
JSP Editor (5)
5
2004-10-05
2004-09-30
No

Eclipse Build
Version: 3.0.1
Build id: 200409010800

When doing a Shift Right or Shift Left operation on 14
or more lines of text, I'm getting the following exception:

!ENTRY org.eclipse.ui 4 4 Sep 30, 2004 14:01:22.991
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 Sep 30, 2004 14:01:22.991
!MESSAGE java.lang.NegativeArraySizeException
!STACK 0
java.lang.NegativeArraySizeException
at java.lang.StringBuffer.<init>(Unknown Source)
at
net.sf.servereclipse.ui.text.rules.OuterDocumentView$TextStore.get(OuterDocumentView.java:82)
at
net.sf.servereclipse.ui.text.rules.OuterDocumentView.<init>(OuterDocumentView.java:149)
at
net.sf.servereclipse.ui.text.rules.MultiViewPartitioner.setOuterPartitioner(MultiViewPartitioner.java:88)
at
net.sf.servereclipse.ui.text.rules.MultiViewPartitioner.connect(MultiViewPartitioner.java:197)
at
org.eclipse.jface.text.TextUtilities.addDocumentPartitioners(TextUtilities.java:340)
at
org.eclipse.jface.text.TextViewer.shift(TextViewer.java:3732)
at
org.eclipse.jface.text.TextViewer.doOperation(TextViewer.java:3433)
at
org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:757)
at
org.eclipse.ui.texteditor.ShiftAction$1.run(ShiftAction.java:85)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.ui.texteditor.ShiftAction.run(ShiftAction.java:83)
at
org.eclipse.ui.texteditor.AbstractTextEditor$ActivationCodeTrigger.verifyKey(AbstractTextEditor.java:604)
at
org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:403)
at
org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:55)
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.Widget.notifyListeners(Widget.java:613)
at
org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5000)
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: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:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)

Discussion

  • Ricardo Gladwell

    • assigned_to: nobody --> axonrg
     
  • Ricardo Gladwell

    Logged In: YES
    user_id=61769

    I cannot seem to reproduce this issue at the moment. If you
    could let me know what platform you are running this on,
    version of Java, version of Eclipse I can more closely try
    to simulate the issue. Also, if you could attach the
    specific document where this error is occuring to this
    issue, that would be most helpful.

     

Log in to post a comment.

MongoDB Logo MongoDB