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

crash error #30785

Closed
Zhangyinbi opened this issue Jan 25, 2021 · 6 comments
Closed

crash error #30785

Zhangyinbi opened this issue Jan 25, 2021 · 6 comments
Labels
Needs: Triage 🔍 Resolution: Locked This issue was locked by the bot.

Comments

@Zhangyinbi
Copy link

Description:
java.lang.IndexOutOfBoundsException: getChildDrawingOrder() returned invalid index 3 (child count is 3)
at android.view.ViewGroup.getAndVerifyPreorderedIndex(ViewGroup.java:2045)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4246)
at android.view.View.draw(View.java:20620)
at android.view.View.updateDisplayListIfDirty(View.java:19444)
at android.view.View.draw(View.java:20325)
at android.view.ViewGroup.drawChild(ViewGroup.java:4508)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4264)
at android.view.View.updateDisplayListIfDirty(View.java:19435)
at android.view.View.draw(View.java:20325)
at android.view.ViewGroup.drawChild(ViewGroup.java:4508)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4264)
at com.dcloud.android.widget.AbsoluteLayout.dispatchDraw(Unknown Source:57)
at android.view.View.updateDisplayListIfDirty(View.java:19435)
at android.view.View.draw(View.java:20325)
at android.view.ViewGroup.drawChild(ViewGroup.java:4508)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4264)
at com.dcloud.android.widget.AbsoluteLayout.dispatchDraw(Unknown Source:57)
at android.view.View.updateDisplayListIfDirty(View.java:19435)
at android.view.View.draw(View.java:20325)
at android.view.ViewGroup.drawChild(ViewGroup.java:4508)
at io.dcloud.common.core.ui.l.drawChild(Unknown Source:7)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4264)
at io.dcloud.common.core.ui.b$b.dispatchDraw(Unknown Source:0)
at android.view.View.draw(View.java:20620)
at android.view.View.updateDisplayListIfDirty(View.java:19444)
at android.view.View.draw(View.java:20325)
at android.view.ViewGroup.drawChild(ViewGroup.java:4508)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4264)
at android.view.View.updateDisplayListIfDirty(View.java:19435)
at android.view.View.draw(View.java:20325)
at android.view.ViewGroup.drawChild(ViewGroup.java:4508)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4264)
at android.view.View.updateDisplayListIfDirty(View.java:19435)
at android.view.View.draw(View.java:20325)
at android.view.ViewGroup.drawChild(ViewGroup.java:4508)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4264)
at android.view.View.updateDisplayListIfDirty(View.java:19435)
at android.view.View.draw(View.java:20325)
at android.view.ViewGroup.drawChild(ViewGroup.java:4508)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4264)
at android.view.View.draw(View.java:20620)
at com.android.internal.policy.DecorView.draw(DecorView.java:916)
at android.view.View.updateDisplayListIfDirty(View.java:19444)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:690)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:696)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:805)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:3984)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3759)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3055)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1815)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8237)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:995)
at android.view.Choreographer.doCallbacks(Choreographer.java:807)
at android.view.Choreographer.doFrame(Choreographer.java:739)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:981)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:226)
at android.app.ActivityThread.main(ActivityThread.java:7212)
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:956)
React Native version:
version : 0.50.1
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
This is an exception that happened when we did cloud survey,we don't know the exact scene.
Expected Results
i want to know what happened and how to solve it
Snack, code example, screenshot, or link to a repository:
nothing

@dulmandakh
Copy link
Contributor

Hello, you please check if the issue persists in the latest version. I'm closing this until we have more information.

@Zhangyinbi
Copy link
Author

At present, we have a wide range of influence and there is no way to upgrade the version. Now,i just want to know has a similar case happened before

@dulmandakh
Copy link
Contributor

Your version is way too old, RN developers support only latest version which is 0.63. You can search issue tracker for same issue, instead of filing an issue. I would recommend to upgrade RN.

@pbassut
Copy link

pbassut commented Feb 3, 2021

I'm using 0.63.1 and I can confirm this is happening. App closes out of nowhere. What info can I give to help diagnose the issue?

@jocoders
Copy link

I have the same issue on "react-native": "0.63.2"

@aardvarkk
Copy link

I ran into this problem recently. In my case it was triggered by a <RefreshControl> element that was just sitting in the component tree (as opposed to being the refreshControl prop of a ScrollView). After adding a ScrollView and passing the RefreshControl to it, the crash went away.

@facebook facebook locked as resolved and limited conversation to collaborators Jan 25, 2022
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jan 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs: Triage 🔍 Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants