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

JGRP000027: failed passing message up

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 3.6.11
    • 3.6.10
    • None

    Description

      The JGroups library is generating NullPointerExceptions when attempting to process incoming messages. From what I can tell this is due to it looking for an incorrect message header.

      The TP object has a protocol id of 75 despite being a TUNNEL which ought to have an id of 24. The id is being correctly assigned to 24 at the Protocol.id member variable declaration, but is then subsequently changed to 75 by the TP.init method. This seems to have been caused by commit 6bc167f7e0181af32e1930935d8cf0efdc1e82f0 which has the message "Added TP to jg-protocols.xml". If I backout this change to the TP.init method so as to not update the id then my application receives the incoming messages fine.

      java.lang.NullPointerException: null
      at org.jgroups.protocols.TP$SingleMessageHandler.run(TP.java:1872)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-bban Bela Ban
              ww3456 Will Wright (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: