Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5341] Kitchensink: iOS 5 - Exception in event callback logged in console when BASE_UI tab gains focus

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2011-09-28T11:01:37.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sSprint 2011-39
ComponentsiOS
LabelsiOS5, kitchensink
ReporterEric Merriman
AssigneeReggie Seagraves
Created2011-09-22T16:05:28.000+0000
Updated2014-06-19T12:46:38.000+0000

Description

Description: While testing KS 172 against iOS 5.0, I noticed log entries in the console each time I gave focus to the BASE_UI tab. This does not occur with iOS 4.3.x. The log entries are: Sep 21 13:55:22 unknown UIKitApplication:com.appcelerator.titanium[0xab8c][146] : [DEBUG] loading: /var/mobile/Applications/E4112D1A-E207-40CE-A212-07A3848353D3/KitchenSink.app/examples/version.js, resource: examples/version_js Sep 21 13:55:22 unknown UIKitApplication:com.appcelerator.titanium[0xab8c][146] : [INFO] FOCUS RECEIVED IN base_ui Sep 21 13:55:22 unknown UIKitApplication:com.appcelerator.titanium[0xab8c][146] : [WARN] Exception in event callback. { Sep 21 13:55:22 unknown UIKitApplication:com.appcelerator.titanium[0xab8c][146] : expressionBeginOffset = 2571; Sep 21 13:55:22 unknown UIKitApplication:com.appcelerator.titanium[0xab8c][146] : expressionCaretOffset = 2586; Sep 21 13:55:22 unknown UIKitApplication:com.appcelerator.titanium[0xab8c][146] : expressionEndOffset = 2588; Sep 21 13:55:22 unknown UIKitApplication:com.appcelerator.titanium[0xab8c][146] : line = 14; Sep 21 13:55:22 unknown UIKitApplication:com.appcelerator.titanium[0xab8c][146] : message = "Result of expression 'Ti.dumpCoverage' [undefined] is not a function."; Sep 21 13:55:22 unknown UIKitApplication:com.appcelerator.titanium[0xab8c][146] : name = TypeError; Sep 21 13:55:22 unknown UIKitApplication:com.appcelerator.titanium[0xab8c][146] : sourceId = 74297896; Sep 21 13:55:22 unknown UIKitApplication:com.appcelerator.titanium[0xab8c][146] : sourceURL = "file://localhost/var/mobile/Applications/E4112D1A-E207-40CE-A212-07A3848353D3/KitchenSink.app/main_windows/base_ui.js"; Sep 21 13:55:22 unknown UIKitApplication:com.appcelerator.titanium[0xab8c][146] : } Sep 21 13:55:23 unknown UIKitApplication:com.appcelerator.titanium[0xab8c][146] : [INFO] tab Base UI prevTab = Controls Steps to Reproduce: 1) Install KS with SDK 1.7.2 onto iOS 5 device 2) Ensure that Xcode is logging via console 3) Launch KS and navigate to the Base_UI tab Results: Console logs warning as listed above Expected results: No warnings when focusing the Base_UI tab Notes: Does not occur with iOS 4.3x Does not occur with SDK 1.8.0.v20110922105247

Comments

  1. Reggie Seagraves 2011-09-28

    The 1.8 Kitchen Sink was run against the 1.7.2 SDK.
  2. Eric Merriman 2011-09-28

    Verified invalid. Caused by running 1.8.0 KS with 1.7.2 SDK.

JSON Source