java.util.IllegalFormatConversionException: f != java.lang.String

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Kevin Tansey, 1 year ago
via Coderanch by Kevin Tansey, 1 year ago
via Stack Overflow by Marko Stojsic
, 2 years ago
via Stack Overflow by Scoot
, 2 years ago
java.util.IllegalFormatConversionException: f != java.lang.String
at java.util.Formatter$FormatSpecifier.failConversion(Unknown Source)
at java.util.Formatter$FormatSpecifier.printFloat(Unknown Source)
at java.util.Formatter$FormatSpecifier.print(Unknown Source)
at java.util.Formatter.format(Unknown Source)
at java.io.PrintStream.format(Unknown Source)
at java.io.PrintStream.printf(Unknown Source)
at undefined.Student.main(Student.java:246)

Users with the same issue

2 times, 6 months ago
Once, 6 months ago
Once, 1 year ago
16 times, 1 year ago
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.