[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:19:13 EDT 2014
[ https://issues.jboss.org/browse/JGRP-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12955729#comment-12955729 ]
Bela Ban edited comment on JGRP-1810 at 3/24/14 12:17 PM:
----------------------------------------------------------
You meant replace {{%d}} (not {{%%}}) didn't you ?
was (Author: belaban):
You meant replace {{%s}} (not {{%%}}) didn't you ?
> 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.5
>
>
> 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