Android Question App crashes on re-start???

tsteward

Well-Known Member
Licensed User
Longtime User
If I open my app. then back out of it, then re open the app it crashes.
I'm guessing something is not re-initializing maybe.

Is anyone able to make anything out of this crash report that might point me in the right direction?

Please

 

tsteward

Well-Known Member
Licensed User
Longtime User
Where is your project upload showing the problem?
Sorry I can't upload the program its way too large was just hoping there was something in the crash report that I couldn't see.
 
Upvote 0

Sandman

Expert
Licensed User
Longtime User
To me this seems to be the clue:
~e:java.lang.NullPointerException: Attempt to invoke virtual method 'void anywheresoftware.b4a.objects.collections.Map.Clear()' on a null object reference

When you back out of your app, it's not actually quit. So when you return you try to clear a map, but that variable isn't available anymore. Nearby in the log b4xsearchtemplate is mentioned so I'm thinking that's also a clue.

Sorry, I don't have better input, I hope that helps somewhat at least.
 
Reactions: eps
Upvote 0

tsteward

Well-Known Member
Licensed User
Longtime User
Awesome thank you I'll have a look.
Just can't see the forest for the trees
 
Upvote 0

tsteward

Well-Known Member
Licensed User
Longtime User
Well done sandman. Problem found and solved
Thank you
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…