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 225363 - [73cat] IndexOutOfBoundsException: View index=1 >= 1
Summary: [73cat] IndexOutOfBoundsException: View index=1 >= 1
Status: RESOLVED DUPLICATE of bug 225451
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-25 17:41 UTC by misterm
Modified: 2013-02-06 14:37 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 195584


Attachments
stacktrace (4.71 KB, text/plain)
2013-01-25 17:41 UTC, misterm
Details
stacktrace (4.70 KB, text/plain)
2013-02-01 12:07 UTC, akobberup
Details
stacktrace (4.60 KB, text/plain)
2013-02-03 12:40 UTC, medeag
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2013-01-25 17:41:26 UTC
Build: NetBeans IDE Dev (Build 20130125-7919c44adcc6)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7

User Comments:
msk: I got this error when pressed
"ctrl + x" on selected condition ( if (condition) {} )




Stacktrace: 
java.lang.IndexOutOfBoundsException: View index=1 >= 1
   at org.netbeans.modules.editor.lib2.view.ParagraphView.getEditorView(ParagraphView.java:228)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:871)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:735)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:689)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.updateViewsByModification(ViewUpdates.java:311)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.insertUpdate(ViewUpdates.java:247)
Comment 1 misterm 2013-01-25 17:41:29 UTC
Created attachment 130668 [details]
stacktrace
Comment 2 bht 2013-01-31 09:27:49 UTC
After the exception, I had a modified file, lost my edits partially but could not revert back because undo was broken.
Comment 3 Exceptions Reporter 2013-01-31 12:19:53 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=195584
Comment 4 akobberup 2013-02-01 12:07:52 UTC
Created attachment 130925 [details]
stacktrace
Comment 5 medeag 2013-02-03 12:40:58 UTC
Created attachment 130962 [details]
stacktrace
Comment 6 Miloslav Metelka 2013-02-06 14:37:31 UTC
Should be dup of issue #225451 (already resolved in Dev and release73).

*** This bug has been marked as a duplicate of bug 225451 ***