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 255065 - ClassCastException: org.python.antlr.PythonErrorNode cannot be cast to org.python.antlr.base.excepthandler
Summary: ClassCastException: org.python.antlr.PythonErrorNode cannot be cast to org.py...
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P4 normal (vote)
Assignee: Lou Dasaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-07 16:01 UTC by Exceptions Reporter
Modified: 2015-11-27 19:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219759


Attachments
stacktrace (1.98 KB, text/plain)
2015-09-07 16:01 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-09-07 16:01:11 UTC
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)
Comment 1 Exceptions Reporter 2015-09-07 16:01:13 UTC
Created attachment 155945 [details]
stacktrace
Comment 2 Lou Dasaro 2015-09-07 18:21:52 UTC
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...
Comment 3 Exceptions Reporter 2015-10-28 15:24:51 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=219759
Comment 4 Lou Dasaro 2015-11-27 19:04:54 UTC
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.