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

Summary: IllegalArgumentException at java.nio.Buffer.position
Product: projects Reporter: mawebis
Component: Generic InfrastructureAssignee: Tomas Stupka <tstupka>
Status: NEW ---    
Severity: normal CC: CreeTar, epdv, mariol, peterhull90
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 205412
Attachments: stacktrace
stacktrace

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.