java.io.UncheckedIOException: java.nio.charset.MalformedInputException: Input length = 2

Coderanch | Mike London | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to get RegEx to Search a Text File with All kinds of charactrers?

    Coderanch | 1 year ago | Mike London
    java.io.UncheckedIOException: java.nio.charset.MalformedInputException: Input length = 2
  2. 0

    java - Reading user file system returns AccessDeniedException

    Stack Overflow | 10 months ago | Adam Lazarus
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  3. 0

    convert txt to csv not working with big content using java 8

    Stack Overflow | 5 months ago | Sanvi
    java.io.UncheckedIOException: java.nio.charset.MalformedInputException: Input length = 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.nio.charset.MalformedInputException

      Input length = 2

      at java.nio.charset.CoderResult.throwException()
    2. Java RT
      ReferencePipeline.forEach
      1. java.nio.charset.CoderResult.throwException(CoderResult.java:281)
      2. sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
      3. sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
      4. java.io.InputStreamReader.read(InputStreamReader.java:184)
      5. java.io.BufferedReader.fill(BufferedReader.java:161)
      6. java.io.BufferedReader.readLine(BufferedReader.java:324)
      7. java.io.BufferedReader.readLine(BufferedReader.java:389)
      8. java.io.BufferedReader$1.hasNext(BufferedReader.java:571)
      9. java.util.Spliterators$IteratorSpliterator.trySplit(Spliterators.java:1776)
      10. java.util.stream.AbstractTask.compute(AbstractTask.java:297)
      11. java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
      12. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      13. java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:401)
      14. java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:734)
      15. java.util.stream.Nodes.collect(Nodes.java:328)
      16. java.util.stream.ReferencePipeline.evaluateToNode(ReferencePipeline.java:109)
      17. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:540)
      18. java.util.stream.SortedOps$OfRef.opEvaluateParallel(SortedOps.java:157)
      19. java.util.stream.AbstractPipeline.opEvaluateParallelLazy(AbstractPipeline.java:704)
      20. java.util.stream.AbstractPipeline.sourceSpliterator(AbstractPipeline.java:431)
      21. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
      22. java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
      22 frames
    3. Unknown
      ReadFileLineByLine.main
      1. ReadFileLineByLine.main(ReadFileLineByLine.java:40)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame