here is what my output console has to say about whatever is going on:
2011-10-12 11:06:03.203 myapp[300:2103] ERROR whitelist rejection:
url='
http://maps.gstatic.com/intl/en_us/mapfiles/api-3/6/8/main.js'
2011-10-12 11:06:03.205 myapp[300:2103] ERROR whitelist rejection:
url='
http://maps.gstatic.com/intl/en_us/mapfiles/api-3/6/8/main.js'
2011-10-12 11:06:03.205 myapp[300:2103] ERROR whitelist rejection:
url='
http://maps.gstatic.com/intl/en_us/mapfiles/api-3/6/8/main.js'
2011-10-12 11:06:03.338 myapp[300:207] *** Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '-
[__NSCFDictionary setObject:forKey:]: attempt to insert nil value
(key: gap)'
*** Call stack at first throw:
(
0 CoreFoundation 0x0180a5a9
__exceptionPreprocess + 185
1 libobjc.A.dylib 0x0195e313
objc_exception_throw + 44
2 CoreFoundation 0x017c2ef8 +[NSException
raise:format:arguments:] + 136
3 CoreFoundation 0x017c2e6a +[NSException
raise:format:] + 58
4 CoreFoundation 0x01808e15 -[__NSCFDictionary
setObject:forKey:] + 293
5 myapp 0x00024871 -[PhoneGapDelegate
deviceProperties] + 545
6 myapp 0x00024e0e -[PhoneGapDelegate
webViewDidFinishLoad:] + 222
7 myapp 0x00002f9a -[AppDelegate
webViewDidFinishLoad:] + 234
8 CoreFoundation 0x0177ac7d __invoking___ + 29
9 CoreFoundation 0x0177ab51 -[NSInvocation
invoke] + 145
10 CoreFoundation 0x017a8858 -[NSInvocation
invokeWithTarget:] + 72
11 CoreFoundation 0x0177ba04 ___forwarding___ +
1124
12 CoreFoundation 0x0177b522
_CF_forwarding_prep_0 + 50
13 CoreFoundation 0x0177ac7d __invoking___ + 29
14 CoreFoundation 0x0177ab51 -[NSInvocation
invoke] + 145
15 WebCore 0x02cc4140
_ZL20HandleDelegateSourcePv + 64
16 CoreFoundation 0x017eb8ff
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
17 CoreFoundation 0x0174988b
__CFRunLoopDoSources0 + 571
18 CoreFoundation 0x01748d86 __CFRunLoopRun +
470
19 CoreFoundation 0x01748840
CFRunLoopRunSpecific + 208
20 CoreFoundation 0x01748761 CFRunLoopRunInMode
+ 97
21 GraphicsServices 0x01a421c4 GSEventRunModal +
217
22 GraphicsServices 0x01a42289 GSEventRun + 115
23 UIKit 0x0007bc93 UIApplicationMain
+ 1160
24 myapp 0x00002b7f main + 127
25 myapp 0x00002af5 start + 53
26 ??? 0x00000001 0x0 + 1
)
terminate called after throwing an instance of 'NSException'
So i added the *.
gstatic.com (which i never had to do before) to my
extrernal urls and i still get:
2011-10-12 11:14:28.553 myapp[478:207] *** Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '-
[__NSCFDictionary setObject:forKey:]: attempt to insert nil value
(key: gap)'
*** Call stack at first throw:
(
0 CoreFoundation 0x0180a5a9
__exceptionPreprocess + 185
1 libobjc.A.dylib 0x0195e313
objc_exception_throw + 44
2 CoreFoundation 0x017c2ef8 +[NSException
raise:format:arguments:] + 136
3 CoreFoundation 0x017c2e6a +[NSException
raise:format:] + 58
4 CoreFoundation 0x01808e15 -[__NSCFDictionary
setObject:forKey:] + 293
5 myapp 0x00024871 -[PhoneGapDelegate
deviceProperties] + 545
6 myapp 0x00024e0e -[PhoneGapDelegate
webViewDidFinishLoad:] + 222
7 myapp 0x00002f9a -[AppDelegate
webViewDidFinishLoad:] + 234
8 CoreFoundation 0x0177ac7d __invoking___ + 29
9 CoreFoundation 0x0177ab51 -[NSInvocation
invoke] + 145
10 CoreFoundation 0x017a8858 -[NSInvocation
invokeWithTarget:] + 72
11 CoreFoundation 0x0177ba04 ___forwarding___ +
1124
12 CoreFoundation 0x0177b522
_CF_forwarding_prep_0 + 50
13 CoreFoundation 0x0177ac7d __invoking___ + 29
14 CoreFoundation 0x0177ab51 -[NSInvocation
invoke] + 145
15 WebCore 0x02cc4140
_ZL20HandleDelegateSourcePv + 64
16 CoreFoundation 0x017eb8ff
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
17 CoreFoundation 0x0174988b
__CFRunLoopDoSources0 + 571
18 CoreFoundation 0x01748d86 __CFRunLoopRun +
470
19 CoreFoundation 0x01748840
CFRunLoopRunSpecific + 208
20 CoreFoundation 0x01748761 CFRunLoopRunInMode
+ 97
21 GraphicsServices 0x01a421c4 GSEventRunModal +
217
22 GraphicsServices 0x01a42289 GSEventRun + 115
23 UIKit 0x0007bc93 UIApplicationMain
+ 1160
24 myapp 0x00002b7f main + 127
25 myapp 0x00002af5 start + 53
26 ??? 0x00000001 0x0 + 1
)
terminate called after throwing an instance of 'NSException'
[Switching to process 478 thread 0x207]
sharedlibrary apply-load-rules all
Current language: auto; currently objective-c
(gdb)