iOS Question Error after insert Framework


Well-Known Member
Licensed User
Longtime User
Hi all, i 've inserted in my project an external framework ("Moodstock"). I launch one sub, and it's work ok without pass from framework, but if i launch the sub after that i launched framework it give me an error. It's very strange, because sub and code are not related with external framework. The code is this:

Dim map as map

Map is created when i go on this sub, so i don't understand why if i launch the sub after i that i went on external framework it give me this error:
Attempt to insert nil object form objects[1]


Well-Known Member
Licensed User
Longtime User
Can you post the full error message from the logs?

Which line raises this error?
Is a line that i read in xcode. Line error is in Sub LoadGroup, but i'm sure that is related with map. I don't understand why, because in put the value manually..
This is error:
2016-05-16 11:30:41.217 B4iProject[554:110835] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]'
*** First throw call stack:
(0x21c4db8b 0x2140adff 0x21b618cd 0x21b6bae5 0x107bd5 0xfa0a5 0xf0feb 0x1238a1 0x128cb3 0x471ba7 0x471b93 0x476659 0x21c0f7d5 0x21c0dccf 0x21b5c289 0x21b5c07d 0x23178af9 0x262872c5 0xed05b 0x21808873)
libc++abi.dylib: terminating with uncaught exception of type NSException
Upvote 0