java.util.IllegalFormatConversionException

%f can't format java.lang.String arguments

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web122

  • %f can't format java.lang.String arguments
  • via Appcelerator JIRA by Hieu Pham, 1 year ago
    %f can't format java.lang.Integer arguments
  • via Appcelerator JIRA by Hieu Pham, 1 year ago
    %f can't format java.lang.Integer arguments
  • Stack trace

    • java.util.IllegalFormatConversionException: %f can't format java.lang.String arguments at java.util.Formatter.badArgumentType(Formatter.java:1489) at java.util.Formatter.transformFromFloat(Formatter.java:2038) at java.util.Formatter.transform(Formatter.java:1465) at java.util.Formatter.doFormat(Formatter.java:1081) at java.util.Formatter.format(Formatter.java:1042) at java.util.Formatter.format(Formatter.java:1011) at java.lang.String.format(String.java:1554) at com.georgeberdovskiy.fluidtherapy.MainActivity$1.onClick(MainActivity.java:82) at android.view.View.performClick(View.java:5204) at android.view.View$PerformClick.run(View.java:21153) at android.os.Handler.handleCallback(Handler.java:739)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Once, 1 year ago
    Once, 2 weeks ago
    2 times, 4 weeks ago
    Once, 4 weeks ago
    21 more bugmates