Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3832] Android 3.0 Xoom: date picker crashes on year change

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-07-05T12:37:54.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sSprint 2011-26, Release 1.7.2, Release 1.8.0
ComponentsAndroid
Labelsn/a
ReporterThomas Huelbert
AssigneeOpie Cyrus
Created2011-04-29T16:22:20.000+0000
Updated2011-07-07T18:54:35.000+0000

Description

1.Controls > Picker 2.Date picker 3.Tap the + button above the year results: crash I/TiAPI ( 6881): (kroll$1: app://app.js) [1,817] welcome_message = Welcome to Kitchen Sink for Titanium/ W/ResourceType( 6881): No package identifier when getting value for resource number 0x00000000 E/KrollMethod( 6881): (kroll$1: app://app.js) [0,817] Exception calling kroll method localize, invocation: null ] E/KrollMethod( 6881): android.content.res.Resources$NotFoundException: String resource ID #0x0 E/KrollMethod( 6881): at android.content.res.Resources.getText(Resources.java:242) E/KrollMethod( 6881): at android.content.res.Resources.getString(Resources.java:326) E/KrollMethod( 6881): at android.content.Context.getString(Context.java:204) E/KrollMethod( 6881): at ti.modules.titanium.TitaniumModule.localize(TitaniumModule.java:339) E/KrollMethod( 6881): at ti.modules.titanium.TitaniumModuleBindingGen$8.invoke(TitaniumModuleBindingGen.java:365) E/KrollMethod( 6881): at org.appcelerator.kroll.KrollProxy$ThisMethod.invoke(KrollProxy.java:397) E/KrollMethod( 6881): at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51) E/KrollMethod( 6881): at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701) E/KrollMethod( 6881): at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854) E/KrollMethod( 6881): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164) E/KrollMethod( 6881): at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426) E/KrollMethod( 6881): at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177) E/KrollMethod( 6881): at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175) E/KrollMethod( 6881): at org.mozilla.javascript.Context.evaluateReader(Context.java:1142) E/KrollMethod( 6881): at org.appcelerator.titanium.kroll.KrollContext$DefaultEvaluator.evaluateFile(KrollContext.java:105) E/KrollMethod( 6881): at org.appcelerator.titanium.kroll.KrollContext.evaluateScript(KrollContext.java:306) E/KrollMethod( 6881): at org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(KrollContext.java:318) E/KrollMethod( 6881): at org.appcelerator.titanium.kroll.KrollContext.handleMessage(KrollContext.java:217) E/KrollMethod( 6881): at org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:223) E/KrollMethod( 6881): at android.os.Handler.dispatchMessage(Handler.java:95) E/KrollMethod( 6881): at android.os.Looper.loop(Looper.java:126) E/KrollMethod( 6881): at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86) E/KrollContext( 6881): (kroll$1: app://app.js) [3,820] Error evaluating source: Wrapped android.content.res.Resources$NotFoundException: String resource ID #0x0 (file:///android_asset/Resources/app.js#334) E/KrollContext( 6881): org.mozilla.javascript.WrappedException: Wrapped android.content.res.Resources$NotFoundException: String resource ID #0x0 (file:///android_asset/Resources/app.js#334) E/KrollContext( 6881): at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1786) E/KrollContext( 6881): at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:85) E/KrollContext( 6881): at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701) E/KrollContext( 6881): at script(file:///android_asset/Resources/app.js:334) E/KrollContext( 6881): at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854) E/KrollContext( 6881): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164) E/KrollContext( 6881): at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426) E/KrollContext( 6881): at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177) E/KrollContext( 6881): at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175) E/KrollContext( 6881): at org.mozilla.javascript.Context.evaluateReader(Context.java:1142) E/KrollContext( 6881): at org.appcelerator.titanium.kroll.KrollContext$DefaultEvaluator.evaluateFile(KrollContext.java:105) E/KrollContext( 6881): at org.appcelerator.titanium.kroll.KrollContext.evaluateScript(KrollContext.java:306) E/KrollContext( 6881): at org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(KrollContext.java:318) E/KrollContext( 6881): at org.appcelerator.titanium.kroll.KrollContext.handleMessage(KrollContext.java:217) E/KrollContext( 6881): at org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:223) E/KrollContext( 6881): at android.os.Handler.dispatchMessage(Handler.java:95) E/KrollContext( 6881): at android.os.Looper.loop(Looper.java:126) E/KrollContext( 6881): at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86) E/KrollContext( 6881): Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0 E/KrollContext( 6881): at android.content.res.Resources.getText(Resources.java:242) E/KrollContext( 6881): at android.content.res.Resources.getString(Resources.java:326) E/KrollContext( 6881): at android.content.Context.getString(Context.java:204) E/KrollContext( 6881): at ti.modules.titanium.TitaniumModule.localize(TitaniumModule.java:339) E/KrollContext( 6881): at ti.modules.titanium.TitaniumModuleBindingGen$8.invoke(TitaniumModuleBindingGen.java:365) E/KrollContext( 6881): at org.appcelerator.kroll.KrollProxy$ThisMethod.invoke(KrollProxy.java:397) E/KrollContext( 6881): at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51) E/KrollContext( 6881): ... 15 more E/TiJSError( 6881): (kroll$1: app://app.js) [2,822] ----- Titanium Javascript Runtime Error -----

Attachments

FileDateSize
output.txt2011-06-30T15:57:36.000+0000137722

Comments

  1. Opie Cyrus 2011-06-30

    log of crash on Xoom Kitchen Sink built against master 6/30/2011 5:45pm CST
  2. Eric Merriman 2011-07-07

    Fixed with xoom 3.0.1, SDK:1.7.2 r3d44999e and 1.8.0 r4b694252

JSON Source