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. Rob Bliss

    Android Question "Attempt to get length of null array" on Camera Picture Sizes

    I haven't managed to replicate the error myself, however a user of mine has experienced it. He's tried to load the camera, and then it crashed with: "java.lang.NullPointerException: Attempt to get length of null array" which was caused by the bottom line. Sub Camera1_Ready (Success As Boolean)...
Top