If the code compiles and the parts that are showing as errors in Netbeans are exercised (something calls them) without crashing, which it seems like they are, it's a Netbeans bug.
It happens for a variety of projects I work on with Netbeans. Sometimes cleaning and building and/or exiting Netbeans helps.