java.util.IllegalFormatConversionException: %f can't format java.lang.String arguments

Stack Overflow | George B | 4 months ago
  1. 0

    How do I format a double into a string (with only two decimal places)?

    Stack Overflow | 4 months ago | George B
    java.util.IllegalFormatConversionException: %f can't format java.lang.String arguments
  2. 0

    android - ETPush IllegalFormatConversionException when location not available - Salesforce Stack Exchange

    stackexchange.com | 8 months ago
    java.util.IllegalFormatConversionException: %d can't format java.lang.String arguments
  3. 0

    SpotlightLog error

    GitHub | 3 years ago | sandroacoelho
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spotlight not starting after pulling new logging

    GitHub | 3 years ago | SoAG
    java.util.IllegalFormatConversionException: d != scala.collection.mutable.WrappedArray$ofRef
  6. 0

    Crash after clicking on fleet in level 2

    GitHub | 2 years ago | GoogleCodeExporter
    java.util.IllegalFormatConversionException: f != java.lang.Integer

  1. bmacedo 3 times, last 5 days ago
  2. iridic 3 times, last 1 month ago
  3. Ranjana Dangol 8 times, last 5 months ago
  4. Diogo Jaym 6 times, last 5 months ago
  5. silex 2 times, last 7 months ago
2 more registered users
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.IllegalFormatConversionException

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

    at java.util.Formatter.badArgumentType()
  2. Java RT
    String.format
    1. java.util.Formatter.badArgumentType(Formatter.java:1489)
    2. java.util.Formatter.transformFromFloat(Formatter.java:2038)
    3. java.util.Formatter.transform(Formatter.java:1465)
    4. java.util.Formatter.doFormat(Formatter.java:1081)
    5. java.util.Formatter.format(Formatter.java:1042)
    6. java.util.Formatter.format(Formatter.java:1011)
    7. java.lang.String.format(String.java:1554)
    7 frames
  3. com.georgeberdovskiy.fluidtherapy
    MainActivity$1.onClick
    1. com.georgeberdovskiy.fluidtherapy.MainActivity$1.onClick(MainActivity.java:82)
    1 frame
  4. Android Platform
    Handler.handleCallback
    1. android.view.View.performClick(View.java:5204)
    2. android.view.View$PerformClick.run(View.java:21153)
    3. android.os.Handler.handleCallback(Handler.java:739)
    3 frames