Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on NurApiBLEAutoConnect #10

Open
rcarondecathlon opened this issue Jun 5, 2020 · 0 comments
Open

Crash on NurApiBLEAutoConnect #10

rcarondecathlon opened this issue Jun 5, 2020 · 0 comments

Comments

@rcarondecathlon
Copy link

Hi,

We faced an issue that we were able to reproduce only one time. Connection on EXA31 device works, but one time we had this error :
Fatal Exception: java.lang.OutOfMemoryError: Could not allocate JNI Env at java.lang.Thread.nativeCreate(Thread.java) at java.lang.Thread.start(Thread.java:730) at com.nordicid.nurapi.NurApiBLEAutoConnect$3.run(NurApiBLEAutoConnect.java:198) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6123) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)

Our process to connect on Exa31 :
BleScanner.init(context) mBLEAuto = NurApiBLEAutoConnect(context, nurApi) mBLEAuto?.address = macAddress

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant