java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.NullPointerException

GitHub | BishopGIS | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Crash on start

    GitHub | 6 months ago | BishopGIS
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.nextgis.mobile.fragment.AttributesFragment.onCreateView()
    2. com.nextgis.mobile
      AttributesFragment.onCreateView
      1. com.nextgis.mobile.fragment.AttributesFragment.onCreateView(AttributesFragment.java:123)
      1 frame
    3. Android Support v4
      FragmentActivity.onStart
      1. android.support.v4.app.Fragment.performCreateView(Fragment.java:2074)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
      4. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1268)
      5. android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2143)
      6. android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:201)
      7. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:615)
      7 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1174)
      2. android.app.Activity.performStart(Activity.java:5329)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2168)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
      5. android.app.ActivityThread.access$800(ActivityThread.java:135)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:136)
      9. android.app.ActivityThread.main(ActivityThread.java:5021)
      9 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:827)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame