Attached please find a simple JUnit Test. It creates a new DBF with a NumField and a CharField.
It then inserts some records and tries to find one of them using an index on the NumField. This will fail.
Changing NumField to CharField will work however.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
JUnit Testcase for NumField Index
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Just found this forum thread: https://sourceforge.net/projects/xbasej/forums/forum/766925/topic/3438184
Removing the null check mentioned way down actually solves the problem. Would be good to know though, what else might be broken now. Unit tests run green.
this is a known bug.