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 243615, 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.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17 OS: Mac OS X User Comments: GUEST: ????? GUEST: ?????????? 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:1782) at org.netbeans.modules.php.editor.parser.CUP$ASTPHP5Parser$actions.CUP$ASTPHP5Parser$do_action(CUP.java:1632) at org.netbeans.modules.php.editor.parser.ASTPHP5Parser.do_action(ASTPHP5Parser.java:1467) at java_cup.runtime.lr_parser.parse(lr_parser.java:569) at org.netbeans.modules.php.editor.parser.GSFPHPParser.parseBuffer(GSFPHPParser.java:201) at org.netbeans.modules.php.editor.parser.GSFPHPParser.processParsing(GSFPHPParser.java:164)
Created attachment 151086 [details] stacktrace
NetBeans 8.0.2, MacOSX Yosemite and JDK 1.7.0. This exception occurs when making new PHP application project, or opening PHP application project. I tried clean install, but not dissolved. On NetBeans 7.4, 8.0.2, same exception occurs. With JDK 1.6.0, 1.8.0, same too.
I found the solution to this exception error. 1. Uninstall NetBeans. 2. Delete (or rename) NetBeans configuration directory that ~/Library/Application Support/Netbeans. 3. Uninstall JDK with /Library/Java directory. 4. full-backup to TimeMachine. 5. Clean install MacOSX 6. After install MacOSX, then install JDK and NetBeans. 7. Restore backup from TimeMachine.
This problem should disappear if you: - reinstall NetBeans, and - clean userdir [1]. Thanks. [1] http://wiki.netbeans.org/FaqAlternateUserdir