sun.io.MalformedInputException

Apache's JIRA Issue Tracker | Shai Erera | 8 years ago
  1. 0

    As reported by Chathura Herath to taverna-hackers on 2008-03-26: {code} Test set: net.sourceforge.taverna.scuflworkers.io.JTidyWorkerTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.52 sec <<< FAILURE! testExecute(net.sourceforge.taverna.scuflworkers.io.JTidyWorkerTest) Time elapsed: 0.504 sec <<< ERROR! sun.io.MalformedInputException at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:262) at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:314) at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:364) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:250) at java.io.InputStreamReader.read(InputStreamReader.java:212) at java.io.BufferedReader.fill(BufferedReader.java:157) at java.io.BufferedReader.readLine(BufferedReader.java:320) at java.io.BufferedReader.readLine(BufferedReader.java:383) at net.sourceforge.taverna.scuflworkers.io.JTidyWorkerTest.testExecute(JTidyWorkerTest.java:38) {code} The bug probably only appears on systems with a character encoding default that is different from latin1. Additionally, the test (of a component that is no longer included in the Taverna workbench) assumes network access and that http://www.nature.com/ is available. Suggest action is to either *ignore* or remove the failing test. If the test is to be fixed it should use a html file bundled in src/test/resources - and specify the encoding to InputStreamReader specifically. This bug is related to TAV-273 because it uses the constructor new InputStreamReader(InputStream) - and usage of such should also be checked for over all of the source code.

    JIRA | 9 years ago | Stian Soiland-Reyes
    sun.io.MalformedInputException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    I am getting problems while installing glassfish v2UR1 on Linux Box

    Oracle Community | 9 years ago | shrikantbochare
    sun.io.MalformedInputException
  4. 0

    CTags parsing problem: (Bugzilla #13728)

    GitHub | 4 years ago | vladak
    sun.io.MalformedInputException

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. sun.io.MalformedInputException

      No message provided

      at sun.io.ByteToCharUTF8.convert()
    2. sun.io
      ByteToCharUTF8.convert
      1. sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:262)
      1 frame
    3. Java RT
      BufferedReader.readLine
      1. sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:314)
      2. sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:364)
      3. sun.nio.cs.StreamDecoder.read(StreamDecoder.java:250)
      4. java.io.InputStreamReader.read(InputStreamReader.java:212)
      5. java.io.BufferedReader.fill(BufferedReader.java:157)
      6. java.io.BufferedReader.readLine(BufferedReader.java:320)
      7. java.io.BufferedReader.readLine(BufferedReader.java:383)
      7 frames
    4. Lucene Benchmark
      LineDocMakerTest.testBZip2WithBzipCompressionDisabled
      1. org.apache.lucene.benchmark.byTask.feeds.LineDocMaker.makeDocument(LineDocMaker.java:187)
      2. org.apache.lucene.benchmark.byTask.tasks.AddDocTask.setup(AddDocTask.java:61)
      3. org.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(PerfTask.java:92)
      4. org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doSerialTasks(TaskSequence.java:148)
      5. org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doLogic(TaskSequence.java:129)
      6. org.apache.lucene.benchmark.byTask.feeds.LineDocMakerTest.doIndexAndSearchTest(LineDocMakerTest.java:92)
      7. org.apache.lucene.benchmark.byTask.feeds.LineDocMakerTest.testBZip2WithBzipCompressionDisabled(LineDocMakerTest.java:119)
      7 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:618)
      4 frames
    6. JUnit
      TestCase.run
      1. junit.framework.TestCase.runTest(TestCase.java:164)
      2. junit.framework.TestCase.runBare(TestCase.java:130)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:120)
      6 frames
    7. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
      2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      6 frames