jrs1002 / GESPRO_GESTIONTAREAS

Aprendizaje de la gestión de tareas mediante la simulación de un proceso Scrum..
0 stars 0 forks source link

NullPointerException al pasar a landscape #11

Closed mmv1001 closed 6 years ago

mmv1001 commented 6 years ago

En alguna actividades si pasas a landscape y das a back button salta una excepción.

Process: com.davidmiguel.gobees.mock, PID: 21312 java.lang.RuntimeException: Unable to resume activity {com.davidmiguel.gobees.mock/com.davidmiguel.gobees.hive.HiveActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void com.davidmiguel.gobees.hive.HiveContract$Presenter.start()' on a null object reference at android.app.ActivityThread.performResumeActivity(ActivityThread.java) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java) at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java) at android.app.ActivityThread.access$1000(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java) at android.os.Handler.dispatchMessage(Handler.java) at android.os.Looper.loop(Looper.java) at android.app.ActivityThread.main(ActivityThread.java) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java) Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void com.davidmiguel.gobees.hive.HiveContract$Presenter.start()' on a null object reference at com.davidmiguel.gobees.hive.HiveRecordingsFragment.onResume(HiveRecordingsFragment.java:119) at android.support.v4.app.Fragment.performResume(Fragment.java:2133) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1156) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1295) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1277) at android.support.v4.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:2164) at android.support.v4.app.FragmentController.dispatchResume(FragmentController.java:223) at android.support.v4.app.FragmentActivity.onResumeFragments(FragmentActivity.java:509) at android.support.v4.app.FragmentActivity.onPostResume(FragmentActivity.java:498) at android.support.v7.app.AppCompatActivity.onPostResume(AppCompatActivity.java:175) at android.app.Activity.performResume(Activity.java)

mmv1001 commented 6 years ago

@mmv1001 added a commit that referenced this issue on 29 Jan 2017