You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Zeynep Arikoglu (JIRA)" <ji...@apache.org> on 2016/08/23 11:09:20 UTC

[jira] [Created] (THRIFT-3901) TFramedTransport.open throws NullPointerException

Zeynep Arikoglu created THRIFT-3901:
---------------------------------------

             Summary: TFramedTransport.open throws NullPointerException
                 Key: THRIFT-3901
                 URL: https://issues.apache.org/jira/browse/THRIFT-3901
             Project: Thrift
          Issue Type: Bug
          Components: Java - Library
    Affects Versions: 0.9.3
         Environment: CentOS Linux release 7.1.1503 (Core), JVM 1.7.0_67
            Reporter: Zeynep Arikoglu
            Priority: Critical


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)