This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 2182 - Exception is thrown if breakpoint si added to end of unsaved file.
Summary: Exception is thrown if breakpoint si added to end of unsaved file.
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: L Martinek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-06-10 03:21 UTC by L Martinek
Modified: 2002-07-19 15:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description L Martinek 1999-06-10 03:21:43 UTC
Open some source in editor. Add method and commands to the end of file. Don`t save it.
Toggle breakpoint in any new line at the and.

Exception occurred during event dispatching:
java.lang.IndexOutOfBoundsException: Index: 28, Size: 26
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.<init>(Throwable.java:94)
        at java.lang.Exception.<init>(Exception.java:42)
        at java.lang.RuntimeException.<init>(RuntimeException.java:47)
        at java.lang.IndexOutOfBoundsException.<init>(IndexOutOfBoundsException.java:44)
        at java.util.ArrayList.RangeCheck(ArrayList.java:492)
        at java.util.ArrayList.get(ArrayList.java:306)
        at org.openide.text.DocumentLine$Set.getLine(DocumentLine.java:294)
        at com.netbeans.developer.modules.loaders.java.JavaEditor$8.performAction(JavaEditor.java:551)
        at org.openide.util.actions.CallbackSystemAction.performAction(CallbackSystemAction.java:78)
        at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:69)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1066)

        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
        at org.openide.awt.EnabledButtonModel.setPressed(EnabledButtonModel.java:85)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:217)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
        at java.awt.Component.processMouseEvent(Component.java:3131)
        at java.awt.Component.processEvent(Component.java:2970)
        at java.awt.Container.processEvent(Container.java:988)
        at java.awt.Component.dispatchEventImpl(Component.java:2381)
        at java.awt.Container.dispatchEventImpl(Container.java:1033)
        at java.awt.Comp
Comment 1 Marek Grummich 2000-07-25 09:38:59 UTC
Priority is changed to P4 (normal).