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
URL:
Keywords:
Depends on:
Blocks:
 
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


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

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.




Stacktrace: 
java.lang.IllegalArgumentException
   at java.nio.Buffer.position(Buffer.java:236)
   at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:600)
   at org.netbeans.api.queries.FileEncodingQuery$ProxyCharset$ProxyDecoder.decodeLoop(FileEncodingQuery.java:210)
   at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:561)
   at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:317)
   at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
Comment 1 mawebis 2013-11-19 16:04:10 UTC
Created attachment 142367 [details]
stacktrace
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 
see http://statistics.netbeans.org/exceptions/detail.do?id=205412
Comment 4 Peter Nabbefeld 2015-02-03 14:46:05 UTC
Created attachment 151794 [details]
stacktrace

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.