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 238566 - IllegalArgumentException at java.nio.Buffer.position
Summary: IllegalArgumentException at java.nio.Buffer.position
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2013-11-19 16:04 UTC by mawebis
Modified: 2017-02-21 10:09 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205412

stacktrace (1.37 KB, text/plain)
2013-11-19 16:04 UTC, mawebis
stacktrace (1.37 KB, text/plain)
2015-02-03 14:46 UTC, Peter Nabbefeld

Note You need to log in before you can comment on or make changes to this bug.
Description mawebis 2013-11-19 16:04:08 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
mawebis: I try open my project properities and nothing open, only netbeans show me this error message.

   at java.nio.Buffer.position(
   at java.nio.charset.CharsetDecoder.decode(
   at org.netbeans.api.queries.FileEncodingQuery$ProxyCharset$ProxyDecoder.decodeLoop(
   at java.nio.charset.CharsetDecoder.decode(
   at sun.nio.cs.StreamDecoder.implRead(
Comment 1 mawebis 2013-11-19 16:04:10 UTC
Created attachment 142367 [details]
Comment 2 Milos Kleint 2013-12-30 09:36:04 UTC
likely related to issue 238200
Comment 3 Exceptions Reporter 2014-11-27 15:01:08 UTC
This bug already has 5 duplicates 
Comment 4 Peter Nabbefeld 2015-02-03 14:46:05 UTC
Created attachment 151794 [details]

Tried to open an XML file with invalid UTF-8 characters.

There's a dialog to accept opening with invalid characters, when I click on "OK" I get this exception instead of an editor window. The characters cannot be corrected (in NetBeans), because the file cannot be opened.