Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15006] KitchenSink: iOS: Runtime error while adding tab

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-11-07T17:15:25.000+0000
Affected Version/sRelease 3.1.3
Fix Version/s2013 Sprint 18, 2013 Sprint 18 API
ComponentsiOS
Labelsqe-3.1.3
ReporterParas Mishra
AssigneeSabil Rahim
Created2013-08-30T09:22:20.000+0000
Updated2015-02-02T20:47:43.000+0000

Description

Runtime error occurred while adding tab to tabgroup. App runs fine prior to 3.1.3 SDK. Issue occurs in 3.1.3.201308292449 SDK. Steps to reproduce: 1. Navigate to KitchenSink: Tab groups > Add/remove TAB Expected: 1. Should see 'New Tab' added to the view. Actual: Runtime error occurs Here's the log:
Aug 30 14:42:03 GL-iPhone5 KitchenSink[443] <Warning>: [ERROR] Script Error {
	    backtrace = "#0 () at :0";
	    line = 1;
	    message = "Invalid type passed to function";
	    nativeLocation = "-[TiUITabProxy rootController] (TiUITabProxy.m:92)";
	    nativeReason = "expected: TiWindowProxy, was: (null)";
	    sourceId = 72632864;
	    sourceURL = "file://localhost/var/mobile/Applications/B2720910-1A2D-4B1A-B613-2092BC83324A/KitchenSink.app/ui/common/baseui/tab_groups.js";
	}

Comments

  1. Ingo Muschenetz 2013-08-30

    [~srahim], thoughts?
  2. Eric Merriman 2013-09-03

    Attempted to reproduce with: Titanium SDK version 3.1.3.v20130902103448 Titanium Studio, build: 3.1.3.201308302431 KitchenSink 3.1.3 from 3.1.X branch I used Xcode 5 - on iOS 7 and iOS 6.1.3 device Could not reproduce I used Xcode 4.6.3 - on iOS 7 and iOS 6.1.3 device Could not reproduce the issue on the iOS 6 device. On iOS 7, since there are issues with the tableview I was unable to test.
  3. Paras Mishra 2013-09-04

    Add/remove TAB in KitchenSink: Tab groups is working fine. I got error while using the master branch. Its working fine using the recommended 3.1.3 branch. Hence closing the issue.

JSON Source