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 resume activity {highski.developers.cflash/highski.developers.cflash.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void highski.developers.cflash.connection_check.MyApplication.setConnectivityListener(highski.developers.cflash.connection_check.ConnectivityReceiver$ConnectivityReceiverListener)' on a null object reference at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2986) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3017) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) 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:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void highski.developers.cflash.connection_check.MyApplication.setConnectivityListener(highski.developers.cflash.connection_check.ConnectivityReceiver$ConnectivityReceiverListener)' on a null object reference at highski.developers.cflash.fragments.HomeFragment.onResume(HomeFragment.java:362) at android.support.v4.app.Fragment.performResume(Fragment.java:2020) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1107) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1234) at android.support.v4.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:2056) at android.support.v4.app.FragmentController.dispatchResume(FragmentController.java:196) at android.support.v4.app.FragmentActivity.onResumeFragments(FragmentActivity.java:504) at android.support.v4.app.FragmentActivity.onPostResume(FragmentActivity.java:493) at android.support.v7.app.AppCompatActivity.onPostResume(AppCompatActivity.java:178) at android.app.Activity.performResume(Activity.java:6089) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2975)
No Bugmate found.