java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.RuntimeException: Unable to pause activity {com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'double android.location.Location.getLatitude()' on a null object reference at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4429) at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4388) at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4363) at android.app.ActivityThread.access$1200(ActivityThread.java:210) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1722) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6938) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'double android.location.Location.getLatitude()' on a null object reference at org.onebusaway.android.map.googlemapsv2.BaseMapFragment.onPause(BaseMapFragment.java:283) at android.support.v4.app.Fragment.performPause(Fragment.java:2123) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1118) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1230) at android.support.v4.app.FragmentManagerImpl.dispatchPause(FragmentManager.java:2056) at android.support.v4.app.FragmentController.dispatchPause(FragmentController.java:198) at android.support.v4.app.FragmentActivity.onPause(FragmentActivity.java:401) at org.onebusaway.android.ui.HomeActivity.onPause(HomeActivity.java:338) at android.app.Activity.performPause(Activity.java:6731) at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1338) at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4415) ... 11 more
No Bugmate found.