java.lang.IllegalStateException: An error occurred in the GC.

GitHub | dongfanglinglong | 2 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

    Error with java.util.Date type

    GitHub | 7 months ago | cocia
    xiaofei.library.hermes.util.HermesException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    GitHub comment 19#269902739

    GitHub | 2 months ago | dongfanglinglong
    java.lang.NullPointerException: Attempt to invoke interface method 'void xiaofei.library.hermeseventbus.IMainService.register(int, xiaofei.library.hermeseventbus.ISubService)' on a null object reference
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    An error occurred in the GC.

    at android.os.Parcel.readException()
  2. Android Platform
    Parcel.readException
    1. android.os.Parcel.readException(Parcel.java:1476)
    2. android.os.Parcel.readException(Parcel.java:1422)
    2 frames
  3. xiaofei.library.hermes
    Hermes.getInstanceInService
    1. xiaofei.library.hermes.internal.IHermesService$Stub$Proxy.gc(IHermesService.java:168)
    2. xiaofei.library.hermes.internal.Channel.gc(Channel.java:240)
    3. xiaofei.library.hermes.util.HermesGc.gc(HermesGc.java:92)
    4. xiaofei.library.hermes.util.HermesGc.register(HermesGc.java:99)
    5. xiaofei.library.hermes.Hermes.getProxy(Hermes.java:97)
    6. xiaofei.library.hermes.Hermes.getInstanceWithMethodNameInService(Hermes.java:163)
    7. xiaofei.library.hermes.Hermes.getInstanceInService(Hermes.java:126)
    7 frames
  4. xiaofei.library.hermeseventbus
    HermesEventBus$HermesListener.onHermesConnected
    1. xiaofei.library.hermeseventbus.HermesEventBus$HermesListener.onHermesConnected(HermesEventBus.java:287)
    1 frame
  5. xiaofei.library.hermes
    Channel$HermesServiceConnection.onServiceConnected
    1. xiaofei.library.hermes.internal.Channel$HermesServiceConnection.onServiceConnected(Channel.java:284)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1151)
    2. android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1168)
    3. android.os.Handler.handleCallback(Handler.java:733)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:136)
    6. android.app.ActivityThread.main(ActivityThread.java:5333)
    6 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:895)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:711)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(NativeStart.java)
    1 frame