ReactContext.getJSModule() has thrown a RuntimeException

We found this prefix in 3 webpages.
MapChildren (3)Typical messages (2)TraceDetailed Map
  1. java.lang.RuntimeException
    1.   at com.facebook.react.bridge.ReactContext.getJSModule()
  1. GitHub icon [Android] Tried to access a JS module before the React instance was fully set up

    First:1 year ago
    Last:1 year ago
    Author:xuetongiqn
  2. GitHub iconCrash on launch with 1.1.0 (master)

    First:1 year ago
    Last:4 months ago
    Author:EliotAndres
  3. GitHub icon[Android] App occasionally crash on startup

    First:2 years ago
    Last:2 years ago
    Author:naivehhr
MessageNumber of crashes
Tried to access a JS module before the React instance was fully set up. Calls to ReactContext#getJSModule should only happen once initialize() has been called on your native module.2
Unable to start activity ComponentInfo{com.naive.Ju244/com.naive.MainActivity}: java.lang.RuntimeException: Tried to access a JS module before the React instance was fully set up. Calls to ReactContext#getJSModule should be protected by ReactContext#hasAct1
  1. java.lang.RuntimeException
    1.   at com.facebook.react.bridge.ReactContext.getJSModule()