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

[jira] [Resolved] (THRIFT-3902) TSocket.open throws NullPointerException

     [ https://issues.apache.org/jira/browse/THRIFT-3902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aki Sukegawa resolved THRIFT-3902.
----------------------------------
       Resolution: Fixed
         Assignee: Aki Sukegawa
    Fix Version/s: 0.10.0

The described problem was caused by TSocket so I've renamed this.
If problem persists for TFramedTransport, please file another issue.

> TSocket.open throws NullPointerException
> ----------------------------------------
>
>                 Key: THRIFT-3902
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3902
>             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
>            Assignee: Aki Sukegawa
>            Priority: Critical
>             Fix For: 0.10.0
>
>
> 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)