Mar-25-2020, 05:56 PM
You are suffering a common form of blindness that is the biggest hindrance to debugging. You assume your code is doing what you expect so you can only see the error reported in the traceback. For me at least the error reported in the traceback is not the real error, but some side effect associated with the real error. Once you fix the itembox not being a ListBox error the itembox.size() will work correctly.