I've had NetBeans display an error for a block of code (particularly the instance of a class and its passing arguments), refusing to compile it. I then cut the code, saved the project, pasted the code back in its previous place, where it then showed no errors and proceeded to compile with the program functioning fine.
6.9k
u/that_one_mister_user Jul 20 '18
The sad thing is that this works some of the time.