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.

Bug 249331 - NoSuchMethodError: org.netbeans.modules.php.editor.parser.ASTPHP5Parser.getSymbolFactory()Ljava_cup/runtime/SymbolFactory;
Summary: NoSuchMethodError: org.netbeans.modules.php.editor.parser.ASTPHP5Parser.getSy...
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-13 05:32 UTC by Exceptions Reporter
Modified: 2016-05-19 11:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 214135


Attachments
stacktrace (4.57 KB, text/plain)
2014-12-13 05:32 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-12-13 05:32:02 UTC
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)
Comment 1 Exceptions Reporter 2014-12-13 05:32:04 UTC
Created attachment 151086 [details]
stacktrace
Comment 2 flyhog 2015-07-27 16:06:42 UTC
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.
Comment 3 flyhog 2016-01-21 23:42:18 UTC
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.
Comment 4 Tomas Mysik 2016-05-19 11:44:56 UTC
This problem should disappear if you:
- reinstall NetBeans, and
- clean userdir [1].

Thanks.
[1] http://wiki.netbeans.org/FaqAlternateUserdir