2011-03-01 3 views
0

mon application est plantée lors de l'exécution de [NSXMLParser parse]; déclaration et
je reçois ce qui suit:iphone App se bloque lors de l'analyse

2011-03-01 09: 36: 31,735 MasterApp [228: 207] - [NSCFString octets]: sélecteur non reconnu envoyé à l'instance 0x5f6b000
2011-03-01 09 : 36: 31,738 MasterApp [228: 207] * terminaison de l'application en raison d'exception non interceptée 'NSInvalidArgumentException', motif: '- [NSCFString octets]: sélecteur non reconnu envoyé à l'instance 0x5f6b000'
*
pile d'appel au premier jet:
(
0 CoreFoundation 0x0252eb99 exceptionPreprocess + 185
1 libobjc.A.dylib 0x0267e40e objc_exception_throw + 47
2 CoreFoundation 0x025306ab - [NSObject (NSObject) doesNotRecognizeSelector:] + 187
3 CoreFoundation 0x024a02b6 __ transmission
+ 966
4 CoreFoundation 0x0249fe72 _CF_forwarding_prep_0 + 50
5 Fondation 0x00114afc - [NSXMLParser analyser] + 147
6 MasterApp 0x0000c731 - [identifierList getUrl] + 994
7 MasterApp 0x0000c306 - [identifierList actionSheet: clickedButtonAtIndex:] + 56
8 UIKit 0x0077047d - [UIActionSheet (privé) _buttonClicked:] + 258
9 UIKit 0x002dc7f8 - [UIApplication sendAction: à: de: forEvent:] + 119
10 UIKit 0x00367de0 - [UIControl sendAction: à: forEvent:] + 67
11 UIKit 0x0036a262 - [UIControl (interne) _sendActionsForEvents: withEvent:] + 527
12 UIKit 0x00368e0f - [UIControl touchesEnded: withEvent:] + 458
13 UIKit 0x003003d0 - [UIWindow _sendTouchesForEvent:] + 567
14 UIKit 0x002e1cb4 - [UIApplication sendEvent:] + 447
15 UIKit 0x002e69bf _UIApplicationHandleEvent + 7672
16 GraphicsServices 0x02d8a822 PurpleEventCallback + 1550
17 CoreFoundation 0x0250fff4 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 52
18 CoreFoundation 0x02470807 __CFRunLoopDoSource1 + 215
19 CoreFoundation 0x0246da93 __CFRunLoopRun + 979
20 CoreFoundation 0x0246d350 CFRunLoopRunSpecific + 208
21 CoreFoundation 0x0246d271 CFRunLoopRunInMode + 97
22 GraphicsServices 0x02d8900c GSEventRunModal + 217
23 GraphicsServices 0x02d890d1 GSEventRun + 115
24 UIKit 0x002eaaf2 UIApplicationMain + 1160
25 MasterApp de principal + 102
26 MasterApp 0x00001d4d start + 53
)
se terminent appelé après avoir jeté une instance de
Program 'NSException' reçu signal: "SIGABRT".

vous remercie à l'avance

+0

Juste en lançant des conseils habituels: cela semble manquer de conserver quelque part. – jv42

+0

merci pour la réponse, j'analyse mon code mais retient n'est pas le cas ... encore confondre où est le problème – Pooja

+0

Pouvez-vous ajouter le morceau de code que vous utilisez pour analyser? Il semble que vous envoyez un message (méthode d'appel) qui n'est pas reconnu par l'objet que vous l'envoyez ... – MiKL

Répondre

0

J'essaie juste d'utiliser "urlData" au lieu de WebData dans XmlParser = [[NSXMLParser alloc] initWithData: urlData]; et maintenant il analyse très bien

Questions connexes