why does Netbeans show me the error AFTER I have committed and pushed the file?