Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

Code Push Android App crash after Update #995

@kumark86

Description

@kumark86

Steps to Reproduce

  1. Open the app and got the update dialog from code push
  2. Install the update
  3. App got crash after getting updated

Expected Behavior

What you expected to happen?

Update the app from code push

Actual Behavior

What actually happens?

 com.facebook.react.uimanager.IllegalViewOperationException: Trying to remove a view index above child count 0 view tag: 11
                                                  detail: View tag:-1
                                                   children(0): [
                                                  ],
                                                   indicesToRemove(1): [
                                                 0,
                                                  ],
                                                   tagsToDelete(1): [
                                                 156,
                                                  ]
                                                 
                                                     at com.facebook.react.uimanager.NativeViewHierarchyManager.manageChildren(NativeViewHierarchyManager.java:346)
                                                     at com.facebook.react.uimanager.UIViewOperationQueue$ManageChildrenOperation.execute(UIViewOperationQueue.java:177)
                                                     at com.facebook.react.uimanager.UIViewOperationQueue$1.run(UIViewOperationQueue.java:776)
                                                     at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:855)
                                                     at com.facebook.react.uimanager.UIViewOperationQueue.access$1600(UIViewOperationQueue.java:46)
                                                     at com.facebook.react.uimanager.UIViewOperationQueue$2.runGuarded(UIViewOperationQueue.java:813)
                                                     at com.facebook.react.bridge.GuardedRunnable.run(GuardedRunnable.java:21)
                                                     at android.os.Handler.handleCallback(Handler.java:733)
                                                     at android.os.Handler.dispatchMessage(Handler.java:95)
                                                     at android.os.Looper.loop(Looper.java:136)
                                                     at android.app.ActivityThread.main(ActivityThread.java:5584)
                                                     at java.lang.reflect.Method.invokeNative(Native Method)
                                                     at java.lang.reflect.Method.invoke(Method.java:515)
                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
                                                     at dalvik.system.NativeStart.main(Native Method)

Environment

  • react-native-code-push version: 4.0.0-beta
  • react-native version:0.46.1
  • iOS/Android/Windows version: kitkat
  • Does this reproduce on a debug build or release build? release build
  • Does this reproduce on a simulator, or only on a physical device? I have tested only in physical device

(The more info the faster we will be able to address it!)

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