java.lang.NoClassDefFoundError: Failed resolution of: Lio/realm/internal/SharedGroup;

GitHub | ojhariddhish | 6 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

    NoClassDef found for io.realm.internal.SharedGroup class

    GitHub | 6 months ago | ojhariddhish
    java.lang.NoClassDefFoundError: Failed resolution of: Lio/realm/internal/SharedGroup;
  2. 0

    Not compatible with realm 2.0.0

    GitHub | 6 months ago | Dennis123789
    java.lang.NoClassDefFoundError: io.realm.internal.SharedGroup

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Failed resolution of: Lio/realm/internal/SharedGroup;

      at com.uphyca.stetho_realm.RealmPeerManager.openSharedGroupForImplicitTransactions()
    2. com.uphyca.stetho_realm
      Database.getDatabaseTableNames
      1. com.uphyca.stetho_realm.RealmPeerManager.openSharedGroupForImplicitTransactions(RealmPeerManager.java:145)
      2. com.uphyca.stetho_realm.RealmPeerManager.openSharedGroupForImplicitTransactions(RealmPeerManager.java:134)
      3. com.uphyca.stetho_realm.RealmPeerManager.getDatabaseTableNames(RealmPeerManager.java:57)
      4. com.uphyca.stetho_realm.Database.getDatabaseTableNames(Database.java:125)
      4 frames
    3. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    4. com.facebook.stetho
      LocalSocketServer$WorkerThread.run
      1. com.facebook.stetho.inspector.MethodDispatcher$MethodDispatchHelper.invoke(MethodDispatcher.java:96)
      2. com.facebook.stetho.inspector.MethodDispatcher.dispatch(MethodDispatcher.java:67)
      3. com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteRequest(ChromeDevtoolsServer.java:129)
      4. com.facebook.stetho.inspector.ChromeDevtoolsServer.handleRemoteMessage(ChromeDevtoolsServer.java:111)
      5. com.facebook.stetho.inspector.ChromeDevtoolsServer.onMessage(ChromeDevtoolsServer.java:87)
      6. com.facebook.stetho.websocket.WebSocketSession$1.handleTextFrame(WebSocketSession.java:176)
      7. com.facebook.stetho.websocket.WebSocketSession$1.onCompleteFrame(WebSocketSession.java:136)
      8. com.facebook.stetho.websocket.ReadHandler.readLoop(ReadHandler.java:44)
      9. com.facebook.stetho.websocket.WebSocketSession.handle(WebSocketSession.java:45)
      10. com.facebook.stetho.websocket.WebSocketHandler.doUpgrade(WebSocketHandler.java:117)
      11. com.facebook.stetho.websocket.WebSocketHandler.handleRequest(WebSocketHandler.java:83)
      12. com.facebook.stetho.server.http.LightHttpServer.dispatchToHandler(LightHttpServer.java:84)
      13. com.facebook.stetho.server.http.LightHttpServer.serve(LightHttpServer.java:61)
      14. com.facebook.stetho.inspector.DevtoolsSocketHandler.onAccepted(DevtoolsSocketHandler.java:52)
      15. com.facebook.stetho.server.ProtocolDetectingSocketHandler.onSecured(ProtocolDetectingSocketHandler.java:63)
      16. com.facebook.stetho.server.SecureSocketHandler.onAccepted(SecureSocketHandler.java:33)
      17. com.facebook.stetho.server.LazySocketHandler.onAccepted(LazySocketHandler.java:36)
      18. com.facebook.stetho.server.LocalSocketServer$WorkerThread.run(LocalSocketServer.java:167)
      18 frames