You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2018/02/27 05:04:00 UTC

[jira] [Resolved] (OODT-970) Netty Transceiver throws an NPE

     [ https://issues.apache.org/jira/browse/OODT-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann resolved OODT-970.
------------------------------------
    Resolution: Fixed

* fixed, thanks Imesha! 

{noformat}

nonas:oodt mattmann$ git push -u origin master

Counting objects: 45, done.

Delta compression using up to 4 threads.

Compressing objects: 100% (34/34), done.

Writing objects: 100% (45/45), 13.34 KiB | 2.22 MiB/s, done.

Total 45 (delta 20), reused 0 (delta 0)

rm -rf *remote: oodt git commit: record changes for OODT-969 and OODT-970: Netty Transceiver throws an NPE contributed by imesha

remote: oodt git commit: Merge branch 'development' of https://github.com/IMS94/oodt into development

remote: oodt git commit: Merge branch 'development' of https://git-wip-us.apache.org/repos/asf/oodt into development

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

remote: oodt git commit: add missing ;

remote: oodt git commit: Fix for OODT-968 Add metadata

remote: oodt git commit: close connection to release client

~*

To https://git-wip-us.apache.org/repos/asf/oodt.git

   3af750a5c..ba6ca1b4d  master -> master

Branch master set up to track remote branch master from origin.

nonas:oodt mattmann${noformat}

> 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: Chris A. Mattmann
>            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)