Service bus topic stream binder Invalid UUID error might cause OutOfMemoryError
See original GitHub issueI am running Service bus topic stream binder version 1.1.0.RC2
Current Behavior
During the weekend, erroneous messages were being pushed to service bus, with improperly formatted guids. This caused a lot of “Invalid UUID string” errors.
With this great amount of errors, it seems like threads kept being created and eventually the application got a java.lang.OutOfMemoryError.
Logs
Here are some of the logs before and after the OutOfMemoryError
2019-02-09 18:25:40.391 ERROR 1 --- [ Thread-4093175] c.m.a.servicebus.MessageAndSessionPump : onMessage with message containing sequence number '395571' threw exception
java.lang.IllegalArgumentException: Invalid UUID string: 7d8251f2d55d4ef589073fd31d8f9b0c
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:25:41.496 ERROR 1 --- [ Thread-4093175] c.m.a.s.i.s.ServiceBusMessageHandler : Exception encountered in phase USERCALLBACK
java.lang.IllegalArgumentException: Invalid UUID string: 7d8251f2d55d4ef589073fd31d8f9b0c
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:25:44.857 ERROR 1 --- [ Thread-4093179] c.m.a.servicebus.MessageAndSessionPump : Invocation of onMessage with message containing sequence number '395572' threw unexpected exception
java.lang.IllegalArgumentException: Invalid UUID string: 700fd424ae014662931b4a61dd0a0974
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:25:49.177 ERROR 1 --- [ Thread-4093180] c.m.a.servicebus.MessageAndSessionPump : onMessage with message containing sequence number '395572' threw exception
java.lang.IllegalArgumentException: Invalid UUID string: 700fd424ae014662931b4a61dd0a0974
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:25:50.265 ERROR 1 --- [ Thread-4093180] c.m.a.s.i.s.ServiceBusMessageHandler : Exception encountered in phase USERCALLBACK
java.lang.IllegalArgumentException: Invalid UUID string: 700fd424ae014662931b4a61dd0a0974
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:25:52.531 ERROR 1 --- [ Thread-4093184] c.m.a.servicebus.MessageAndSessionPump : Invocation of onMessage with message containing sequence number '395568' threw unexpected exception
java.lang.IllegalArgumentException: Invalid UUID string: 93dfbbacc0434d4795bfd11d07c49cad
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:25:55.810 ERROR 1 --- [ Thread-4093185] c.m.a.servicebus.MessageAndSessionPump : onMessage with message containing sequence number '395568' threw exception
java.lang.IllegalArgumentException: Invalid UUID string: 93dfbbacc0434d4795bfd11d07c49cad
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:25:56.935 ERROR 1 --- [ Thread-4093185] c.m.a.s.i.s.ServiceBusMessageHandler : Exception encountered in phase USERCALLBACK
java.lang.IllegalArgumentException: Invalid UUID string: 93dfbbacc0434d4795bfd11d07c49cad
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:26:21.223 ERROR 1 --- [ Thread-4093189] c.m.a.servicebus.MessageAndSessionPump : Invocation of onMessage with message containing sequence number '395569' threw unexpected exception
java.lang.IllegalArgumentException: Invalid UUID string: 72f1cc320e1048deaa9fcedc7307bba4
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:26:23.428 ERROR 1 --- [ Thread-4093190] c.m.a.servicebus.MessageAndSessionPump : onMessage with message containing sequence number '395569' threw exception
java.lang.IllegalArgumentException: Invalid UUID string: 72f1cc320e1048deaa9fcedc7307bba4
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:26:24.485 ERROR 1 --- [ Thread-4093190] c.m.a.s.i.s.ServiceBusMessageHandler : Exception encountered in phase USERCALLBACK
java.lang.IllegalArgumentException: Invalid UUID string: 72f1cc320e1048deaa9fcedc7307bba4
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:26:31.491 ERROR 1 --- [ Thread-4093194] c.m.a.servicebus.MessageAndSessionPump : Invocation of onMessage with message containing sequence number '395568' threw unexpected exception
java.lang.IllegalArgumentException: Invalid UUID string: 93dfbbacc0434d4795bfd11d07c49cad
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:26:41.434 ERROR 1 --- [ Thread-4093195] c.m.a.servicebus.MessageAndSessionPump : onMessage with message containing sequence number '395568' threw exception
java.lang.IllegalArgumentException: Invalid UUID string: 93dfbbacc0434d4795bfd11d07c49cad
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:26:42.577 ERROR 1 --- [ Thread-4093195] c.m.a.s.i.s.ServiceBusMessageHandler : Exception encountered in phase USERCALLBACK
java.lang.IllegalArgumentException: Invalid UUID string: 93dfbbacc0434d4795bfd11d07c49cad
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:26:45.889 ERROR 1 --- [ Thread-4093199] c.m.a.servicebus.MessageAndSessionPump : Invocation of onMessage with message containing sequence number '395569' threw unexpected exception
java.lang.IllegalArgumentException: Invalid UUID string: 72f1cc320e1048deaa9fcedc7307bba4
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:26:48.049 ERROR 1 --- [ Thread-4093200] c.m.a.servicebus.MessageAndSessionPump : onMessage with message containing sequence number '395569' threw exception
java.lang.IllegalArgumentException: Invalid UUID string: 72f1cc320e1048deaa9fcedc7307bba4
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:26:50.265 ERROR 1 --- [ Thread-4093200] c.m.a.s.i.s.ServiceBusMessageHandler : Exception encountered in phase USERCALLBACK
java.lang.IllegalArgumentException: Invalid UUID string: 72f1cc320e1048deaa9fcedc7307bba4
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:26:52.587 ERROR 1 --- [ Thread-4093204] c.m.a.servicebus.MessageAndSessionPump : Invocation of onMessage with message containing sequence number '395570' threw unexpected exception
java.lang.IllegalArgumentException: Invalid UUID string: 2644f4bd992348f9b7cb5851584bffe8
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:26:58.052 ERROR 1 --- [ Thread-4093205] c.m.a.servicebus.MessageAndSessionPump : onMessage with message containing sequence number '395570' threw exception
java.lang.IllegalArgumentException: Invalid UUID string: 2644f4bd992348f9b7cb5851584bffe8
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
2019-02-09 18:26:59.118 ERROR 1 --- [ Thread-4093205] c.m.a.s.i.s.ServiceBusMessageHandler : Exception encountered in phase USERCALLBACK
java.lang.IllegalArgumentException: Invalid UUID string: 2644f4bd992348f9b7cb5851584bffe8
at java.util.UUID.fromString(UUID.java:194) ~[na:1.8.0_181]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:75) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.converter.ServiceBusMessageConverter.buildCustomHeaders(ServiceBusMessageConverter.java:31) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.core.converter.AbstractAzureMessageConverter.toMessage(AbstractAzureMessageConverter.java:59) ~[spring-integration-azure-core-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.spring.integration.servicebus.ServiceBusMessageHandler.onMessageAsync(ServiceBusMessageHandler.java:54) ~[spring-integration-servicebus-1.1.0.RC2.jar:1.1.0.RC2]
at com.microsoft.azure.servicebus.MessageAndSessionPump.lambda$receiveAndPumpMessage$2(MessageAndSessionPump.java:137) ~[azure-servicebus-1.2.5.jar:na]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) ~[na:1.8.0_181]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[na:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181]
Exception in thread "ForkJoinPool.commonPool-worker-1" java.lang.OutOfMemoryError: Java heap space
2019-02-09 18:37:10.546 WARN 1 --- [f1-522a51dd9a6a] c.m.a.s.primitives.CoreMessageReceiver : Receive link to 'iwls.newData/subscriptions/QualityControlSub', sessionId 'null' closed with error.
com.microsoft.azure.servicebus.primitives.ServiceBusException: com.microsoft.azure.servicebus.amqp.AmqpException: The link 'G1:462936:b1b310_f7ad86559fb04edaa30bd65441cde91d_G1' is force detached by the broker due to errors occurred in consumer(link17441). Detach origin: AmqpMessageConsumer.IdleTimerExpired: Idle timeout: 00:10:00. TrackingId:a14d7d320005000b000044215c5c9eab_G1_B10, SystemTracker:wlsr-dev-ce-rg-namespace:Topic:iwls.newdata|qualitycontrolsub, Timestamp:2019-02-09T18:37:00
at com.microsoft.azure.servicebus.primitives.ExceptionUtil.toException(ExceptionUtil.java:86) ~[azure-servicebus-1.2.5.jar:na]
at com.microsoft.azure.servicebus.primitives.CoreMessageReceiver.onError(CoreMessageReceiver.java:765) [azure-servicebus-1.2.5.jar:na]
at com.microsoft.azure.servicebus.primitives.CoreMessageReceiver.onClose(CoreMessageReceiver.java:940) [azure-servicebus-1.2.5.jar:na]
at com.microsoft.azure.servicebus.amqp.BaseLinkHandler.processOnClose(BaseLinkHandler.java:68) [azure-servicebus-1.2.5.jar:na]
at com.microsoft.azure.servicebus.amqp.BaseLinkHandler.onLinkRemoteClose(BaseLinkHandler.java:42) [azure-servicebus-1.2.5.jar:na]
at org.apache.qpid.proton.engine.BaseHandler.handle(BaseHandler.java:176) [proton-j-0.22.0.jar:na]
at org.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:108) [proton-j-0.22.0.jar:na]
at org.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:309) [proton-j-0.22.0.jar:na]
at org.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:276) [proton-j-0.22.0.jar:na]
at com.microsoft.azure.servicebus.primitives.MessagingFactory$RunReactor.run(MessagingFactory.java:481) [azure-servicebus-1.2.5.jar:na]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_181]
Caused by: com.microsoft.azure.servicebus.amqp.AmqpException: The link 'G1:462936:b1b310_f7ad86559fb04edaa30bd65441cde91d_G1' is force detached by the broker due to errors occurred in consumer(link17441). Detach origin: AmqpMessageConsumer.IdleTimerExpired: Idle timeout: 00:10:00. TrackingId:a14d7d320005000b000044215c5c9eab_G1_B10, SystemTracker:wlsr-dev-ce-rg-namespace:Topic:iwls.newdata|qualitycontrolsub, Timestamp:2019-02-09T18:37:00
... 11 common frames omitted
2019-02-09 18:37:10.547 INFO 1 --- [f1-522a51dd9a6a] c.m.a.s.primitives.CoreMessageReceiver : Completeing all pending receive and updateState operation on the receiver to 'iwls.newData/subscriptions/QualityControlSub'
2019-02-09 18:42:00.372 WARN 1 --- [f1-522a51dd9a6a] c.m.a.s.primitives.RequestResponseLink : Internal send link of requestresponselink to '$cbs' closed with error.
com.microsoft.azure.servicebus.primitives.ServiceBusException: Error{condition=amqp:connection:forced, description='The connection was inactive for more than the allowed 300000 milliseconds and is closed by container 'LinkTracker'. TrackingId:f7ad86559fb04edaa30bd65441cde91d_G1, SystemTracker:gateway7, Timestamp:2019-02-09T18:42:00', info=null}
at com.microsoft.azure.servicebus.primitives.ExceptionUtil.toException(ExceptionUtil.java:113) ~[azure-servicebus-1.2.5.jar:na]
at com.microsoft.azure.servicebus.primitives.RequestResponseLink$InternalSender.onClose(RequestResponseLink.java:837) ~[azure-servicebus-1.2.5.jar:na]
at com.microsoft.azure.servicebus.amqp.BaseLinkHandler.processOnClose(BaseLinkHandler.java:68) [azure-servicebus-1.2.5.jar:na]
at com.microsoft.azure.servicebus.amqp.BaseLinkHandler.onLinkRemoteClose(BaseLinkHandler.java:42) [azure-servicebus-1.2.5.jar:na]
at org.apache.qpid.proton.engine.BaseHandler.handle(BaseHandler.java:176) [proton-j-0.22.0.jar:na]
at org.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:108) [proton-j-0.22.0.jar:na]
at org.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:309) [proton-j-0.22.0.jar:na]
at org.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:276) [proton-j-0.22.0.jar:na]
at com.microsoft.azure.servicebus.primitives.MessagingFactory$RunReactor.run(MessagingFactory.java:481) [azure-servicebus-1.2.5.jar:na]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_181]
2019-02-09 18:42:00.372 WARN 1 --- [f1-522a51dd9a6a] c.m.a.s.primitives.RequestResponseLink : Completing all pending requests with exception in request response link to $cbs
2019-02-09 18:42:00.372 WARN 1 --- [f1-522a51dd9a6a] c.m.a.s.primitives.RequestResponseLink : Internal receive link of requestresponselink to '$cbs' closed with error.
Environment
- Operating System and version (desktop or mobile): Docker container -> openjdk:8-jdk-alpine running on kubernetes
- SDK version: 1.1.0.RC2
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Error channel for Spring Cloud Stream Service-Bus Binder
I was using 1.2. 3; but I don't have a real environment; I was using a dummy connection string, just to test the...
Read more >2. Release Train Versions - Spring Cloud
You can put a DiscoveryClient implementation on the classpath to cause the Spring Boot application to register with the service discovery server.
Read more >How to use Spring Cloud Azure Stream Binder for Azure ...
This article demonstrates how to use Spring Cloud Stream Binder to send messages to and receive messages from Azure Service Bus.
Read more >QRadar APARs 101 - IBM
The QRadar Support team created this QRadar APARs 101 to make APARs more usable for administrators. Use the search to locate APARs or...
Read more >Debug - Android Developers
Debug can create log files that give details about an application, such as a call stack and start/stop times for any running methods....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks so much for pointing this out. We will handle exception properly.
Closing this issue. Because it’s not active for a long time. If anyone have similar issue, please create issue in new repo: https://github.com/Azure/azure-sdk-for-java/issues