In B4J, I added some lines of code and the breakpoints began acting strangely. The program would stop on the expected line and highlight it, but while single stepping (F8), the highlighting disappears.
I used undo to delete the lines of code and removed my break point and re-ran the program getting this error which points to a completely different part of the code right after AppStart:
java.lang.IllegalArgumentException: Can not set static anywheresoftware.b4j.objects.MenuItemWrapper$ConcreteMenuItemWrapper field b4j.example.main._mnulogin to anywheresoftware.b4j.objects.MenuItemWrapper
I upgraded to the latest B4J and that fixed the problem for a while. But, after adding a couple hundred more lines of code, the problem is back. Rebooting and reinstalling B4J didn't fix it this time. The program is about 5000 lines of code and comments.
Any suggestions?
Thanks,
Eric
I used undo to delete the lines of code and removed my break point and re-ran the program getting this error which points to a completely different part of the code right after AppStart:
java.lang.IllegalArgumentException: Can not set static anywheresoftware.b4j.objects.MenuItemWrapper$ConcreteMenuItemWrapper field b4j.example.main._mnulogin to anywheresoftware.b4j.objects.MenuItemWrapper
I upgraded to the latest B4J and that fixed the problem for a while. But, after adding a couple hundred more lines of code, the problem is back. Rebooting and reinstalling B4J didn't fix it this time. The program is about 5000 lines of code and comments.
Any suggestions?
Thanks,
Eric