[ https://issues.apache.org/jira/browse/CAMEL-8015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14202388#comment-14202388 ]
Claus Ibsen commented on CAMEL-8015: ------------------------------------ And other failued with receivesDecisionTask(org.apache.camel.component.aws.swf.CamelSWFWorkflowConsumerTest) Time elapsed: 1.065 sec <<< FAILURE! java.lang.AssertionError: mock://result Received message count. Expected: <1> but was: <4> at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:1350) at org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:1332) at org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:392) at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:371) at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:359) at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:197) at org.apache.camel.test.junit4.CamelTestSupport.assertMockEndpointsSatisfied(CamelTestSupport.java:675) at org.apache.camel.component.aws.swf.CamelSWFWorkflowConsumerTest.receivesDecisionTask(CamelSWFWorkflowConsumerTest.java:63) > camel-aws - Has an unit test failure > ------------------------------------ > > Key: CAMEL-8015 > URL: https://issues.apache.org/jira/browse/CAMEL-8015 > Project: Camel > Issue Type: Test > Components: camel-aws > Affects Versions: 2.15.0 > Reporter: Claus Ibsen > Fix For: 2.15.0 > > > This test fails on master > Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.14 sec <<< > FAILURE! - in org.apache.camel.component.aws.s3.S3ComponentFileTest > sendFileAndKeep(org.apache.camel.component.aws.s3.S3ComponentFileTest) Time > elapsed: 1.073 sec <<< ERROR! > org.apache.camel.TypeConversionException: Error during type conversion from > type: java.lang.String to the required type: java.lang.String with value > [Body is instance of java.io.InputStream] due java.lang.NullPointerException > at > com.amazonaws.internal.SdkFilterInputStream.close(SdkFilterInputStream.java:90) > at sun.nio.cs.StreamDecoder.implClose(StreamDecoder.java:377) > at sun.nio.cs.StreamDecoder.close(StreamDecoder.java:192) > at java.io.InputStreamReader.close(InputStreamReader.java:199) > at java.io.BufferedReader.close(BufferedReader.java:517) > at org.apache.camel.util.IOHelper.close(IOHelper.java:326) > at org.apache.camel.converter.IOConverter.toString(IOConverter.java:308) > at org.apache.camel.converter.IOConverter.toString(IOConverter.java:290) > at org.apache.camel.converter.IOConverter.toString(IOConverter.java:351) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:1002) > at > org.apache.camel.impl.converter.StaticMethodTypeConverter.convertTo(StaticMethodTypeConverter.java:59) > at > org.apache.camel.impl.converter.BaseTypeConverterRegistry.doConvertTo(BaseTypeConverterRegistry.java:276) > at > org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:114) > at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:72) > at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:47) > at > org.apache.camel.component.aws.s3.S3ComponentFileTest.assertResultExchange(S3ComponentFileTest.java:125) > at > org.apache.camel.component.aws.s3.S3ComponentFileTest.sendFileAndKeep(S3ComponentFileTest.java:86) -- This message was sent by Atlassian JIRA (v6.3.4#6332)