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

ASF GitHub Bot commented on OODT-970:
-------------------------------------

GitHub user IMS94 opened a pull request:

    https://github.com/apache/oodt/pull/55

    Fix for [OODT-970] and [OODT-969] - Tests for Avro File Manager

    Tests for Avro File Manager and solve the NPE problem in NettyTransceiver 
when Avro File Manager being called

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

    $ git pull https://github.com/IMS94/oodt development

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

    https://github.com/apache/oodt/pull/55.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 #55
    
----
commit 36f320e35155ff38eebdde60fb90a07074ad4148
Author: Imesha Sudasingha <imesha.sudasingha@...>
Date:   2018-01-10T10:59:41Z

    This fixes [OODT-970] and [OODT-969] - Tests for Avro File Manager and 
solve the NPE problem in NettyTransceiver.

----


> Netty Transceiver throws an NPE
> -------------------------------
>
>                 Key: OODT-970
>                 URL: https://issues.apache.org/jira/browse/OODT-970
>             Project: OODT
>          Issue Type: Test
>          Components: file manager
>            Reporter: Imesha Sudasingha
>            Assignee: Imesha Sudasingha
>             Fix For: 1.9
>
>
> Netty transceiver throws an NPE whenever the Avro File Manager client is 
> called after the first time. 
> {code:java}
> java.lang.NullPointerException: null
> ! at 
> org.apache.avro.ipc.NettyTransceiver.getRemoteName(NettyTransceiver.java:431)
> ! at org.apache.avro.ipc.Requestor.writeHandshake(Requestor.java:202)
> ! at org.apache.avro.ipc.Requestor.access$300(Requestor.java:52)
> ! at org.apache.avro.ipc.Requestor$Request.getBytes(Requestor.java:478)
> ! at org.apache.avro.ipc.Requestor.request(Requestor.java:181)
> ! at org.apache.avro.ipc.Requestor.request(Requestor.java:129)
> ! at 
> org.apache.avro.ipc.specific.SpecificRequestor.invoke(SpecificRequestor.java:84)
> {code}
> Cause is: transceiver being closed after every use inside finally{} block.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to