This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This bug was originally marked as duplicate of bug 249331, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.2 (Build 201609300101) VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b15, Java(TM) SE Runtime Environment, 1.8.0_112-b15 OS: Windows 10 User Comments: GUEST: Creating main class does not work at times upon creating a new project. It seemed that the main class created acts like a regular class instead and therefor cannot run the project. Stacktrace: java.lang.NoSuchMethodError: org.netbeans.modules.php.editor.parser.ASTPHP5Parser.getSymbolFactory()Ljava_cup/runtime/SymbolFactory; at org.netbeans.modules.php.editor.parser.CUP$ASTPHP5Parser$actions.fakeMethod0to99(CUP.java:2132) at org.netbeans.modules.php.editor.parser.CUP$ASTPHP5Parser$actions.CUP$ASTPHP5Parser$do_action(CUP.java:1934) at org.netbeans.modules.php.editor.parser.ASTPHP5Parser.do_action(ASTPHP5Parser.java:1683) at java_cup.runtime.lr_parser.parse(lr_parser.java:569) at org.netbeans.modules.php.editor.parser.GSFPHPParser.parseBuffer(GSFPHPParser.java:209) at org.netbeans.modules.php.editor.parser.GSFPHPParser.processParsing(GSFPHPParser.java:168)
Created attachment 163983 [details] stacktrace