com.facebook.react.bridge.JSApplicationIllegalArgumentException: Error while updating property 'flex' in shadow node of type: RCTView

Stack Overflow | sealskej | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JSApplicationIllegalArgumentException with React Native Android

    Stack Overflow | 7 months ago | sealskej
    com.facebook.react.bridge.JSApplicationIllegalArgumentException: Error while updating property 'flex' in shadow node of type: RCTView
  2. 0

    Android release builds crash on fetching bundle (RN 0.42)

    GitHub | 4 weeks ago | lappalj4
    com.facebook.react.bridge.JSApplicationIllegalArgumentException: Error while updating property 'd' in shadow node of type: RNSVGPath
  3. 0

    Can't properly render ReactRootView if it is inside Scrollable ViewGroup.

    GitHub | 4 months ago | zikil
    com.facebook.react.bridge.JSApplicationIllegalArgumentException: Error while updating property 'marginBottom' in shadow node of type: RCTText
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.facebook.react.bridge.JSApplicationIllegalArgumentException

    Error while updating property 'flex' in shadow node of type: RCTView

    at com.facebook.react.uimanager.ViewManagersPropertyCache$PropSetter.updateShadowNodeProp()
  2. com.facebook.react
    UIManagerModule.createView
    1. com.facebook.react.uimanager.ViewManagersPropertyCache$PropSetter.updateShadowNodeProp(ViewManagersPropertyCache.java:109)
    2. com.facebook.react.uimanager.ViewManagerPropertyUpdater$FallbackShadowNodeSetter.setProperty(ViewManagerPropertyUpdater.java:148)
    3. com.facebook.react.uimanager.ViewManagerPropertyUpdater.updateProps(ViewManagerPropertyUpdater.java:52)
    4. com.facebook.react.uimanager.ReactShadowNode.updateProperties(ReactShadowNode.java:222)
    5. com.facebook.react.uimanager.UIImplementation.createView(UIImplementation.java:177)
    6. com.facebook.react.uimanager.UIManagerModule.createView(UIManagerModule.java:222)
    6 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    1 frame
  4. com.facebook.react
    NativeRunnable.run
    1. com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:318)
    2. com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158)
    3. com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)
    3 frames
  5. Android Platform
    Handler.dispatchMessage
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    2 frames
  6. com.facebook.react
    MessageQueueThreadHandler.dispatchMessage
    1. com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
    1 frame
  7. Android Platform
    Looper.loop
    1. android.os.Looper.loop(Looper.java:234)
    1 frame
  8. com.facebook.react
    MessageQueueThreadImpl$3.run
    1. com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
    1 frame
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:818)
    1 frame