iOS Question [SOLVED]App crashing need help tracking it down

tsteward

Well-Known Member
Licensed User
Longtime User
I always struggle to understand the log output.
Hoping someone help point work out where my app is crashing.

My App LARA loads Vehicle data from a local database then downloads feedback add by my users from an online database.

I have no issues when running on android. So I guess android is more forgiving somewhere.
It doesn't crash on every vehicle I load, just some and consistently the same ones.

 

tsteward

Well-Known Member
Licensed User
Longtime User
here is full log
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
Error occurred on line: 15 (B4XPages)
*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[3]

Maybe related to SQL query parameters.
 
Upvote 0

tsteward

Well-Known Member
Licensed User
Longtime User
The odd thing is in debug mode if I step through the code looking for the line that crashes it all works fine.

It is as if the app moves on before getting data or something but slowing it down and all is fine
 
Upvote 0

b4x-de

Active Member
Licensed User
Longtime User
Could you please post the relevant code snippet here to understand how you try to achieve what you have described above.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
Without any code, we just only make guesses.
I think you are trying to read a result return from a http request or resumable sub but not handled properly with wait for.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…