java.lang.NullPointerException: null

Stack Overflow | D.Kaushish | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    null

    at com.rabbitmq.client.impl.ChannelN.validateQueueNameLength()
  2. RabbitMQ Java Client
    ChannelN.queueDeclarePassive
    1. com.rabbitmq.client.impl.ChannelN.validateQueueNameLength(ChannelN.java:1232)[amqp-client-3.5.5.jar:na]
    2. com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:884)[amqp-client-3.5.5.jar:na]
    3. com.rabbitmq.client.impl.ChannelN.queueDeclarePassive(ChannelN.java:61)[amqp-client-3.5.5.jar:na]
    3 frames
  3. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor334.invoke(Unknown Source)[na:na]
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_51]
    3. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_51]
    3 frames
  4. Spring RabbitMQ Support
    CachingConnectionFactory$CachedChannelInvocationHandler.invoke
    1. org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(CachingConnectionFactory.java:666)[spring-rabbit-1.4.6.RELEASE.jar:na]
    1 frame
  5. com.sun.proxy
    $Proxy181.queueDeclarePassive
    1. com.sun.proxy.$Proxy181.queueDeclarePassive(Unknown Source)[na:na]
    1 frame
  6. Spring RabbitMQ Support
    SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run
    1. org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.attemptPassiveDeclarations(BlockingQueueConsumer.java:533)[spring-rabbit-1.4.6.RELEASE.jar:na]
    2. org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(BlockingQueueConsumer.java:453)[spring-rabbit-1.4.6.RELEASE.jar:na]
    3. org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1083)[spring-rabbit-1.4.6.RELEASE.jar:na]
    3 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_51]
    1 frame