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 at java.nio.Buffer.position | ||
---|---|---|---|
Product: | platform | Reporter: | Alexander Simon <alexvsimon> |
Component: | -- Other -- | Assignee: | Theofanis Oikonomou <theofanis> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexvsimon, Alniks, dobs, hryhoriy, JPESKA, nysander, rickqin, saubrecht, soldatov |
Priority: | P2 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 194431 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace patch |
Description
Alexander Simon
2012-11-02 09:47:47 UTC
Created attachment 126976 [details]
stacktrace
Created attachment 126985 [details]
stacktrace
Created attachment 127002 [details]
stacktrace
Created attachment 132619 [details]
stacktrace
*** Bug 227433 has been marked as a duplicate of this bug. *** This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=194431 Fanis, please take this one. This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=194431 Created attachment 145347 [details]
patch
Only 5 of the reports do not come from TodoTaskScanner and none of them are from beta or dev builds. All the rest reports come from TodoTaskScanner.
I am not sure what is the root of the issue but I guess is the way the buffer is read into from org.netbeans.api.queries.FileEncodingQuery$ProxyCharset$ProxyDecoder.decodeLoop
I am attaching a fix. Honzo, if you are ok with it I will push the fix
Changeset: adae2c1c5e4c Author: Theofanis Oikonomou <theofanis@netbeans.org> Date: 2014-02-18 12:16 Message: TodoTaskScanner handles the situation more gracefully now. The problem might still be present in org.netbeans.api.queries.FileEncodingQuery$ProxyCharset$ProxyDecoder.decodeLoop I guess... Integrated into 'main-silver', will be available in build *201402190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/adae2c1c5e4c User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Task #221324 - IllegalArgumentException at java.nio.Buffer.position |