Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8462] Android: Format error when KS is launched

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-03-19T13:46:48.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 3.0.2
ComponentsAndroid
Labelsn/a
ReporterHieu Pham
Assigneejithinpv
Created2012-03-30T16:44:11.000+0000
Updated2017-03-21T21:25:43.000+0000

Description

Getting this error when launching KS (it doesn't crash the app): 03-30 17:38:33.941: E/TitaniumModule(3794): (KrollRuntimeThread) [894,1676] Error in string format 03-30 17:38:33.941: E/TitaniumModule(3794): java.util.IllegalFormatConversionException: %f can't format java.lang.Integer arguments 03-30 17:38:33.941: E/TitaniumModule(3794): at java.util.Formatter.badArgumentType(Formatter.java:1520) 03-30 17:38:33.941: E/TitaniumModule(3794): at java.util.Formatter.transformFromFloat(Formatter.java:2080) 03-30 17:38:33.941: E/TitaniumModule(3794): at java.util.Formatter.transform(Formatter.java:1496) 03-30 17:38:33.941: E/TitaniumModule(3794): at java.util.Formatter.doFormat(Formatter.java:1101) 03-30 17:38:33.941: E/TitaniumModule(3794): at java.util.Formatter.format(Formatter.java:1062) 03-30 17:38:33.941: E/TitaniumModule(3794): at java.util.Formatter.format(Formatter.java:1031) 03-30 17:38:33.941: E/TitaniumModule(3794): at java.lang.String.format(String.java:2177) 03-30 17:38:33.941: E/TitaniumModule(3794): at java.lang.String.format(String.java:2151) 03-30 17:38:33.941: E/TitaniumModule(3794): at ti.modules.titanium.TitaniumModule.stringFormat(TitaniumModule.java:299) 03-30 17:38:33.941: E/TitaniumModule(3794): at org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method) 03-30 17:38:33.941: E/TitaniumModule(3794): at org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:134) 03-30 17:38:33.941: E/TitaniumModule(3794): at org.appcelerator.kroll.KrollRuntime.handleMessage(KrollRuntime.java:267) 03-30 17:38:33.941: E/TitaniumModule(3794): at org.appcelerator.kroll.runtime.v8.V8Runtime.handleMessage(V8Runtime.java:160) 03-30 17:38:33.941: E/TitaniumModule(3794): at android.os.Handler.dispatchMessage(Handler.java:95) 03-30 17:38:33.941: E/TitaniumModule(3794): at android.os.Looper.loop(Looper.java:123) 03-30 17:38:33.941: E/TitaniumModule(3794): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:104)

Comments

  1. jithinpv 2013-03-19

    Issue does not reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 (03/11/13 15:43 0c88429) Titanium SDK version: 3.0.2 (02/07/13 16:46 a4def81) Device: Samsung galaxy s duos Android version: 4.0.4 jithinpv
  2. Lee Morris 2017-03-21

    Closing ticket as the issue cannot be reproduced.

JSON Source