Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3119] Android: console db errors on first launch of application

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-26T14:10:07.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-12
ComponentsAndroid
Labelsandroid, defect, release-1.7.0
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:37:23.000+0000
Updated2011-04-26T14:10:07.000+0000

Description

[INFO] Titanium SDK version: 1.6.0 (02/11/11 10:10 bd9d124) nexus s (2.2.2), g1 (1.6)

device: http://pastie.org/1554235">http://pastie.org/1554235
emulator: http://pastie.org/1554250">http://pastie.org/1554250

fwiw, the app was called "simpleException"

1.use the noted sdk and create a simple project
2.install to device ro sim, watch adb output on launch

device: http://pastie.org/1554235">http://pastie.org/1554235
emulator: http://pastie.org/1554250">http://pastie.org/1554250

notes: does not occur on second launch, the app seems to work as expected

Comments

  1. Don Thorp 2011-04-15

    This exception has been around forever, Android throws it with the message Problem retrieving data from platform:<br/> E/TiDbHelper( 235): android.database.sqlite.SQLiteDoneException: not an error Removed the regression tag because it's not an actual regression. Will try and filter out this specific exception so it doesn't show up in the log.

  2. Don Thorp 2011-04-15

    (from [4a70fcffb2f335cba7a88fc488e469479d488c29]) [#3119 state:fixed-in-qa] Caught SQLDoneException and print out messages instead. Should now see something like:

       03-24 10:20:37.527: INFO/TiDbHelper(1660): (main) [68,782] No value in database for platform key: 'unique_machine_id' returning supplied default ''
       03-24 10:20:37.587: INFO/TiDbHelper(1660): (main) [58,840] No value in database for platform key: 'hardware_machine_id' returning supplied default ''
       

    https://github.com/appcelerator/titanium_mobile/commit/4a70fcffb2f335cba7a88fc488e469479d488c29"> https://github.com/appcelerator/titanium_mobile/commit/4a70fcffb2f3...

JSON Source