Android Question Weird Debug Error

DawningTruth

Active Member
Licensed User
I am using B4A version: 9.00

When I run my app in Debug mode I get the following error:

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Object.equals(java.lang.Object)' on a null object reference


When I look into the data structure, the particular item is there.

When I step through it works fine. But if I click the play triangle button to resume running the program it crashes again. Very weird indeed.

Any pointers on how to address this one.
 

DawningTruth

Active Member
Licensed User
Resolved. Had to do with erratic behaviour caused by removing an element and recreating it. Had to remove and recreate from parent down, not the view up. Hopefully someone else can learn from this. :cool:
 
Upvote 0
Top