org.springframework.messaging.MessageHandlingException: error occurred in message handler [mqttOutboundHandler]; nested exception is java.lang.IllegalArgumentException: The topic name MUST NOT contain any wildcard characters (#+)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Anton, 1 year ago
error occurred in message handler [mqttOutboundHandler]; nested exception is java.lang.IllegalArgumentException: The topic name MUST NOT contain any wildcard characters (#+)
via Spring JIRA by Anton, 1 year ago
error occurred in message handler [mqttOutboundHandler]; nested exception is java.lang.IllegalArgumentException: The topic name MUST NOT contain any wildcard characters (#+)
via Stack Overflow by Krishna Karukola
, 10 months ago
error occurred in message handler [springCloudBus.anonymous.f5b3ff9f-b8 -4234-a63a-9d1db7ff1919.bridge.handler]; nested exception is java.lang.NullPointerException
via Stack Overflow by David Jeong
, 8 months ago
error occurred in message handler [org.springframework.integration.websocket.outbound.WebSocketOutboundMessageHandler#1]; nested exception is java.lang.IllegalStateException: 'clientSession' has not been established. Consider to 'start' this container.
via Stack Overflow by Dirk Hoffmann
, 4 months ago
error occurred in message handler [org.springframework.integration.amqp.outbound.AmqpOutboundEndpoint@317fa27f]; nested exception is org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused (Connection
via Stack Overflow by ipoteka
, 8 months ago
error occurred in message handler [org.springframework.cloud.stream.binder.AbstractMessageChannelBinder$ReceivingHandler@4bf9d802]; nested exception is java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record cannot be cast to [B
org.springframework.messaging.MessageHandlingException: error occurred in message handler [mqttOutboundHandler]; nested exception is java.lang.IllegalArgumentException: The topic name MUST NOT contain any wildcard characters (#+)
at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:139)
at org.springframework.integration.config.annotation.ServiceActivatorAnnotationPostProcessor$ReplyProducingMessageHandlerWrapper.handleRequestMessage(ServiceActivatorAnnotationPostProcessor.java:99)
at org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:99)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.