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

ParseMessages doesn't understand new format

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Trivial
    • 3.3
    • None
    • None

    Description

      As the wire format was changed for message bundles, ParseMessages fails with:
      version = 6336 (3.3.0)
      flags: OOB|DONT_BUNDLE
      java.lang.IllegalArgumentException: magic number 25452 is not available in magic map
      at org.jgroups.Message.readHeader(Message.java:886)
      at org.jgroups.Message.readFrom(Message.java:803)
      at org.jgroups.tests.ParseMessages.readMessageList(ParseMessages.java:89)
      at org.jgroups.tests.ParseMessages.parse(ParseMessages.java:56)
      at org.jgroups.tests.ParseMessages.main(ParseMessages.java:117)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

      The attached capture shows the problem.

      SOLUTION: for message bundles, the cluster names is shipped only once and not with every messags

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            rhn-engineering-bban Bela Ban
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: