-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Close when staleThis issue is going to be closed when there is no activity for a whileThis issue is going to be closed when there is no activity for a whileMissing reproThis issue need minimum repro scenarioThis issue need minimum repro scenarioNeeds reviewIssue is ready to be reviewed by a maintainerIssue is ready to be reviewed by a maintainerPlatform: AndroidThis issue is specific to AndroidThis issue is specific to Android
Description
Description
I found this logged on Sentry and it seems to mention a Reanimated stack trace.
Android 10, OnePlus model GM1925 (QKQ1.190716.003)
java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
at android.view.ViewGroup.addViewInner(ViewGroup.java:5131)
at android.view.ViewGroup.addView(ViewGroup.java:4960)
at com.facebook.react.views.view.ReactViewGroup.addView(ReactViewGroup.java:466)
at android.view.ViewGroup.addView(ViewGroup.java:4900)
at com.facebook.react.views.view.ReactClippingViewManager.addView(ReactClippingViewManager.java:38)
at com.facebook.react.views.view.ReactClippingViewManager.addView(ReactClippingViewManager.java:19)
at com.facebook.react.uimanager.NativeViewHierarchyManager.manageChildren(NativeViewHierarchyManager.java:533)
at com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager.manageChildren(ReanimatedNativeHierarchyManager.java:306)
at com.facebook.react.uimanager.UIViewOperationQueue$ManageChildrenOperation.execute(UIViewOperationQueue.java:217)
at com.facebook.react.uimanager.UIViewOperationQueue$1.run(UIViewOperationQueue.java:915)
at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:1026)
at com.facebook.react.uimanager.UIViewOperationQueue.access$2600(UIViewOperationQueue.java:47)
at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1086)
at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29)
at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:175)
at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:85)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1161)
at android.view.Choreographer.doCallbacks(Choreographer.java:986)
at android.view.Choreographer.doFrame(Choreographer.java:894)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1148)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7682)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Expected behavior
No crash.
Actual behavior & steps to reproduce
Native crash, not sure what the circumstances are. Just found it in Sentry.
Snack or minimal code example
Unknown.
Package versions
| name | version |
|---|---|
| react-native | 0.68.1 |
| react-native-reanimated | 2.8.0 |
Affected platforms
- Android
- iOS
- Web
robertwt7, asherLZR, ypohrebennyk and xrustics
Metadata
Metadata
Assignees
Labels
Close when staleThis issue is going to be closed when there is no activity for a whileThis issue is going to be closed when there is no activity for a whileMissing reproThis issue need minimum repro scenarioThis issue need minimum repro scenarioNeeds reviewIssue is ready to be reviewed by a maintainerIssue is ready to be reviewed by a maintainerPlatform: AndroidThis issue is specific to AndroidThis issue is specific to Android