java.io.EOFException: RpcClient is closed

Stack Overflow | Serge Nikitin | 6 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.io.EOFException

    RpcClient is closed

    at com.rabbitmq.client.RpcClient.checkConsumer()
  2. RabbitMQ Java Client
    RpcClient.primitiveCall
    1. com.rabbitmq.client.RpcClient.checkConsumer(RpcClient.java:151)[amqp-client-3.6.1.jar:?]
    2. com.rabbitmq.client.RpcClient.primitiveCall(RpcClient.java:211)[amqp-client-3.6.1.jar:?]
    3. com.rabbitmq.client.RpcClient.primitiveCall(RpcClient.java:246)[amqp-client-3.6.1.jar:?]
    3 frames
  3. test.rpclient
    Main.main
    1. test.rpclient.MQ.echo(MQ.java:48)[classes/:?]
    2. test.rpclient.Main.main(Main.java:23)[classes/:?]
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_92]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_92]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_92]
    4. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_92]
    4 frames
  5. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)[idea_rt.jar:?]
    1 frame