[jboss-jira] [JBoss JIRA] (JGRP-1612) ParseMessages doesn't understand new format

Bela Ban (JIRA) jira-events at lists.jboss.org
Fri Apr 5 11:16:48 EDT 2013


Bela Ban created JGRP-1612:
------------------------------

             Summary: ParseMessages doesn't understand new format
                 Key: JGRP-1612
                 URL: https://issues.jboss.org/browse/JGRP-1612
             Project: JGroups
          Issue Type: Bug
            Reporter: Bela Ban
            Assignee: Bela Ban
            Priority: Trivial
             Fix For: 3.3
         Attachments: capture

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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list