java.lang.AssertionError: availableHeight is indefinite so heightMeasureMode must be CSSMeasureMode.UNDEFINED

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by anuragdadheech
, 1 year ago
availableHeight is indefinite so heightMeasureMode must be CSSMeasureMode.UNDEFINED
via GitHub by Richard-Cao
, 1 year ago
availableWidth is indefinite so widthMeasureMode must be CSSMeasureMode.UNDEFINED
via GitHub by MattDavies
, 1 year ago
createReactContextInBackground should only be called when creating the react application for the first time. When reloading JS, e.g. from a new file, explicitlyuse recreateReactContextInBackground
via GitHub by SudoPlz
, 1 year ago
createReactContextInBackground should only be called when creating the react application for the first time. When reloading JS, e.g. from a new file, explicitlyuse recreateReactContextInBackground
java.lang.AssertionError: availableHeight is indefinite so heightMeasureMode must be CSSMeasureMode.UNDEFINED
at com.facebook.infer.annotation.Assertions.assertCondition(Assertions.java:65)
at com.facebook.csslayout.LayoutEngine.layoutNodeImpl(LayoutEngine.java:549)
at com.facebook.csslayout.LayoutEngine.layoutNodeInternal(LayoutEngine.java:419)
at com.facebook.csslayout.LayoutEngine.layoutNodeImpl(LayoutEngine.java:1015)
at com.facebook.csslayout.LayoutEngine.layoutNodeInternal(LayoutEngine.java:419)
at com.facebook.csslayout.LayoutEngine.layoutNodeImpl(LayoutEngine.java:1165)
at com.facebook.csslayout.LayoutEngine.layoutNodeInternal(LayoutEngine.java:419)
at com.facebook.csslayout.LayoutEngine.layoutNodeImpl(LayoutEngine.java:1165)
at com.facebook.csslayout.LayoutEngine.layoutNodeInternal(LayoutEngine.java:419)
at com.facebook.csslayout.LayoutEngine.layoutNodeImpl(LayoutEngine.java:1165)
at com.facebook.csslayout.LayoutEngine.layoutNodeInternal(LayoutEngine.java:419)
at com.facebook.csslayout.LayoutEngine.layoutNodeImpl(LayoutEngine.java:1165)
at com.facebook.csslayout.LayoutEngine.layoutNodeInternal(LayoutEngine.java:419)
at com.facebook.csslayout.LayoutEngine.layoutNodeImpl(LayoutEngine.java:1381)
at com.facebook.csslayout.LayoutEngine.layoutNodeInternal(LayoutEngine.java:419)
at com.facebook.csslayout.LayoutEngine.layoutNodeImpl(LayoutEngine.java:1165)
at com.facebook.csslayout.LayoutEngine.layoutNodeInternal(LayoutEngine.java:419)
at com.facebook.csslayout.LayoutEngine.layoutNodeImpl(LayoutEngine.java:1165)
at com.facebook.csslayout.LayoutEngine.layoutNodeInternal(LayoutEngine.java:419)
at com.facebook.csslayout.LayoutEngine.layoutNodeImpl(LayoutEngine.java:1165)
at com.facebook.csslayout.LayoutEngine.layoutNodeInternal(LayoutEngine.java:419)
at com.facebook.csslayout.LayoutEngine.layoutNodeImpl(LayoutEngine.java:1165)
at com.facebook.csslayout.LayoutEngine.layoutNodeInternal(LayoutEngine.java:419)
at com.facebook.csslayout.LayoutEngine.layoutNode(LayoutEngine.java:251)
at com.facebook.csslayout.CSSNode.calculateLayout(CSSNode.java:153)
at com.facebook.react.uimanager.UIImplementation.calculateRootLayout(UIImplementation.java:732)
at com.facebook.react.uimanager.UIImplementation.updateViewHierarchy(UIImplementation.java:506)
at com.facebook.react.uimanager.UIImplementation.dispatchViewUpdates(UIImplementation.java:495)
at com.facebook.react.uimanager.UIManagerModule.onBatchComplete(UIManagerModule.java:480)
at com.facebook.react.bridge.NativeModuleRegistry.onBatchComplete(NativeModuleRegistry.java:137)
at com.facebook.react.bridge.CatalystInstanceImpl$NativeModulesReactCallback.onBatchComplete(CatalystInstanceImpl.java:453)
at com.facebook.react.bridge.queue.NativeRunnableDeprecated.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:739)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:148)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.