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

!ERROR=252 (java.lang.IndexOutOfBoundsException: Index: 0, Size: 0) #35

Closed
hyyan opened this issue Apr 26, 2018 · 0 comments
Closed

!ERROR=252 (java.lang.IndexOutOfBoundsException: Index: 0, Size: 0) #35

hyyan opened this issue Apr 26, 2018 · 0 comments
Assignees

Comments

@hyyan
Copy link
Member

hyyan commented Apr 26, 2018

Error in BBjGridExWidget.bbj in method setData() on line r1! = rs!.getItem(0)
When rs! is empty (but not null()) --> !ERROR=252 (java.lang.IndexOutOfBoundsException: Index: 0, Size: 0)
(First time rs! is >0 items (grid contains lines), the second time rs! = 0 items (grid should be empty) --> Error)

 method public void setData( ResultSet rs!)
        #RS! = rs!
 
        if #AttributesRecord! <> NULL() then
            rem TODO: use the new method of components as soon as implemented
            rem https://github.com/BasisHub/components/issues/87
            r1! = rs!.getItem(0)
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