java.lang.AssertionError: 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

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 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
, 10 months 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 Stack Overflow by gittieatlas
, 11 months ago
This root view has already been attached to a catalyst instance manager
via GitHub by anuragdadheech
, 1 year ago
availableHeight is indefinite so heightMeasureMode must be CSSMeasureMode.UNDEFINED
via GitHub by Richard-Cao
, 11 months ago
availableWidth is indefinite so widthMeasureMode must be CSSMeasureMode.UNDEFINED
java.lang.AssertionError: 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
at com.facebook.infer.annotation.Assertions.assertCondition(Assertions.java:65)
at com.facebook.react.XReactInstanceManagerImpl.createReactContextInBackground(XReactInstanceManagerImpl.java:348)
at com.reactnativenavigation.react.NavigationReactGateway.startReactContextOnceInBackgroundAndExecuteJS(NavigationReactGateway.java:33)
at com.reactnativenavigation.NavigationApplication.startReactContext(NavigationApplication.java:35)
at com.reactnativenavigation.controllers.SplashActivity.onCreate(SplashActivity.java:18)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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