java.lang.NullPointerException

b4x.com | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at anywheresoftware.b4a.objects.ViewWrapper.getWidth()
  2. anywheresoftware.b4a.objects
    TabHostWrapper.AddTab
    1. anywheresoftware.b4a.objects.ViewWrapper.getWidth(ViewWrapper.java:126)
    2. anywheresoftware.b4a.objects.TabHostWrapper.createPanelForLayoutFile(TabHostWrapper.java:115)
    3. anywheresoftware.b4a.objects.TabHostWrapper.AddTab(TabHostWrapper.java:105)
    3 frames
  3. dk.trisect.AppsAndroid
    main._imgforside_click
    1. dk.trisect.AppsAndroid.main._imgforside_click(main.java:626)
    1 frame
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  5. anywheresoftware.b4a
    BA.raiseEvent
    1. anywheresoftware.b4a.BA.raiseEvent2(BA.java:170)
    2. anywheresoftware.b4a.BA.raiseEvent2(BA.java:158)
    3. anywheresoftware.b4a.BA.raiseEvent(BA.java:154)
    3 frames
  6. anywheresoftware.b4a.objects
    ViewWrapper$1.onClick
    1. anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:64)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4162)
    2. android.view.View$PerformClick.run(View.java:17082)
    3. android.os.Handler.handleCallback(Handler.java:615)
    4. android.os.Handler.dispatchMessage(Handler.java:92)
    5. android.os.Looper.loop(Looper.java:137)
    6. android.app.ActivityThread.main(ActivityThread.java:4867)
    6 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774)
    2 frames
  10. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame