Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3901

TFramedTransport.open throws NullPointerException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 0.9.3
    • Fix Version/s: 0.10.0
    • Component/s: Java - Library
    • Labels:
      None
    • Environment:

      CentOS Linux release 7.1.1503 (Core), JVM 1.7.0_67

      Description

      The following java code sometimes throws NPE:
      final TFramedTransport transport = new TFramedTransport(new TSocket(host, port));
      transport.open();

      Stacktrace is as follows:
      [junit] Exception in thread "Thread-620" java.lang.NullPointerException
      [junit] at org.apache.thrift.transport.TSocket.open(TSocket.java:209)
      [junit] at org.apache.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)

      There is no other information related to the problem.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nsuke Nobuaki Sukegawa
                Reporter:
                zeynep Zeynep Arikoglu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: