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 251920 - IllegalArgumentException: Contents must be presorted - added value 152575 is less than preceding value 987922
Summary: IllegalArgumentException: Contents must be presorted - added value 152575 is ...
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-18 08:28 UTC by Exceptions Reporter
Modified: 2015-08-13 09:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216833


Attachments
stacktrace (2.85 KB, text/plain)
2015-04-18 08:28 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-04-18 08:28:55 UTC
This bug was originally marked as duplicate of bug 201450, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 7

User Comments:
GUEST: when I run the code that use java.nio to read a large file, it shows java result:-1




Stacktrace: 
java.lang.IllegalArgumentException: Contents must be presorted - added value 152575 is less than preceding value 987922
   at org.netbeans.core.output2.IntList.add(IntList.java:76)
   at org.netbeans.core.output2.AbstractLines.addTabAt(AbstractLines.java:1294)
   at org.netbeans.core.output2.OutWriter.doWrite(OutWriter.java:456)
   at org.netbeans.core.output2.OutWriter.print(OutWriter.java:568)
   at org.netbeans.core.output2.ErrWriter.print(ErrWriter.java:211)
   at org.netbeans.core.output2.ErrWriter.println(ErrWriter.java:165)
Comment 1 Exceptions Reporter 2015-04-18 08:28:58 UTC
Created attachment 153257 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-08-13 09:22:45 UTC
I'm sorry, I cannot reproduce this bug.

> when I run the code that use java.nio to read a large file, it shows java 
> result:-1
Was this a binary or textual file?

Can you please provide a test case (sample code, or the output contents)?

Thank you.