Skip to content

[BUG] Android crash: kotlin.UninitializedPropertyAccessException #23

@antoinerousseau

Description

@antoinerousseau

Description

The Play Store is reporting many users having this error.

Stacktrace

Exception kotlin.UninitializedPropertyAccessException: lateinit property sessionManager has not been initialized
  at me.bridgefy.internal.BridgefyManager.getSessionManager$bridgefy_release (SourceFile:1)
  at me.bridgefy.internal.BridgefyManager.currentUserId-d1pmJ48 (SourceFile:2)
  at me.bridgefy.Bridgefy.currentUserId-d1pmJ48 (SourceFile:1)
  at me.bridgefy.plugin.react_native.BridgefyReactNativeModule.currentUserId (BridgefyReactNativeModule.kt:242)
  at java.lang.reflect.Method.invoke
  at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372)
  at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:149)
  at com.facebook.jni.NativeRunnable.run
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:29)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:234)
  at java.lang.Thread.run (Thread.java:920)

Affected devices

Image

Additional context

bridgefy-react-native 1.1.6
react-native 0.73.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions