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 250870, 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.1 Beta (Build 201508041349) VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27 OS: Linux User Comments: GUEST: I just installed the python4netbeans plugin and openend a .py file Stacktrace: java.lang.ClassCastException: org.python.antlr.PythonErrorNode cannot be cast to org.python.antlr.base.excepthandler at org.python.antlr.ast.TryExcept.<init>(TryExcept.java:127) at org.python.antlr.GrammarActions.makeTryExcept(GrammarActions.java:224) at org.python.antlr.PythonParser.try_stmt(PythonParser.java:7257) at org.python.antlr.PythonParser.compound_stmt(PythonParser.java:6325) at org.python.antlr.PythonParser.stmt(PythonParser.java:2401) at org.python.antlr.PythonParser.suite(PythonParser.java:7761)
Created attachment 155945 [details] stacktrace
Reporter: Please try with the latest development build of Netbeans and make sure you are using the plugin from the development_update_center. See http://wiki.netbeans.org/FaqPluginsInDevelopment#Additional_update_centers This is a duplicate of bug 250870, but I'm leaving this bug open until the release of NB 8.1...
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=219759
Unable to reproduce. Believe Fixed in Python Plugin version .150112 If you get this error, and are using NetBeans IDE 8.0.x, please upgrade to IDE 8.1 and install the latest Python plugin from the Update Center (Tools->Plugins). If you are using NetBeans 8.1 with Python Plugin version .151118 or greater, please reopen with a duplicable test case and my apologies.