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 Andrey Paramonov, 1 year ago
java.lang.NullPointerException: 	at org.springframework.amqp.core.Message.getBodyContentAsString(Message.java:70)	at org.springframework.amqp.core.Message.toString(Message.java:56)	at java.lang.String.valueOf(String.java:2826)	at java.lang.StringBuilder.append(StringBuilder.java:115)	at com.ndpar.spring.rabbitmq.MessageHandler.onMessage(MessageHandler.java:14)	at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:316)	at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:254)	at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:230)	at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:199)	at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.processMessage(SimpleMessageListenerContainer.java:229)	at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:288)	at java.lang.Thread.run(Thread.java:637)