-
Notifications
You must be signed in to change notification settings - Fork 661
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
(Android) RN 0.54 Exception "local reference table overflow (max=512)" #229
Comments
It is react-native related. It crash at
ReadableNativeArray.getType is totally different between 0.53.0 and 0.54.0 . here is 0.53.0 , it only care the type at the index. ReadableNativeArray.java
ReadableNativeArray.cpp
ReadableType.cpp
but in 0.54.0 ReadableNativeArray.java
ReadableNativeArray.cpp
It will get the type of every element then return the type at index, but it crash..... I will post an issue there. |
In my project. I use this code to avoid the crash.
|
@zhangshenjie I'm using RN 0.55.3 and adding those two lines to MainApplication.java's onCreate method makes the app crash when starting up. (instead of crashing when rendering the chart..) |
Those lines stopped crashing the app when I also pasted this there:
|
Do I import something? |
@HsuWeiYu666 Try to add |
react-native 0.63.4 import com.facebook.react.bridge.ReadableNativeArray; cannot find symbol |
Getting the above error using React Native Version 0.54 when rendering over 512 points on a LineChart.
I can confirm that this does not happen on react-native 0.53.0
The text was updated successfully, but these errors were encountered: