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

react-native/android: ReactNativeRenderer-prod: getting undefined is not an object (evaluating 't.validAttributes') #24801

Closed
mgenov opened this issue May 10, 2019 · 1 comment
Labels
Bug Platform: Android Android applications. Resolution: Locked This issue was locked by the bot.

Comments

@mgenov
Copy link

mgenov commented May 10, 2019

React Native version:

  React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: (4) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
      Memory: 20.75 MB / 8.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 11.9.0 - /usr/local/bin/node
      Yarn: 1.15.2 - /usr/local/bin/yarn
      npm: 6.9.0 - ~/.npm-packages/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    IDEs:
      Android Studio: 3.4 AI-183.5429.30.34.5452501
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.6 => 16.8.6
      react-native: 0.59.5 => 0.59.5
    npmGlobalPackages:
      create-react-native-app: 1.0.0
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7
      react-native: 0.55.4

Steps To Reproduce

This error happens rarely and in most cases when some amount of traffic is sent through the bridge from the react-native-firebase library.

The code of the application

Crash Error

Fatal Exception: com.facebook.react.common.JavascriptException TypeError: undefined is not an object (evaluating 't.validAttributes'), stack:
  at validAttributes (./s/react-native/Libraries/Renderer/oss/ReactNativeRenderer-prod.js:1648:22)
  at instance (./s/react-native/Libraries/Renderer/oss/ReactNativeRenderer-prod.js:5516:12)
  at nextEffect (./s/react-native/Libraries/Renderer/oss/ReactNativeRenderer-prod.js:5725:19)
  at commitAllHostEffects (./s/react-native/Libraries/Renderer/oss/ReactNativeRenderer-prod.js:5956:6)
  at root (./s/react-native/Libraries/Renderer/oss/ReactNativeRenderer-prod.js:6942:17)
  at b (./s/scheduler/cjs/scheduler.production.min.js:18:162)
  at scheduler (./s/react-native/Libraries/Renderer/oss/ReactNativeRenderer-prod.js:6940:4)
  at root (./s/react-native/Libraries/Renderer/oss/ReactNativeRenderer-prod.js:6918:25)
  at nextFlushedRoot (./s/react-native/Libraries/Renderer/oss/ReactNativeRenderer-prod.js:6855:24)
  at ./s/react-native/Libraries/Renderer/oss/ReactNativeRenderer-prod.js:7082:18
  at fn (./s/react-native/Libraries/Renderer/oss/ReactNativeRenderer-prod.js:1025:31)
  at ./s/react-native/Libraries/Renderer/oss/ReactNativeRenderer-prod.js:1045:17
  at rootNodeID (./s/react-native/Libraries/Renderer/oss/ReactNativeRenderer-prod.js:1079:28)
  at moduleMethods (./s/react-native/Libraries/BatchedBridge/MessageQueue.js:366:47)
  at module (./s/react-native/Libraries/BatchedBridge/MessageQueue.js:106:26)
  at fn (./s/react-native/Libraries/BatchedBridge/MessageQueue.js:314:8)
  at ./s/react-native/Libraries/BatchedBridge/MessageQueue.js:105:17

@mgenov mgenov added the Bug label May 10, 2019
@react-native-bot react-native-bot added the Platform: Android Android applications. label May 10, 2019
@mgenov mgenov changed the title react-native/android: getting undefined is not an object (evaluating 't.validAttributes') react-native/android: ReactNativeRenderer-prod: getting undefined is not an object (evaluating 't.validAttributes') May 10, 2019
@kelset
Copy link
Contributor

kelset commented May 13, 2019

Hello there 👋 this issue doesn't have a repro (which means, a react-native init-ed project with the minimal changes that leads to creating the same issue you are reporting). Unfortunately, I have no way of helping you in a meaningful way – there is no easy way for me to recreate the situation and check that the issue reported is still there when changing the code.

Because of this, we are going to close this issue - but if a repro is shared, we are happy to reopen it 🤗

@kelset kelset closed this as completed May 13, 2019
@facebook facebook locked as resolved and limited conversation to collaborators May 13, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label May 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Platform: Android Android applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants