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: | IllegalArgumentException: Contents must be presorted - added value -2147481642 is less than preceding value 2147480508 | ||
---|---|---|---|
Product: | platform | Reporter: | ekanovi11 |
Component: | Output Window | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ekanovi11, rsodrewong |
Priority: | P1 | ||
Version: | 8.0.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 204240 |
Attachments: |
stacktrace
stacktrace |
Description
ekanovi11
2013-09-28 23:48:57 UTC
Created attachment 140607 [details]
stacktrace
Please, what was shown in the Output Window when the error occurred? Log data from some server, output of some build, or something else? Thank you. I tried to reproduce the bug, but it worked fine for me. There is a limit on number of lines and number of characters, but it probably didn't work correctly in this case, and I cannot find out why. Can you please provide some additional information about the text in Output Window, what produced it, and some basic characteristics? Thank you. The output window became blank, showing nothing at all, no error message, I only found some message at the lower right side saying something like : -2147481642 is less than preceding value 2147480508 This error only occurred recently, last few days. Let's try checking limits after each write. http://hg.netbeans.org/core-main/rev/48329b62697d Thank you for reporting and comments. I'm sorry, I have to revert the fix due to failing tests: http://hg.netbeans.org/core-main/rev/b0f04af68a47 We'll probably need to check the limits before writing. (Maybe the new logging will bring some additional information). Integrated into 'main-silver', will be available in build *201412090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/48329b62697d User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #236507: Check limits after each write This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=204240 Created attachment 151314 [details]
stacktrace
Java IO cannot read spesific line
The problem is that the limit is too high. The limit applies to number of characters, but number of bytes is twice as much (and equals Integer.MAX_VALUE, so in fact is useless). Fixing the default limit on number of characters in Output Window. http://hg.netbeans.org/core-main/rev/a8fd0e51aff5 Integrated into 'main-silver', will be available in build *201507090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a8fd0e51aff5 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #236507: Increase limit on characters in Output Window *** Bug 250984 has been marked as a duplicate of this bug. *** |