Android Question Weird Debug Error

Discussion in 'Android Questions' started by DawningTruth, May 5, 2019.

Tags:
  1. DawningTruth

    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.
     
  2. DawningTruth

    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:
     
    emexes likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice