Android Question Crazy error. (solved). java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Object.equals(java.lang.Object)' on a null

netsistemas

Active Member
Licensed User
Longtime User
If there were a top 10 silly mistakes, this would be second (you write the one).
I leave it here documented in case it helps someone, or if someone wants to add their crazy error TOP, it would come in handy.
This error code is in B4X and the error is a blank space copy paste fault that brings so much trouble to this world.
2 hours for found this error (kill me).

COVID-19 was the result of a poorly done copy and paste.
B4X:
    Try
      

    modB4A.V_Botella.Initialize
    modB4A.V_Selector.Initialize
    B4XPages.ShowPage ("PaginaMovimientoBotella ") 'view the space to the last of name
  
    Catch
        Log(LastException)
    End Try
 
Top