I saw the same issue in many different locations and even after a good portion of googling, I could not resolve it. What I am trying to do (the bigger picture) is to go through
I had the same problem after testing Netbeans 11 and then going back to Netbeans 8.2. The solution was the file
ProjectName\nbproject\private\private.properties
that one had an entry
user.properties.file=XXXX\\AppData\\Roaming\\NetBeans\\11.0\\build.properties
changing it back to the correct installation
user.properties.file=XXXX\\AppData\\Roaming\\NetBeans\\8.2\\build.properties
solved the problem. For some projects Netbeans popped up a dialogbox "The project ProjectName uses build.properties
from another Netbeans installation", then click "Use this installation".