You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Christoph Englmann <Ch...@gmx.de> on 2022/01/27 08:50:06 UTC
java.nio.charset.MalformedInputException Error when changing from JDK8 to JDK 11
Hello,
I have a project in JAVA 8, that works just fine.
Now I have to port the jdk from 8 to 11.
So I changed the Java Platform from JDK 1.8 to JDK 11 in the Project
Properties.
Debugging works just fine, but when I try clean and build the following Error
occurs:
An input/output error occurred.
Consult the following stack trace for details.
java.nio.charset.MalformedInputException: Input length = 1
at java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:274)
at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.base/java.io.InputStreamReader.read(InputStreamReader.java:181)
at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)
at java.base/java.io.BufferedReader.read(BufferedReader.java:182)
at jdk.compiler/com.sun.tools.javac.main.CommandLine$Tokenizer.nextToken(CommandLine.java:213)
at jdk.compiler/com.sun.tools.javac.main.CommandLine.loadCmdFile(CommandLine.java:131)
at jdk.compiler/com.sun.tools.javac.main.CommandLine.appendParsedCommandArgs(CommandLine.java:71)
at jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:102)
at jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:123)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:215)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)
at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
BUILD FAILED (total time: 10 seconds)
thanx for any help
Christoph
\--------------------------------------------------------------------- To
unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org For additional
commands, e-mail: users-help@netbeans.apache.org For further information about
the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists