Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11595

camel-univocity-parsers - A number of stream closed exception in tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.21.1, 2.22.0
    • 2.21.2, 2.22.0
    • tests
    • None
    • Unknown

    Description

      I wonder if we can look into these exceptions during these tests. It may be just that we need a nicer stop/cleanup of the test or something else.

      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatMarshalSpringTest
      [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.553 s - in org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatMarshalSpringTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatMarshalTest
      [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.822 s - in org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatMarshalTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatTest
      [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.346 s - in org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalSpringTest
      Exception in thread "Character reading thread" java.lang.IllegalStateException: Error processing input
      	at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:92)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.io.IOException: Stream closed
      	at sun.nio.cs.StreamDecoder.ensureOpen(StreamDecoder.java:46)
      	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:148)
      	at java.io.InputStreamReader.read(InputStreamReader.java:184)
      	at com.univocity.parsers.common.input.concurrent.CharBucket.fill(CharBucket.java:70)
      	at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:81)
      	... 1 more
      [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.669 s - in org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalSpringTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalTest
      Exception in thread "Character reading thread" java.lang.IllegalStateException: Error processing input
      	at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:92)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.io.IOException: Stream closed
      	at sun.nio.cs.StreamDecoder.ensureOpen(StreamDecoder.java:46)
      	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:148)
      	at java.io.InputStreamReader.read(InputStreamReader.java:184)
      	at com.univocity.parsers.common.input.concurrent.CharBucket.fill(CharBucket.java:70)
      	at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:81)
      	... 1 more
      [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.84 s - in org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatMarshalSpringTest
      [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.638 s - in org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatMarshalSpringTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatMarshalTest
      [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.826 s - in org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatMarshalTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatTest
      [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.344 s - in org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalSpringTest
      Exception in thread "Character reading thread" java.lang.IllegalStateException: Error processing input
      	at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:92)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.io.IOException: Stream closed
      	at sun.nio.cs.StreamDecoder.ensureOpen(StreamDecoder.java:46)
      	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:148)
      	at java.io.InputStreamReader.read(InputStreamReader.java:184)
      	at com.univocity.parsers.common.input.concurrent.CharBucket.fill(CharBucket.java:70)
      	at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:81)
      	... 1 more
      [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.715 s - in org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalSpringTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalTest
      Exception in thread "Character reading thread" java.lang.IllegalStateException: Error processing input
      	at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:92)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.io.IOException: Stream closed
      	at sun.nio.cs.StreamDecoder.ensureOpen(StreamDecoder.java:46)
      	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:148)
      	at java.io.InputStreamReader.read(InputStreamReader.java:184)
      	at com.univocity.parsers.common.input.concurrent.CharBucket.fill(CharBucket.java:70)
      	at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:81)
      	... 1 more
      [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.837 s - in org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatMarshalSpringTest
      [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.609 s - in org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatMarshalSpringTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatMarshalTest
      [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.829 s - in org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatMarshalTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatTest
      [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.344 s - in org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalSpringTest
      Exception in thread "Character reading thread" java.lang.IllegalStateException: Error processing input
      	at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:92)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.io.IOException: Stream closed
      	at sun.nio.cs.StreamDecoder.ensureOpen(StreamDecoder.java:46)
      	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:148)
      	at java.io.InputStreamReader.read(InputStreamReader.java:184)
      	at com.univocity.parsers.common.input.concurrent.CharBucket.fill(CharBucket.java:70)
      	at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:81)
      	... 1 more
      [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.658 s - in org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalSpringTest
      [INFO] Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalTest
      Exception in thread "Character reading thread" java.lang.IllegalStateException: Error processing input
      	at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:92)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.io.IOException: Stream closed
      	at sun.nio.cs.StreamDecoder.ensureOpen(StreamDecoder.java:46)
      	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:148)
      	at java.io.InputStreamReader.read(InputStreamReader.java:184)
      	at com.univocity.parsers.common.input.concurrent.CharBucket.fill(CharBucket.java:70)
      	at com.univocity.parsers.common.input.concurrent.ConcurrentCharLoader.run(ConcurrentCharLoader.java:81)
      	... 1 more
      [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.838 s - in org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalTest
      [INFO]
      

      Attachments

        Activity

          People

            aldettinger Alex Dettinger
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: