[ERROR] The application has crashed with an unhandled exception. Stack trace:

0   CoreFoundation                      0x0291e272 __exceptionPreprocess + 178

1   libobjc.A.dylib                     0x02aadce6 objc_exception_throw + 44

2   CoreFoundation                      0x028c6c28 +[NSException raise:format:arguments:] + 136

3   CoreFoundation                      0x028c6b99 +[NSException raise:format:] + 57

4   UIKit                               0x00c6fe46 -[UIPopoverController presentPopoverFromBarButtonItem:permittedArrowDirections:animated:] + 224

5   timob3291                           0x000de0b7 -[TiUIiPadPopoverProxy updatePopoverNow] + 263

6   timob3291                           0x000ddee0 -[TiUIiPadPopoverProxy show:] + 1824

7   CoreFoundation                      0x02920092 -[NSObject performSelector:withObject:] + 66

8   Foundation                          0x004b8fac __NSThreadPerformPerform + 248

9   CoreFoundation                      0x028f2c0f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15

10  CoreFoundation                      0x028558c3 __CFRunLoopDoSources0 + 243

11  CoreFoundation                      0x028551a4 __CFRunLoopRun + 1012

12  CoreFoundation                      0x02854b04 CFRunLoopRunSpecific + 212

13  CoreFoundation                      0x02854a1b CFRunLoopRunInMode + 123

14  GraphicsServices                    0x02c49f67 GSEventRunModal + 217

15  GraphicsServices                    0x02c4a02c GSEventRun + 115

16  UIKit                               0x007edcf2 UIApplicationMain + 1163

17  timob3291                           0x000030ea main + 410

18  timob3291                           0x00002825 start + 53

2011-09-22 09:57:54.959 timob3291[5086:17603] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIPopoverController presentPopoverFromBarButtonItem:permittedArrowDirections:animated:]: Popovers cannot be presented from a view which does not have a window.'

*** First throw call stack:

(0x291e272 0x2aadce6 0x28c6c28 0x28c6b99 0xc6fe46 0xde0b7 0xddee0 0x2920092 0x4b8fac 0x28f2c0f 0x28558c3 0x28551a4 0x2854b04 0x2854a1b 0x2c49f67 0x2c4a02c 0x7edcf2 0x30ea 0x2825)

terminate called throwing an exception
[DEBUG] App Spec: <DTiPhoneSimulatorApplicationSpecifier 0x1003021d0> specified by path /Users/eric/Documents/Titanium Studio Workspace/timob3291/build/iphone/build/Debug-iphonesimulator/timob3291.app
[DEBUG] SDK Root: <DTiPhoneSimulatorSystemRoot 0x100301230> path=/Developer4.2/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk version=5.0 name=Simulator - iOS 5.0
[DEBUG] using device family ipad
[DEBUG] Session started
[DEBUG] Session did end with error (null)
[INFO] Application has exited from Simulator