[
https://issues.apache.org/jira/browse/OODT-970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16378009#comment-16378009
]
ASF GitHub Bot commented on OODT-970:
-------------------------------------
Github user IMS94 commented on the issue:
https://github.com/apache/oodt/pull/55
That's fine. Only required addition to this PR is to use JUnit annotations
instead of extending **TestCase**. may be I can do it later.
> 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
> Priority: Major
> 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
(v7.6.3#76005)