Skip to content

Instantly share code, notes, and snippets.

# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
@rrichter
rrichter / gist:1286543
Created October 14, 2011 08:15
Crashlog
Process: BugTest [5607]
Path: /Users/USER/Library/Application Support/iPhone Simulator/*/BugTest.app/BugTest
Identifier: BugTest
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [126]
Date/Time: 2011-10-14 10:14:41.424 +0200
OS Version: Mac OS X 10.7.1 (11B26)
Report Version: 9
var win = Titanium.UI.createWindow();
var table = Titanium.UI.createTableView();
for(var i = 1; i < 200; i +=1 )
{
table.appendRow(Titanium.UI.createTableViewRow({
title:'Row ' + i,
}));
// 1) Uncomment next line to reproduce bug:
@rrichter
rrichter / gist:1280647
Created October 12, 2011 08:29
Crashlog
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of sections. The number of sections contained in the table view after the update (1) must be equal to the number of sections contained in the table view before the update (1), plus or minus the number of sections inserted or deleted (1 inserted, 0 deleted).'
*** Call stack at first throw:
(
0 CoreFoundation 0x0262c5a9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x02780313 objc_exception_throw + 44
2 CoreFoundation 0x025e4ef8 +[NSException raise:format:arguments:] + 136
3 Foundation 0x0077c3bb -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
4 UIKit 0x009ff988 -[UITableView(_UITableViewPrivate) _endCellAnimationsWithContext:] + 7137
5 UIKit 0x009eef42 -[UITableView insertSections:withRowAn