Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1443

Null pointer exception testing proposed fix for JGRP-1426

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.1
    • 3.0.8
    • None

      Per email exchange: testing a proposed fix for JGRP-1426, I hit the following exception:

      SEVERE: failed sending message to 10.239.0.5 (185 bytes):
      java.lang.NullPointerException, cause: null
      java.lang.NullPointerException
      at org.jgroups.protocols.pbcast.JoinRsp.writeTo(JoinRsp.java:90)
      at org.jgroups.util.Util.writeStreamable(Util.java:934)
      at org.jgroups.protocols.pbcast.GMS$GmsHeader.writeTo(GMS.java:1155)
      at org.jgroups.Message.writeHeader(Message.java:891)
      at org.jgroups.Message.writeTo(Message.java:698)
      at org.jgroups.protocols.TP.writeMessage(TP.java:1367)
      at org.jgroups.protocols.TP.send(TP.java:1279)
      at org.jgroups.protocols.TP.down(TP.java:1138)
      at org.jgroups.protocols.Discovery.down(Discovery.java:573)
      at org.jgroups.protocols.TCPPING.down(TCPPING.java:108)
      at org.jgroups.protocols.MERGE3.down(MERGE3.java:242)
      at org.jgroups.protocols.FD.down(FD.java:308)
      at org.jgroups.protocols.VERIFY_SUSPECT.down(VERIFY_SUSPECT.java:80)
      at org.jgroups.protocols.pbcast.NAKACK2.down(NAKACK2.java:493)
      at org.jgroups.protocols.UNICAST2.down(UNICAST2.java:502)
      at org.jgroups.protocols.pbcast.STABLE.down(STABLE.java:328)
      at org.jgroups.protocols.pbcast.GMS.sendJoinResponse(GMS.java:543)
      at org.jgroups.protocols.pbcast.CoordGmsImpl.handleMembershipChange(CoordGmsImpl.java:156)
      at org.jgroups.protocols.pbcast.GMS$ViewHandler.process(GMS.java:1390)
      at org.jgroups.protocols.pbcast.GMS$ViewHandler.run(GMS.java:1344)
      at java.lang.Thread.run(Thread.java:662)

      You said:

      ah, ok, this is a change I made recently, to reduce the size of digests.

      Can you open a JIRA so we can track this ?

      I'll fix it this week.

      ... so here we are.

      Thanks!

      David

              rhn-engineering-bban Bela Ban
              dimbleby David Hotham (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: