java.lang.RuntimeException: Unable to start activity ComponentInfo{com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void org.onebusaway.android.map.MapModeController.onViewStateRestored(android.os.Bundle)' on a null object reference

GitHub | barbeau | 5 months ago
  1. 0

    NPE in BaseMapFragment.onViewStateRestored()

    GitHub | 5 months ago | barbeau
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void org.onebusaway.android.map.MapModeController.onViewStateRestored(android.os.Bundle)' on a null object reference
  2. 0

    GitHub comment 543#226671673

    GitHub | 6 months ago | cagryInside
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void org.onebusaway.android.map.MapModeController.onViewStateRestored(android.os.Bundle)' on a null object reference
  3. 0

    GitHub comment 543#226570777

    GitHub | 6 months ago | barbeau
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void org.onebusaway.android.map.MapModeController.onViewStateRestored(android.os.Bundle)' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 543#226572395

    GitHub | 6 months ago | barbeau
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void org.onebusaway.android.map.MapModeController.onViewStateRestored(android.os.Bundle)' on a null object reference
  6. 0

    GitHub comment 577#232066508

    GitHub | 5 months ago | barbeau
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void org.onebusaway.android.map.MapModeController.onViewStateRestored(android.os.Bundle)' on a null object reference

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke interface method 'void org.onebusaway.android.map.MapModeController.onViewStateRestored(android.os.Bundle)' on a null object reference

      at org.onebusaway.android.map.googlemapsv2.BaseMapFragment.onViewStateRestored()
    2. org.onebusaway.android
      BaseMapFragment.onViewStateRestored
      1. org.onebusaway.android.map.googlemapsv2.BaseMapFragment.onViewStateRestored(BaseMapFragment.java:345)
      1 frame
    3. Android Support v4
      FragmentActivity.onStart
      1. android.support.v4.app.Fragment.restoreViewState(Fragment.java:469)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1094)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
      4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:742)
      5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
      6. android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:339)
      7. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:601)
      7 frames
    4. org.onebusaway.android
      HomeActivity.onStart
      1. org.onebusaway.android.ui.HomeActivity.onStart(HomeActivity.java:330)
      1 frame
    5. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1234)
      2. android.app.Activity.performStart(Activity.java:6258)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2624)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
      5. android.app.ActivityThread.access$900(ActivityThread.java:172)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:145)
      9. android.app.ActivityThread.main(ActivityThread.java:5835)
      9 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
      2 frames