alexandrudsc / University-timetable-Android

Android app for University "Stefan cel Mare" of Suceava, Romania. Timetable and personal organiser
4 stars 1 forks source link

java.lang.NullPointerException in ListViewAdapterNonCurWeek #46

Closed alexandrudsc closed 4 years ago

alexandrudsc commented 4 years ago
Caused by: java.lang.NullPointerException: 

  at com.developer.alexandru.orarusv.action_bar.ListViewAdapterNonCurWeek.<init> (ListViewAdapterNonCurWeek.java)

  at com.developer.alexandru.orarusv.action_bar.NonCurrentWeekFragment.onCreateView (NonCurrentWeekFragment.java)

  at com.developer.alexandru.orarusv.action_bar.NonCurrentWeekFragment.onCreateOptionsMenu (NonCurrentWeekFragment.java)

  at androidx.fragment.app.Fragment.getLifecycle (Fragment.java)

  at androidx.fragment.app.Fragment.setArguments (Fragment.java)

  at androidx.fragment.app.Fragment.setHasOptionsMenu (Fragment.java)

  at androidx.fragment.app.Fragment.onCreateAnimator (Fragment.java)

  at androidx.fragment.app.Fragment.onOptionsMenuClosed (Fragment.java)

  at androidx.fragment.app.Fragment.onContextItemSelected (Fragment.java)

  at androidx.fragment.app.Fragment.performCreateView (Fragment.java)

  at androidx.fragment.app.Fragment.performCreateOptionsMenu (Fragment.java)

  at androidx.fragment.app.Fragment.setStateAfterAnimating (Fragment.java)

  at androidx.fragment.app.FragmentManagerImpl.throwException (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.beginTransaction (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.popBackStack (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.popBackStackImmediate (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.putFragment (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.getFragment (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.saveFragmentInstanceState (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dump (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.makeOpenCloseAnimation (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.makeFadeAnimation (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.loadAnimation (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.moveToState (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.animateRemoveFragment (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.moveToState (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.addFragment (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.findFragmentById (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.findFragmentByTag (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.enqueueAction (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.allocBackStackIndex (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.setBackStackIndex (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.executePostponedTransaction (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.makeRemovedFragmentsInvisible (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.postponePostponableTransactions (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.completeExecute (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.popBackStackState (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.restoreSaveState (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.attachController (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchMultiWindowModeChanged (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchConfigurationChanged (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchCreateOptionsMenu (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchPrepareOptionsMenu (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchOptionsItemSelected (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.setMaxLifecycle (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchOnFragmentPreAttached (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchOnFragmentPreCreated (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchOnFragmentViewCreated (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.execPendingActions (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.throwException (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.beginTransaction (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.popBackStack (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.popBackStackImmediate (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.putFragment (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.getFragment (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.saveFragmentInstanceState (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dump (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.makeOpenCloseAnimation (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.makeFadeAnimation (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.loadAnimation (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.moveToState (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.animateRemoveFragment (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.moveToState (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.addFragment (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.findFragmentById (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.findFragmentByTag (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.enqueueAction (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.allocBackStackIndex (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.setBackStackIndex (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.executePostponedTransaction (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.makeRemovedFragmentsInvisible (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.postponePostponableTransactions (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.completeExecute (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.popBackStackState (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.restoreSaveState (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.attachController (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchMultiWindowModeChanged (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchConfigurationChanged (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchCreateOptionsMenu (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchPrepareOptionsMenu (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchOptionsItemSelected (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.setMaxLifecycle (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchOnFragmentPreAttached (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchOnFragmentPreCreated (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchOnFragmentViewCreated (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.handleOnBackPressed (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.removeRetainedFragment (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchOnFragmentViewDestroyed (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.detachFragment (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentManagerImpl.dispatchActivityCreated (FragmentManagerImpl.java)

  at androidx.fragment.app.FragmentController.dispatchActivityCreated (FragmentController.java)

  at androidx.fragment.app.FragmentActivity.onStart (FragmentActivity.java)

  at androidx.appcompat.app.AppCompatActivity.onStart (AppCompatActivity.java)

  at android.app.Instrumentation.callActivityOnStart (Instrumentation.java:1256)

  at android.app.Activity.performStart (Activity.java:6959)

  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2890)

  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2988)

  at android.app.ActivityThread.-wrap14 (ActivityThread.java)

  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1631)

  at android.os.Handler.dispatchMessage (Handler.java:102)

  at android.os.Looper.loop (Looper.java:154)

  at android.app.ActivityThread.main (ActivityThread.java:6682)

  at java.lang.reflect.Method.invoke (Method.java)

  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)

  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)
alexandrudsc commented 4 years ago

raised the level, this affected 34 users so far. it is outrageous

alexandrudsc commented 4 years ago

reproduced by rotating the screen with a non current week fragment up on the screen

alexandrudsc commented 4 years ago

c3b775a6647045e6369b249df315f340173c9d49