You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/01 13:54:20 UTC

[jira] [Commented] (THRIFT-3902) TFramedTransport.open throws NullPointerException

    [ https://issues.apache.org/jira/browse/THRIFT-3902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15538563#comment-15538563 ] 

ASF GitHub Bot commented on THRIFT-3902:
----------------------------------------

GitHub user nsuke opened a pull request:

    https://github.com/apache/thrift/pull/1105

    THRIFT-3902 TFramedTransport.open throws NullPointerException

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nsuke/thrift THRIFT-3902

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/1105.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1105
    
----
commit 2578c39fa7e35c5f860d835ccc25d46f78261b6f
Author: Nobuaki Sukegawa <ns...@apache.org>
Date:   2016-10-01T13:38:55Z

    THRIFT-3902 TFramedTransport.open throws NullPointerException

----


> TFramedTransport.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
>            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)