java.lang.IllegalStateException: Native module RNFetchBlob tried to override RNFetchBlob for module name RNFetchBlob. If this was your intention, return true from RNFetchBlob#canOverrideExistingModule()

GitHub | patrickblind | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 334#249091065

    GitHub | 5 months ago | patrickblind
    java.lang.IllegalStateException: Native module RNFetchBlob tried to override RNFetchBlob for module name RNFetchBlob. If this was your intention, return true from RNFetchBlob#canOverrideExistingModule()

Root Cause Analysis

  1. java.lang.IllegalStateException

    Native module RNFetchBlob tried to override RNFetchBlob for module name RNFetchBlob. If this was your intention, return true from RNFetchBlob#canOverrideExistingModule()

    at com.facebook.react.cxxbridge.NativeModuleRegistry$Builder.add()
  2. com.facebook.react
    XReactInstanceManagerImpl$ReactContextInitAsyncTask.doInBackground
    1. com.facebook.react.cxxbridge.NativeModuleRegistry$Builder.add(NativeModuleRegistry.java:121)
    2. com.facebook.react.XReactInstanceManagerImpl.processPackage(XReactInstanceManagerImpl.java:915)
    3. com.facebook.react.XReactInstanceManagerImpl.createReactContext(XReactInstanceManagerImpl.java:835)
    4. com.facebook.react.XReactInstanceManagerImpl.access$600(XReactInstanceManagerImpl.java:103)
    5. com.facebook.react.XReactInstanceManagerImpl$ReactContextInitAsyncTask.doInBackground(XReactInstanceManagerImpl.java:203)
    6. com.facebook.react.XReactInstanceManagerImpl$ReactContextInitAsyncTask.doInBackground(XReactInstanceManagerImpl.java:182)
    6 frames
  3. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:295)
    1 frame
  4. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    4. java.lang.Thread.run(Thread.java:818)
    4 frames