java.lang.nullpointerexception

  1. D

    Android Question NullPointerException Error

    Why does this error occur? Error in this line: Drawer.CenterPanel.AddView(Content11,0,0,100%x,100%y) 'Dim Drawer As B4XDrawer Exception java.lang.NullPointerException: Attempt to invoke virtual method 'void anywheresoftware.b4a.objects.PanelWrapper.AddView(android.view.View, int, int, int...
  2. nima66

    Android Question java.lang.NullPointerException error when calling function

    Is it possible that in Android 12 and above, when we leave the app for 5 minutes and return to the app, the module code cannot be recognized? This happened for a variable from the list on some phones and I fixed it. I store user errors in the server database. Now the problem is that sometimes...
  3. R

    Android Question B4XProgressBar java.lang.NullPointerException

    Trying out this class: https://www.b4x.com/android/forum/threads/b4x-xui-b4xprogressbar.90826/ I am using the unaltered class and use it like this from Main: Sub TestProgressBar Dim i As Int pnlFindPat.LoadLayout("progressbar") ProgressBar1.Initialize("Main", "B4XProgressBar1") For i = 0...
Top