AdrianAlcaldeAlzaga / GESPRO_GESTIONTAREAS-1

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 #27

Closed AdrianAlcaldeAlzaga closed 1 year ago

AdrianAlcaldeAlzaga commented 1 year 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)