org.apache.thrift.transport.TTransportException

Cannot read from null inputStream

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web174

  • via GitHub by caiyifeng
    ,
  • via Stack Overflow by Anlea pat
    ,
  • Stack trace

    • org.apache.thrift.transport.TTransportException: Cannot read from null inputStream at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:123)[libthrift-0.9.2.jar:0.9.2] at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)[libthrift-0.9.2.jar:0.9.2] at org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:129)[libthrift-0.9.2.jar:0.9.2] at org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)[libthrift-0.9.2.jar:0.9.2] at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)[libthrift-0.9.2.jar:0.9.2] at org.apache.thrift.protocol.TBinaryProtocol.readStringBody(TBinaryProtocol.java:380)[libthrift-0.9.2.jar:0.9.2] at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:230)[libthrift-0.9.2.jar:0.9.2] at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)[libthrift-0.9.2.jar:0.9.2] at backtype.storm.generated.DistributedRPCInvocations$Client.recv_failRequest(DistributedRPCInvocations.java:146)[jstorm-core-2.1.1.jar:na] at backtype.storm.generated.DistributedRPCInvocations$Client.failRequest(DistributedRPCInvocations.java:133)[jstorm-core-2.1.1.jar:na] at backtype.storm.drpc.DRPCInvocationsClient.failRequest(DRPCInvocationsClient.java:101)[jstorm-core-2.1.1.jar:na] at backtype.storm.drpc.DRPCSpout.fail(DRPCSpout.java:235)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.task.execute.spout.FailSpoutMsg.run(FailSpoutMsg.java:58)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.task.execute.spout.SpoutExecutors.processTimerEvent(SpoutExecutors.java:293)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.task.execute.spout.SpoutExecutors.onEvent(SpoutExecutors.java:222)[jstorm-core-2.1.1.jar:na] at backtype.storm.utils.DisruptorQueueImpl.consumeBatchToCursor(DisruptorQueueImpl.java:193)[jstorm-core-2.1.1.jar:na] at backtype.storm.utils.DisruptorQueueImpl.consumeBatchWhenAvailable(DisruptorQueueImpl.java:161)[jstorm-core-2.1.1.jar:na] at backtype.storm.utils.DisruptorQueueImpl.consumeBatch(DisruptorQueueImpl.java:100)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.task.execute.spout.MultipleThreadSpoutExecutors$AckerRunnable.run(MultipleThreadSpoutExecutors.java:109)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.callback.AsyncLoopRunnable.run(AsyncLoopRunnable.java:95)[jstorm-core-2.1.1.jar:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_45]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    kidkid
    Once,
    Unknown visitor
    Unknown visitorOnce,
    25 more bugmates