Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

androidx.fragment.app.Fragment.instantiate Fragment.java, line 613 #2037

Closed
Mushthak007 opened this issue Feb 19, 2024 · 3 comments
Closed
Labels
Close when stale This issue is going to be closed when there is no activity for a while Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android

Comments

@Mushthak007
Copy link

Description

androidx.fragment.app.Fragment.instantiate
Fragment.java, line 613

Steps to reproduce

androidx.fragment.app.Fragment.instantiate
Fragment.java, line 613

Snack or a link to a repository

androidx.fragment.app.Fragment.instantiate Fragment.java, line 613

Screens version

3.16.0

React Native version

0.69.0

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

@github-actions github-actions bot added Platform: Android This issue is specific to Android Missing repro This issue need minimum repro scenario labels Feb 19, 2024
Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@Mushthak007
Copy link
Author

com.swmansion.rnscreens.ScreenFragment. ScreenFragment.kt:57
com.swmansion.rnscreens.ScreenStackFragment. ScreenStackFragment.kt:38
java.lang.reflect.Constructor.newInstance0 Constructor.java
java.lang.reflect.Constructor.newInstance Constructor.java:343
androidx.fragment.app.Fragment.instantiate Fragment.java:613
androidx.fragment.app.FragmentContainer.instantiate FragmentContainer.java:57
androidx.fragment.app.FragmentManager$3.instantiate FragmentManager.java:483
androidx.fragment.app.FragmentStateManager. FragmentStateManager.java:85
androidx.fragment.app.FragmentManager.restoreSaveState FragmentManager.java:2728
androidx.fragment.app.FragmentController.restoreSaveState FragmentController.java:198
androidx.fragment.app.FragmentActivity$2.onContextAvailable FragmentActivity.java:149
androidx.activity.contextaware.ContextAwareHelper.dispatchOnContextAvailable ContextAwareHelper.java:99
androidx.activity.ComponentActivity.onCreate ComponentActivity.java:352
androidx.fragment.app.FragmentActivity.onCreate FragmentActivity.java:273
com.facebook.react.ReactActivity.onCreate ReactActivity.java:45
android.app.Activity.performCreate Activity.java:8683
android.app.Activity.performCreate Activity.java:8662
android.app.Instrumentation.callActivityOnCreate Instrumentation.java:1417
android.app.ActivityThread.performLaunchActivity ActivityThread.java:4165
android.app.ActivityThread.handleLaunchActivity ActivityThread.java:4340
android.app.servertransaction.LaunchActivityItem.execute LaunchActivityItem.java:101
android.app.servertransaction.TransactionExecutor.executeCallbacks TransactionExecutor.java:135
android.app.servertransaction.TransactionExecutor.execute TransactionExecutor.java:95
android.app.ActivityThread$H.handleMessage ActivityThread.java:2584
android.os.Handler.dispatchMessage Handler.java:106
android.os.Looper.loopOnce Looper.java:226
android.os.Looper.loop Looper.java:313
android.app.ActivityThread.main ActivityThread.java:8810
java.lang.reflect.Method.invoke Method.java
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run RuntimeInit.java:604
com.android.internal.os.ZygoteInit.main ZygoteInit.java:1067

@tboba
Copy link
Member

tboba commented Feb 19, 2024

Hey @Mushthak007 👋
This description doesn't say too much about the issue that happens for you. Could you write correct description for the issue, including the steps to reproduce?
Could you also check if this error happens on the newest version of Screens?
Have you tried the solution mentioned here: #17 (comment)?

@tboba tboba added the Close when stale This issue is going to be closed when there is no activity for a while label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Close when stale This issue is going to be closed when there is no activity for a while Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android
Projects
None yet
Development

No branches or pull requests

2 participants