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

com.facebook.react.uimanager.IllegalViewOperationException #16412

Closed
thoth-nexlesoft opened this issue Oct 16, 2017 · 5 comments
Closed

com.facebook.react.uimanager.IllegalViewOperationException #16412

thoth-nexlesoft opened this issue Oct 16, 2017 · 5 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@thoth-nexlesoft
Copy link

Is this a bug report?

My app has a bug on Google Play:

com.facebook.react.uimanager.IllegalViewOperationException: Trying to remove a view index above child count 3 view tag: 912
detail: View tag:912
children(2): [
1736,1800,
],
indicesToRemove(1): [
3,
],
tagsToDelete(1): [
1736,
]
at com.facebook.react.uimanager.NativeViewHierarchyManager.manageChildren(NativeViewHierarchyManager.java
  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$DispatchUIFrameCallback.doFrameGuarded (UIViewOperationQueue.java:900)
  at com.facebook.react.uimanager.GuardedFrameCallback.doFrame (GuardedFrameCallback.java:31)
  at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame (ReactChoreographer.java:136)
  at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame (ChoreographerCompat.java:107)
  at android.view.Choreographer$CallbackRecord.run (Choreographer.java:957)
  at android.view.Choreographer.doCallbacks (Choreographer.java:734)
  at android.view.Choreographer.doFrame (Choreographer.java:667)
  at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:945)
  at android.os.Handler.handleCallback (Handler.java:751)
  at android.os.Handler.dispatchMessage (Handler.java:95)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6776)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)

Environment

Node:  8.1.2
Yarn:  0.24.6
npm:  5.3.0
Watchman:  4.7.0
Xcode:  Xcode 8.3.3 Build version 8E3004b
Android Studio:  2.3 AI-162.4069837

Packages: (wanted => installed)
react: ^16.0.0-alpha.12 => 16.0.0-alpha.12
react-native: ^0.48.4 => 0.48.4

Steps to Reproduce

I can't reproduce this bug.
Can you help me ?

@tiaaaa123
Copy link

I'm getting this issue from so many users too!


abi21_0_0.com.facebook.react.uimanager.IllegalViewOperationException: Trying to add unknown view tag: 26
detail: View tag:15
children(2): [
20,24,
],
viewsToAdd(1): [
[2,26],
],
at abi21_0_0.com.facebook.react.uimanager.NativeViewHierarchyManager.manageChildren(NativeViewHierarchyManager.java
  at abi21_0_0.com.facebook.react.uimanager.UIViewOperationQueue$ManageChildrenOperation.execute (UIViewOperationQueue.java:177)
  at abi21_0_0.com.facebook.react.uimanager.UIViewOperationQueue$1.run (UIViewOperationQueue.java:776)
  at abi21_0_0.com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches (UIViewOperationQueue.java:855)
  at abi21_0_0.com.facebook.react.uimanager.UIViewOperationQueue.access$1600 (UIViewOperationQueue.java:46)
  at abi21_0_0.com.facebook.react.uimanager.UIViewOperationQueue$2.runGuarded (UIViewOperationQueue.java:813)
  at abi21_0_0.com.facebook.react.bridge.GuardedRunnable.run (GuardedRunnable.java:21)
  at android.os.Handler.handleCallback (Handler.java:751)
  at android.os.Handler.dispatchMessage (Handler.java:95)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6682)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)

My dependencies:

  "dependencies": {
    "@bam.tech/react-native-root-siblings": "^1.2.1",
    "@expo/ex-navigation": "~3.0.0",
    "deepmerge": "^1.3.2",
    "expo": "^21.0.0",
    "immutable": "^3.8.1",
    "lodash.debounce": "^4.0.8",
    "moment": "^2.18.1",
    "moment-duration-format": "^1.3.0",
    "moment-timezone": "^0.5.13",
    "react": "16.0.0-alpha.12",
    "react-native": "https://github.com/expo/react-native/archive/sdk-21.0.2.tar.gz",
    "react-native-animatable": "^1.2.4",
    "react-native-autocomplete-input": "3.1.0",
    "react-native-autolink": "^1.0.0",
    "react-native-flip-card": "3.4.1",
    "react-native-i18n": "^1.0.0",
    "react-native-swipeable": "^0.6.0",
    "react-native-swiper": "^1.5.10",
    "react-native-vector-icons": "^4.0.1",
    "react-redux": "^5.0.4",
    "redux": "^3.6.0",
    "redux-mock-store": "^1.2.3",
    "redux-thunk": "^2.2.0",
    "reselect": "^3.0.0",
    "sentry-expo": "^1.6.0"
  },

Would it be from expo or it's from react-native?

@thoth-nexlesoft
Copy link
Author

I create project with syntax react-native init

@hramos
Copy link
Contributor

hramos commented Oct 16, 2017

This issue looks like a question that would be best asked on StackOverflow.

StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only.

Will close this as this is really a question that should be asked on StackOverflow.

@hramos hramos closed this as completed Oct 16, 2017
@mathieumg
Copy link

@thoth-nexlesoft If you're using Expo, this might be it: expo/expo#656

@AlessandroAnnini
Copy link

AlessandroAnnini commented Dec 11, 2017

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

No branches or pull requests

6 participants