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 226254 - IllegalArgumentException: Illegal bounds: <10414,10422> outside of <10423,10447>
Summary: IllegalArgumentException: Illegal bounds: <10414,10422> outside of <10423,10447>
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 228429 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-18 07:53 UTC by qingyue
Modified: 2013-11-14 14:47 UTC (History)
15 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197765


Attachments
stacktrace (5.48 KB, text/plain)
2013-02-18 07:53 UTC, qingyue
Details
classpath.txt (2.21 KB, text/plain)
2013-09-20 23:12 UTC, _ gtzabari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description qingyue 2013-02-18 07:53:29 UTC
Build: NetBeans IDE 7.3 RC2 (Build 201302050851)
VM: Java HotSpot(TM) Client VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows XP

User Comments:
GUEST: problem after first running of program

GUEST: Tried to paste a xml document in an new well-formed XML file.

GUEST: Clicking on search query results (find in projects)

GUEST: Moved the cursor to the editor area, what is completely gray due to some error opening the file from the search results with double clicking on its name.




Stacktrace: 
java.lang.IllegalArgumentException: Illegal bounds: <10414,10422> outside of <10423,10447>
   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 qingyue 2013-02-18 07:53:32 UTC
Created attachment 131516 [details]
stacktrace
Comment 2 maxevron 2013-05-27 12:16:12 UTC
Issue repeated each week at work. Wonder if I will not uninstall IDE 7.3 and go back to IDE 7.2 more stable as I need to close and restart NetBeans each time this problem occurs. Each time, the IDE is not available for 4 minutes, time required to examine my projects...
Comment 3 Miloslav Metelka 2013-08-27 10:01:49 UTC
(In reply to maxevron from comment #2)
> Issue repeated each week at work. Wonder if I will not uninstall IDE 7.3 and
> go back to IDE 7.2 more stable as I need to close and restart NetBeans each
> time this problem occurs. Each time, the IDE is not available for 4 minutes,
> time required to examine my projects...

If the problem occurs on a particular source file would it be possible to attach it to the issue? Thanks.
Comment 4 Miloslav Metelka 2013-08-27 13:32:43 UTC
*** Bug 228429 has been marked as a duplicate of this bug. ***
Comment 5 _ gtzabari 2013-09-20 23:12:16 UTC
Created attachment 140323 [details]
classpath.txt

To reproduce this issue, simply open classpath.txt in the editor and hit CTRL+H. An exception will be thrown.
Comment 6 frdani 2013-10-09 18:56:28 UTC
UPDATE:
seems that the problem is only present when there is a mono application running.
After closing Tomboy the scrolling issue was gone. 
Tried it twice and works, when Tomboy is running the scrolling problem comes back and the Exception is show.
Hope it helps.
Comment 7 _ gtzabari 2013-10-09 19:00:58 UTC
I am certainly not running any Mono applications. Did anyone try repro steps I mentioned above?
Comment 8 frdani 2013-10-09 19:19:11 UTC
For me the exeption is thrown when I keep a long less file open and the editor opens it on start.
Comment 9 frdani 2013-10-09 19:21:24 UTC
Comment on attachment 140323 [details]
classpath.txt

I opened it and pressed CTRL-H but there is no Exception.
Comment 10 _ gtzabari 2013-10-09 19:30:01 UTC
Agreed. I can no longer reproduce this problem as of build 201310050001.
Comment 11 Miloslav Metelka 2013-11-14 14:47:33 UTC
Ok marked as fixed. If the problem reappears please reopen.