-
-
Notifications
You must be signed in to change notification settings - Fork 353
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
Cannot format message if compiler output contains %
#1899
Comments
Can you please post the full Mill + compiler output, the full command, relevant compiler settings and a source file that causes the output (if any). |
Something like this. Produced by
|
A file without an extension ( |
That is just an example, not actual file name. I'll try make a reproducable repo, if you like. |
https://github.com/jilen/mill-format-prj/runs/6876008355?check_suite_focus=true#step:5:240 you can take a look at here. It seems harmless, though. |
I can't tell whether this is supposed to work or a programming error. If you consider it correct code, you should report the issue upstream to zinc/sbt or even zio-quill, as it is unrelated to Mill code. |
I can confirm sbt won't have this issue. Seems related to compiler reporter. I saw it was caused by Note I haven't run any code, just compile. |
@lefou not totally unrelated to mill, see the stack trace |
I reopen to investigate further. AFAIK, we don't use log4j explicitly. Log4j is an transitive dependency of zinc, but we control the exact version in our dependency setup to mitigate security issues. I could imagine that sbt is using zinc differently (it has lots of internal API which we can't use) than Mill and only Mill triggers this issues. And I still think this issue should be reported upstream too. |
A minimal repro with Mill build file and sbt build file would be ideal. |
I think you are right. Might caused by unexpected usage of log4j. I won't mind if you'd like to close this issue. |
Related issue, where this error message is seen, too: |
I just compiled your linked project with sbt (version 1.6.2), and the error message did not appear.
|
Closing, as we don't have an idea where this is coming from, and it is doing no harm (besides the annoying message). Please comment, if you have any ideas, pointers or issues, then I can reopen and investigate further. |
|
a
java.util.UnknownFormatConversionException
will be thrownThe text was updated successfully, but these errors were encountered: