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 269695 - java.nio.charset.MalformedInputException: Input length = 1
Summary: java.nio.charset.MalformedInputException: Input length = 1
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-31 20:33 UTC by Exceptions Reporter
Modified: 2017-04-13 10:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 227884


Attachments
stacktrace (2.98 KB, text/plain)
2017-01-31 20:33 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2017-01-31 20:33:37 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Linux

User Comments:
GUEST: Happened when I launched the program




Stacktrace: 
java.nio.charset.MalformedInputException: Input length = 1
   at java.nio.charset.CoderResult.throwException(CoderResult.java:281)
   at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
   at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
   at java.io.InputStreamReader.read(InputStreamReader.java:184)
   at java.io.BufferedReader.fill(BufferedReader.java:161)
   at java.io.BufferedReader.readLine(BufferedReader.java:324)
Comment 1 Exceptions Reporter 2017-01-31 20:33:39 UTC
Created attachment 163520 [details]
stacktrace
Comment 2 Vladimir Kvashin 2017-03-23 12:31:31 UTC
That's just incorrect error processing.

Magic cache can be corrupted, for example, if during previous run IDE was killed; the method should just return false instead of displaying exception to user.
Comment 3 Vladimir Kvashin 2017-03-23 12:35:36 UTC
Fixed, change set 1aa5f13978e3 on enum
Comment 4 Quality Engineering 2017-04-02 02:36:33 UTC
Integrated into 'main-silver', will be available in build *201704020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/103d6228a8b3
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: Fixed #269695 - java.nio.charset.MalformedInputException: Input length = 1
(transplanted from 1aa5f13978e38ac8324969db7197155fe95c77bb)
Comment 5 ilia 2017-04-13 10:38:13 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=269695 Changesets:
    http://hg.netbeans.org/releases/rev/1aa5f13978e3 # Fixed #269695 - java.nio.charset.MalformedInputException: Input length = 1