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

Bela Ban (JIRA) issues at jboss.org
Mon Mar 24 12:58:02 EDT 2014


    [ https://issues.jboss.org/browse/JGRP-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12955765#comment-12955765 ] 

Bela Ban commented on JGRP-1810:
--------------------------------

It already is {{%d}} at least on the 3.4 branch. Where did you see {{(%)}} ?
                
> 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
>             Fix For: 3.4.4
>
>
> 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