I am getting this when I click on a variable name (actually an array) and ask for Find All References:
I just open the project, navigate to the section of code, right-click on the variable and click on Find All References.
This started after I had a legitimate error in my code where I would try to read an array element past the last value.
As an experiment, I copied just the b4j and bas files, and the Files folder into a new folder and tried to run the IDE from there and I get the same issue.
How could it complain about an out of range index even before executing code? This sounds too much like magic
More info: I did have variables named Index, so I renamed them all. The error message remains the same, so "index" does not refer to one of my variables.
Note: the program does run and I can lookup other variables, I just can't use the Find All References feature on THAT variable.
This occurs even if I close and reopen the project after having cleaned the meta file, before executing.[IDE message - 9:10:51]
An error occurred.
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
I just open the project, navigate to the section of code, right-click on the variable and click on Find All References.
This started after I had a legitimate error in my code where I would try to read an array element past the last value.
As an experiment, I copied just the b4j and bas files, and the Files folder into a new folder and tried to run the IDE from there and I get the same issue.
How could it complain about an out of range index even before executing code? This sounds too much like magic
More info: I did have variables named Index, so I renamed them all. The error message remains the same, so "index" does not refer to one of my variables.
Note: the program does run and I can lookup other variables, I just can't use the Find All References feature on THAT variable.
Last edited: