Uploaded image for project: 'OODT'
  1. OODT
  2. OODT-970

Netty Transceiver throws an NPE

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9
    • Component/s: file manager
    • Labels:
      None
    • Skill Level:
      Don't Know (Unsure) - The default level

      Description

      Netty transceiver throws an NPE whenever the Avro File Manager client is called after the first time.

      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)
      

      Cause is: transceiver being closed after every use inside finally{} block.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chrismattmann Chris A. Mattmann
                Reporter:
                imesha Imesha Sudasingha
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: