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

Fix JNI ERROR #340

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fix JNI ERROR #340

wants to merge 2 commits into from

Conversation

123edi10
Copy link

After executing Java.enumerateLoadedClassesSync() on certain devices and within multiple apps I got this error:

signal 6 (SIGABRT) error, with code -6 (SI_TKILL) and fault address --------.
The abort message reads: "JNI ERROR (app bug): global reference table overflow (max=51200).
Global reference table dump: Last 10 entries (of 51200):".

This solution tested in several devices and work perfect.

Change indentation

Update index.js

Add try, finally
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

Successfully merging this pull request may close these issues.

1 participant