-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With logging, java.util.MissingFormatArgumentException: Format specifier '%%'
#23769
Comments
from chat: "updating org.wildfly.common:wildfly-common to 1.5.4.Final-format-002 will fix it, once the artifact propagates (takes about 24 hours)" |
/cc @Sanne, @aloubyansky, @geoand, @gsmet, @radcortez, @stuartwdouglas |
Hey @dmlloyd, I looking to contribute to this project, and this issue seems to be an easy starting point. Can you please let me know how can I reproduce it? |
I'm glad you're interested! Unfortunately I've already fixed the problem - it was indeed an easy fix. (It's in a dependent component, and due to the way our Nexus instance works, the component won't find its way to the upstream Maven servers until tomorrow, which is why there's no PR yet). You might consider hanging out on the Zulip chat though if you're interested in contributing; it's a pretty high-volume project so things come up all the time. |
Upgrade to wildfly-common version with fix for native compilation quarkusio/quarkus#23769 Align version dependencies with Quarkus
- Upgrade to wildfly-common version with fix for native compilation quarkusio/quarkus#23769 - Align version dependencies with Quarkus - Fix Checkstyle failures
- Upgrade to wildfly-common version with fix for native compilation quarkusio/quarkus#23769 - Align version dependencies with Quarkus - Fix Checkstyle failures
Describe the bug
When logging a message, an exception like the following is thrown:
This happens when logging a message whose format string contains the string
%%
after allprintf
format specifiers (i.e. a%%
is the last%
sequence in the string).Workaround
To work around this issue, an extra argument can be given to the log method (for example, add
, null
to the end of the arguments to the log method). This argument will be ignored but it will allow the check to pass.Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: