Skip to content

App crash: parameter must be a descendant of this view #38925

Description

@vladimir-vasilev

Description

cannot reproduce by myself, this is the report from Firebase Crashlytics:

Fatal Exception: java.lang.IllegalArgumentException
parameter must be a descendant of this view

android.view.ViewGroup.offsetRectBetweenParentAndChild (ViewGroup.java:6326)
android.view.ViewGroup.offsetDescendantRectToMyCoords (ViewGroup.java:6245)
android.view.ViewRootImpl.scrollToRectOrFocus (ViewRootImpl.java:4554)
android.view.ViewRootImpl.draw (ViewRootImpl.java:4120)
android.view.ViewRootImpl.performDraw (ViewRootImpl.java:3964)
android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:3228)
android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:2079)
android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:8416)
android.view.Choreographer$CallbackRecord.run (Choreographer.java:972)
android.view.Choreographer.doCallbacks (Choreographer.java:796)
android.view.Choreographer.doFrame (Choreographer.java:731)
android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:957)
android.os.Handler.handleCallback (Handler.java:938)
android.os.Handler.dispatchMessage (Handler.java:99)
android.os.Looper.loop (Looper.java:223)
android.app.ActivityThread.main (ActivityThread.java:7989)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:635)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947)

reproduces on some devices like Samsung Galaxy A03 Core, ZTE Blade A3 2019 android v. 8,9,11,12

React Native Version

0.71.2

Output of npx react-native info

no problem with my own environment

Steps to reproduce

cannot reproduce by myself

Snack, screenshot, or link to a repository

cannot provide

Activity

  1. added
    Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.
    on Aug 10, 2023
  2. github-actions commented on Aug 10, 2023

    @github-actions
    ⚠️ Missing Reproducible Example
    ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
    • If your bug is UI related: a Snack
    • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.
  3. github-actions commented on Aug 10, 2023

    @github-actions
    ⚠️ Newer Version of React Native is Available!
    ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.71.12. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.
  4. cortinico commented on Aug 11, 2023

    @cortinico
    Contributor

    Duplicates #32649

    Sadly, without a reproducer we can't fix this in any form practically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions