-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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 crash with length=15; index=-6 #22816
Comments
Can you provide a reproducible demo as well as more information about when you experience this issue? |
@noahtallen It's private project so cannot give an demo for yet. The problem is happen whenever I open the app. This is my
|
The error usually occurs when an array index is out of bounds - in your case, the array length is 15, but it is trying to access index -6. Is there anything in your code which would point to that being an issue? The crash logs indicate it has to do with the |
Thank you @noahtallen for explain. After debug my code and I have found the issues.
That crash on android but IOS did not. Does it is bug? |
Why would you set it to -1? You can’t have less than 0 things displayed at once :p |
My idea is want to render unlimited of text lines. That config maybe invalid i guess the core should throw if provide out of range? |
You should be able to render unlimited lines of text just by not specifying any lines of text. That property is used for restricting the number of lines. As long as you set there to be enough height it should fill it up.
…On Dec 30, 2018, 2:10 AM -0500, Truong Luu ***@***.***>, wrote:
My idea is want to render unlimited of text lines. That config maybe invalid i guess the core should throw if provide out of range?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hey @luutruong, thanks for filing This looks like a question and not a bug. Since this issue tracker is not a help forum, we're going to close and recommend posting to StackOverflow. If you believe this is a bug, please update the provide a way for us to reproduce/confirm and we'll consider re-opening 👌 |
I have faced this issues in android
Environment
Description
Reproducible Demo
The text was updated successfully, but these errors were encountered: