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 235906

Summary: IllegalArgumentException: Illegal bounds: <20209,20385> outside of <20388,21668>
Product: editor Reporter: deep_pl
Component: Painting & PrintingAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED FIXED    
Severity: normal CC: 3rik, AIML_Engr, anton0xf, artavazd, Avaer, brezuicabogdan, cunneen, dengr, duke, exceptions_reporter, Forseti, hamzaze, jglick, Leuchte, localhorst, MacDada, miteshthakur, mmirilovic, PolesApart, prodigy4440, qingyue, sdmarshall73, sonamarora624, vanwinter, Vark, vinkler3k
Priority: P2    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 201592
Attachments: stacktrace
stacktrace
stacktrace
stacktrace

Description deep_pl 2013-09-12 22:12:13 UTC
Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
deep_pl: javascript

deep_pl: javascript

GUEST: Opening a CSS file

GUEST: running WRO4J v1.7.x from command line against the local html5 project.

GUEST: I paste html with base64 encoded image into html file




Stacktrace: 
java.lang.IllegalArgumentException: Illegal bounds: <20209,20385> outside of <20388,21668>
   at org.netbeans.modules.editor.lib2.view.ViewUtils.checkFragmentBounds(ViewUtils.java:402)
   at org.netbeans.modules.editor.lib2.view.HighlightsView.createFragment(HighlightsView.java:261)
   at org.netbeans.modules.editor.lib2.view.WrapInfoUpdater.createFragment(WrapInfoUpdater.java:525)
   at org.netbeans.modules.editor.lib2.view.WrapInfoUpdater.removeViewsAndSplitAtWordStart(WrapInfoUpdater.java:422)
   at org.netbeans.modules.editor.lib2.view.WrapInfoUpdater.initWrapInfo(WrapInfoUpdater.java:187)
   at org.netbeans.modules.editor.lib2.view.ParagraphViewChildren.buildWrapLines(ParagraphViewChildren.java:386)
Comment 1 deep_pl 2013-09-12 22:12:15 UTC
Created attachment 140015 [details]
stacktrace
Comment 2 Jesse Glick 2014-02-27 20:36:06 UTC
Created attachment 145645 [details]
stacktrace

Opening a large *.json file.
Comment 3 Jesse Glick 2014-02-28 14:48:18 UTC
Created attachment 145668 [details]
stacktrace

Loading a large file in the editor and jumping to the end.
https://raw.github.com/jenkinsci/jenkins/a0d6e5286d9412c929335a985af8caa1d961d5a4/test/src/test/resources/hudson/model/update-center.json.html
Comment 4 Jesse Glick 2014-11-07 15:36:03 UTC
It is normal that a bug with a stack trace and 151 duplicates should be open for over a year without so much as a comment?
Comment 5 Jesse Glick 2014-11-07 15:36:40 UTC
Created attachment 150356 [details]
stacktrace

Opened a findbugsXml.xml file, one large XML file with few newlines. Was not editing it. In this case the file was already open from a previous IDE session and I got the exception merely by switching to that editor tab.
Comment 6 Marian Mirilovic 2015-02-04 06:27:25 UTC
204 duplicates and still coming -> P2
Comment 7 Ralph Ruijs 2015-06-04 08:56:15 UTC
*** Bug 240622 has been marked as a duplicate of this bug. ***
Comment 8 Ralph Ruijs 2015-06-29 14:33:49 UTC
changeset:   38c9d2c0bb03
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Mon Jun 29 15:20:31 2015 +0200
summary:     235906 - init child vars after removing startPart.