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

TSocket.open throws NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.9.3
    • 0.10.0
    • Java - Library
    • None
    • 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

              nsuke Nobuaki Sukegawa
              zeynep Zeynep Arikoglu
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: