farhan678 / adwhirl

Automatically exported from code.google.com/p/adwhirl
0 stars 0 forks source link

NSPlaceholderString initWithString crash #204

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.This issue occurs randomly.No specific pattern for this.
2.The ads were displaying properly in the middle of the game before this error 
appeared.
3.

What is the expected output? What do you see instead?
The app freezes and is not responsive to the touches.

2011-03-10 14:01:06.576 BubbledropGameV1[309:307] *** Terminating app due to 
uncaught exception 'NSInvalidArgumentException', reason: '*** 
-[NSPlaceholderString initWithString:]: nil argument'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x33ac0987 __exceptionPreprocess + 114
    1   libobjc.A.dylib                     0x3347b49d objc_exception_throw + 24
    2   CoreFoundation                      0x33ac07c9 +[NSException raise:format:arguments:] + 68
    3   CoreFoundation                      0x33ac0803 +[NSException raise:format:] + 34
    4   Foundation                          0x3362b823 -[NSPlaceholderString initWithString:] + 78
    5   BubbledropGameV1                     0x001c4910 -[AdWhirlConfig initWithAppKey:delegate:] + 220
    6   BubbledropGameV1                     0x001c8508 -[AdWhirlConfigStore fetchConfig:delegate:] + 104
    7   BubbledropGameV1                     0x001cc440 -[AdWhirlView attemptFetchConfig] + 128
    8   CoreFoundation                      0x33a5ebbf -[NSObject(NSObject) performSelector:withObject:] + 22
    9   Foundation                          0x33639795 __NSThreadPerformPerform + 268
    10  CoreFoundation                      0x33a767dd __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
    11  CoreFoundation                      0x33a485b7 __CFRunLoopDoSources0 + 382
    12  CoreFoundation                      0x33a47e5b __CFRunLoopRun + 230
    13  CoreFoundation                      0x33a47c87 CFRunLoopRunSpecific + 230
    14  CoreFoundation                      0x33a47b8f CFRunLoopRunInMode + 58
    15  GraphicsServices                    0x33b0e4ab GSEventRunModal + 114
    16  GraphicsServices                    0x33b0e557 GSEventRun + 62
    17  UIKit                               0x32099329 -[UIApplication _run] + 412
    18  UIKit                               0x32096e93 UIApplicationMain + 670
    19  BubbledropGameV1                     0x0000336c main + 100
    20  BubbledropGameV1                     0x000032d0 start + 52
)
terminate called after throwing an instance of 'NSException'

What version of the product are you using? On what operating system?
Adwhirl 2.6.3 
Xcode 4.2 
Admob Version: 2010-11-08 
iAd

Please provide any additional information below.

Original issue reported on code.google.com by indiande...@gmail.com on 1 Apr 2011 at 9:22

GoogleCodeExporter commented 9 years ago
At some point did you change your AdWhirlView's delegate to an object that 
either doesn't respond to the adWhirlApplicationKey selector or responds with 
nil?  That's about all I can think of.

Either way, this isn't an adwhirl bug, but seems an issue with your 
implementation.  I'd take your question to the developer forum.

Original comment by wesgood...@google.com on 1 Apr 2011 at 10:08