I should have posted the console. Here it is:
2012-02-12 00:20:43.764 MyApp-ios[2527:207] Device initialization:
DeviceInfo = {"name":"iPhone Simulator","uuid":"05F2D740-8E77-5107-
B4CD-10AD355756AB","platform":"iPhone
Simulator","gap":"1.4.1","version":"4.3","connection":
{"type":"wifi"}};
2012-02-12 00:20:48.998 MyApp-ios[2527:207] *** Terminating app due to
uncaught exception 'NSRangeException', reason: '*** -[JKArray
objectAtIndex:]: index (1) beyond bounds (1)'
*** Call stack at first throw:
(
0 CoreFoundation 0x01a115a9
__exceptionPreprocess + 185
1 libobjc.A.dylib 0x01b65313
objc_exception_throw + 44
2 CoreFoundation 0x019c9ef8 +[NSException
raise:format:arguments:] + 136
3 CoreFoundation 0x019c9e6a +[NSException
raise:format:] + 58
4 MyApp-ios 0x00030185 -[JKArray
objectAtIndex:] + 197
5 MyApp-ios 0x00012eff -[PGNotification
alert:withDict:] + 143
6 MyApp-ios 0x00046e10 -[PGViewController
execute:] + 560
7 MyApp-ios 0x00003e8f -[AppDelegate execute:]
+ 95
8 MyApp-ios 0x00046a61 -[PGViewController
executeQueuedCommands] + 545
9 MyApp-ios 0x00046b88 -[PGViewController
flushCommandQueue] + 120
10 MyApp-ios 0x00045354 -[PGViewController
webView:shouldStartLoadWithRequest:navigationType:] + 164
11 MyApp-ios 0x000041eb -[AppDelegate
webView:shouldStartLoadWithRequest:navigationType:] + 123
12 UIKit 0x00246a92 -[UIWebView
webView:decidePolicyForNavigationAction:request:frame:decisionListener:]
+ 291
13 CoreFoundation 0x01981c7d __invoking___ + 29
14 CoreFoundation 0x01981b51 -[NSInvocation
invoke] + 145
15 CoreFoundation 0x019af858 -[NSInvocation
invokeWithTarget:] + 72
16 WebKit 0x023d7c76 -
[_WebSafeForwarder forwardInvocation:] + 182
17 CoreFoundation 0x01982a04 ___forwarding___ +
1124
18 CoreFoundation 0x01982522
_CF_forwarding_prep_0 + 50
19 CoreFoundation 0x01981c7d __invoking___ + 29
20 CoreFoundation 0x01981b51 -[NSInvocation
invoke] + 145
21 WebCore 0x02ecb150
_ZL20HandleDelegateSourcePv + 64
22 CoreFoundation 0x019f28ff
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
23 CoreFoundation 0x0195088b
__CFRunLoopDoSources0 + 571
24 CoreFoundation 0x0194fd86 __CFRunLoopRun +
470
25 CoreFoundation 0x0194f840
CFRunLoopRunSpecific + 208
26 CoreFoundation 0x0194f761 CFRunLoopRunInMode
+ 97
27 GraphicsServices 0x01c491c4 GSEventRunModal +
217
28 GraphicsServices 0x01c49289 GSEventRun + 115
29 UIKit 0x000bdc93 UIApplicationMain
+ 1160
30 MyApp-ios 0x00002f3f main + 127
31 MyApp-ios 0x00002eb5 start + 53
)
terminate called after throwing an instance of 'NSException'