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.
Summary: | IlegalArgumentException - added value -2147319128 is less than preceding value 2147410424 | ||
---|---|---|---|
Product: | platform | Reporter: | mimotti |
Component: | Output Window | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alied, exceptions_reporter |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | HP | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | java.lang.Illegal argumentException:Illogical text range from -107540693 to -107540693 |
Description
mimotti
2010-05-04 22:03:56 UTC
Created attachment 98465 [details]
java.lang.Illegal argumentException:Illogical text range from -107540693 to -107540693
Integer overflow. Problems start at Contents must be presorted - added value -2147319128 is less than preceding value 2147410424 at org.netbeans.core.output2.IntList.add(IntList.java:70) at org.netbeans.core.output2.AbstractLines.lineUpdated(AbstractLines.java:597) at org.netbeans.core.output2.OutWriter.write(OutWriter.java:207) at org.netbeans.core.output2.OutWriter.doWrite(OutWriter.java:411) at org.netbeans.core.output2.OutWriter.println(OutWriter.java:435) at org.netbeans.core.output2.OutWriter.println(OutWriter.java:318) at org.netbeans.core.output2.NbWriter.println(NbWriter.java:163) Output does not handle more than Integer.MAX_VALUE characters. In the https://netbeans.org/bugzilla/attachment.cgi?id=98299 (attachment to issue #185284) there are also associated exceptions: java.lang.IllegalArgumentException: Illogical text range from -1073540693 to -1073540693 at org.netbeans.core.output2.AbstractLines.getText(AbstractLines.java:108) at org.netbeans.core.output2.OutputDocument.getText(OutputDocument.java:203) at org.netbeans.core.output2.WrappedTextView.paint(WrappedTextView.java:281) ... http://hg.netbeans.org/core-main/rev/6354fcc2ffea Fixed. Number of lines and characters in Output window is now limited. See also bug 228022. *** Bug 228914 has been marked as a duplicate of this bug. *** *** Bug 229593 has been marked as a duplicate of this bug. *** |