[jboss-jira] [JBoss JIRA] (JGRP-1810) Illegal format string in trace message in NAKACK2 protocol

Chris LeCompte (JIRA) issues at jboss.org
Fri Mar 21 15:46:11 EDT 2014


Chris LeCompte created JGRP-1810:
------------------------------------

             Summary: Illegal format string in trace message in NAKACK2 protocol
                 Key: JGRP-1810
                 URL: https://issues.jboss.org/browse/JGRP-1810
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 3.4.3
            Reporter: Chris LeCompte
            Assignee: Bela Ban
            Priority: Minor


The NAKACK2 protocol has an invalid format string in one of its trace logging outputs:

                    log.trace("%s: my_highest_rcvd (%) < stability_highest_rcvd (%): requesting retransmission of %s",
                              local_addr, my_hr, hr, member + "#" + hr);

This results in an error in the log:

ERROR - Illegal format string "%s: my_highest_rcvd (%) < stability_highest_rcvd (%): requesting retransmission of %s"

The % should be changed to %% to avoid the error.  The arguments are in fact printed alongside the message however anything with ERROR in the text makes QA nervous.

--
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