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 - IllegalArgumentException: Illegal bounds: <20209,20385> outside of <20388,21668>
Summary: IllegalArgumentException: Illegal bounds: <20209,20385> outside of <20388,21668>
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal with 2 votes (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
: 240622 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-12 22:12 UTC by deep_pl
Modified: 2015-06-29 14:33 UTC (History)
26 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 201592


Attachments
stacktrace (6.32 KB, text/plain)
2013-09-12 22:12 UTC, deep_pl
Details
stacktrace (6.21 KB, text/plain)
2014-02-27 20:36 UTC, Jesse Glick
Details
stacktrace (7.12 KB, text/plain)
2014-02-28 14:48 UTC, Jesse Glick
Details
stacktrace (6.34 KB, text/plain)
2014-11-07 15:36 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
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.