collapse #2653
Closed
A3148475824
started this conversation in
General
collapse
#2653
Replies: 2 comments 1 reply
-
Use the latest version! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Dupe of #3191 ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment com.github.libretube.ui.fragments.SubscriptionsFragment: calling Fragment constructor caused an exception
at androidx.fragment.app.Fragment.instantiate(Fragment.java:681)
at androidx.fragment.app.FragmentContainer.instantiate(FragmentContainer.java:57)
at androidx.fragment.app.FragmentManager$3.instantiate(FragmentManager.java:507)
at androidx.navigation.fragment.FragmentNavigator.createFragmentTransaction(FragmentNavigator.kt:250)
at androidx.navigation.fragment.FragmentNavigator.navigate(FragmentNavigator.kt:185)
at androidx.navigation.fragment.FragmentNavigator.navigate(FragmentNavigator.kt:164)
at androidx.navigation.NavController.navigateInternal(NavController.kt:260)
at androidx.navigation.NavController.navigate(NavController.kt:1719)
at androidx.navigation.NavController.navigate(NavController.kt:1545)
at androidx.navigation.NavController.navigate(NavController.kt:1472)
at androidx.navigation.NavController.navigate(NavController.kt:1454)
at androidx.navigation.NavController.navigate(NavController.kt:1437)
at com.github.libretube.ui.activities.MainActivity.navigateToBottomSelectedItem(MainActivity.kt:565)
at com.github.libretube.ui.activities.MainActivity.onCreate$lambda$1(MainActivity.kt:131)
at com.github.libretube.ui.activities.MainActivity.$r8$lambda$sSW0nh76RJJnmyJ72uoyVjS5svM(MainActivity.kt:0)
at com.github.libretube.ui.activities.MainActivity$$ExternalSyntheticLambda2.onNavigationItemSelected(R8$$SyntheticClass:0)
at com.google.android.material.navigation.NavigationBarView$1.onMenuItemSelected(NavigationBarView.java:291)
at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:836)
at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:159)
at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:987)
at com.google.android.material.navigation.NavigationBarMenuView$1.onClick(NavigationBarMenuView.java:139)
at android.view.View.performClick(View.java:7751)
at android.view.View.performClickInternal(View.java:7724)
at android.view.View.access$3700(View.java:858)
at android.view.View$PerformClick.run(View.java:29332)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8274)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:576)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1073)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at androidx.fragment.app.Fragment.instantiate(Fragment.java:663)
... 32 more
Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
at android.app.SharedPreferencesImpl.getInt(SharedPreferencesImpl.java:321)
at com.github.libretube.util.PreferenceHelper.getInt(PreferenceHelper.kt:62)
at com.github.libretube.ui.fragments.SubscriptionsFragment.(SubscriptionsFragment.kt:34)
... 35 more
Beta Was this translation helpful? Give feedback.
All reactions