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


Solutions on the web

Solution icon of appcelerator
via Appcelerator JIRA by Hieu Pham, 1 year ago
%f can't format java.lang.Integer arguments

Solution icon of appcelerator
via Appcelerator JIRA by Hieu Pham, 1 year ago
%f can't format java.lang.Integer arguments

Solution icon of stackoverflow
%f can't format java.lang.String arguments

Solution icon of stackoverflow
%d can't format java.lang.String arguments

Solution icon of github
%d can't format java.lang.String arguments

Solution icon of github
via GitHub by ironjan
, 1 year ago
%d can't format java.lang.String arguments

Solution icon of github
%d can't format java.lang.String arguments

Solution icon of github
%d can't format java.lang.String arguments

Solution icon of github
%d can't format java.lang.String arguments

Solution icon of stackoverflow
%d can't format java.lang.String arguments

Stack trace

java.util.IllegalFormatConversionException: %f can't format java.lang.Integer arguments
	at java.util.Formatter.badArgumentType(Formatter.java:1520)
	at java.util.Formatter.transformFromFloat(Formatter.java:2080)
	at java.util.Formatter.transform(Formatter.java:1496)
	at java.util.Formatter.doFormat(Formatter.java:1101)
	at java.util.Formatter.format(Formatter.java:1062)
	at java.util.Formatter.format(Formatter.java:1031)
	at java.lang.String.format(String.java:2177)
	at java.lang.String.format(String.java:2151)
	at ti.modules.titanium.TitaniumModule.stringFormat(TitaniumModule.java:299)
	at org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)
	at org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:134)
	at org.appcelerator.kroll.KrollRuntime.handleMessage(KrollRuntime.java:267)
	at org.appcelerator.kroll.runtime.v8.V8Runtime.handleMessage(V8Runtime.java:160)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:123)
	at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:104)

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

Once, 3 months ago
2 times, 3 months ago
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
Once, 9 months ago
21 more bugmates