JNI local reference table overflow: jsonrpc strings are not removed properly

// Expert user has replied.
T Tobias Kiefer 3 years 5 months ago
10 1 0

Hello,

I am trying to debug my application built with rhomobile.
After some interactions it dies with the following error:
JNI ERROR (app bug): local reference table overflow (max=512)

The dump shows the last 10 entries:
java.lang.String "{"jsonrpc": "2.0... (43 chars)
and sometimes 47 chars

As I am not using JNI myself in the application, the error must come from a rhomobile js method, or Android itself.

I tested it on 2 different Android devices (one ICS and a Lollipop). Error occurs on both.
I temporarily removed all native extensions to ensure they do not cause the problem.

Do you have any suggestions on how to debug?
How can I see the remaining part of the Strings?
Where are you using JSON-RPC?

I would like to give you some code, however, I do not know what causes this error or how to produce a minimal working example.

Any help is greatly appreciated, I am a bit lost on this one,

Best regards,
Tobi

Edit:
before the overflow I am getting multiple of the following messages at intervals
art Attempt to remove local handle scope entry from IRT, ignoringHow can I find out which entry was not removed?

Please Register or Login to post a reply

1 Replies

J Joydeep Chakraborty

This is a bug,which is being worked on in RhoMobilesuite 5.3 release.
RMS5.3 should fix this issue. Which version of Rho you are using?

CONTACT
Can’t find what you’re looking for?