Imesha Sudasingha created OODT-970:
--------------------------------------
Summary: 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)