question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Android] FabricViewStateManager: setState called without a StateWrapper

See original GitHub issue

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

i have no idea what is wrong , but i app get stuck and logcat print FabricViewStateManager: setState called without a StateWrapper repeatedly

React Native version:

Run react-native info in your terminal and copy the results here.

System:
    OS: macOS 11.5.2
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 2.38 GB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.19.0 - /usr/local/bin/node
    Yarn: 1.22.5 - ~/.yarn/bin/yarn
    npm: 7.19.1 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK:
      API Levels: 21, 23, 25, 26, 27, 28, 29, 30
      Build Tools: 23.0.1, 26.0.1, 26.0.2, 27.0.3, 28.0.3, 29.0.2
      System Images: android-30 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 2020.3 AI-203.7717.56.2031.7621141
    Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_212 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: ^17.0.2 => 17.0.2
    react-native: ^0.64.1 => 0.64.1
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

Expected Results

Describe what you expected to happen.

Snack, code example, screenshot, or link to a repository:

Please provide a Snack (https://snack.expo.io/), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. You may provide a screenshot of the application if you think it is relevant to your bug report. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:14
  • Comments:35

github_iconTop GitHub Comments

11reactions
efstathiosntonascommented, Aug 25, 2021

@gigadeplex it’s not only on 0.65.x, it happened to me on 0.64.x too, it would be great if someone from facebook team explain why this is throwing. In my case it won’t crash the app

10reactions
efstathiosntonascommented, Aug 24, 2021

same here on 0.65, error is incredibly crypted, google returns really few results.

Read more comments on GitHub >

github_iconTop Results From Across the Web

setState called without a StateWrapper - Stack Overflow
When i run on Android, it starts to scan and I receive an error "FabricViewStateManager: setState called without a StateWrapper" and cannot ...
Read more >
E/unknown:FabricViewStateManager: setState called without a ...
When using the SwiperFlatList component I get the error: "E/unknown:FabricViewStateManager: setState called without a StateWrapper".
Read more >
setState called without a StateWrapper-Reactjs - appsloveworld
Coding example for the question FabricViewStateManager: setState called without a StateWrapper-Reactjs.
Read more >
Latest topics - RNLAB Support
Topic Replies Views Activity Welcome to RNLAB support channel 1 2016 July 1, 2020 Build Oreo Fashion Error · Store Manager · error 0 52...
Read more >
Problem In React Native Reanimated V2.3.0 During Bundling ...
Problems reloading Android app while using Reanimated v2 Problems ... print FabricViewStateManager: setState called without a StateWrapper ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found