[
https://issues.apache.org/jira/browse/OODT-970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16320531#comment-16320531
]
ASF GitHub Bot commented on OODT-970:
-------------------------------------
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/oodt/pull/55#discussion_r160724998
--- Diff: core/pom.xml ---
@@ -74,6 +74,16 @@ the License.
<artifactId>aws-java-sdk</artifactId>
<version>1.7.4</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.avro</groupId>
+ <artifactId>avro-ipc</artifactId>
--- End diff --
Can you please make the ```avro.version``` a defined property within the
```<properties></properties>``` element. Then it can be used consistently.
> 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)