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 157191 - UnsupportedOperationException: Not supported element kind:EXCEPTION_PARAMETER Tree = 'sex'
Summary: UnsupportedOperationException: Not supported element kind:EXCEPTION_PARAMETER...
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 10:01 UTC by Marian Mirilovic
Modified: 2010-04-23 06:33 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 18411


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2009-01-21 10:01:22 UTC
52 duplicates so far ... reported also against NB 6.5

Build: NetBeans IDE Dev (Build 200801011200)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Linux, 2.6.22-14-386, i386
User comments: 
STACKTRACE: (first 10 lines)
java.lang.UnsupportedOperationException: Not supported element kind:EXCEPTION_PARAMETER Tree = 'sex'
        at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitIdentifier(EvaluatorVisitor.java:948)
        at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitIdentifier(EvaluatorVisitor.java:169)
        at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1690)
        at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:49)
        at org.netbeans.modules.debugger.jpda.projects.EditorContextImpl$15.run(EditorContextImpl.java:1504)
        at org.netbeans.modules.debugger.jpda.projects.EditorContextImpl$15.run(EditorContextImpl.java:1468)
        at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:621)
        at org.netbeans.modules.debugger.jpda.projects.EditorContextImpl.parseExpression(EditorContextImpl.java:1467)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Comment 1 Martin Entlicher 2009-01-21 17:49:29 UTC
Why do I get this issue after 52 duplicates??
We do not count with EXCEPTION_PARAMETER element kind.
Comment 2 Martin Entlicher 2009-02-04 15:56:18 UTC
Not supported element kind:EXCEPTION_PARAMETER is already fixed at issue #126871.

According to http://statistics.netbeans.org/exceptions/detail.do?id=18411 the remaining unrecognized element kinds are:
TYPE_PARAMETER and ANNOTATION_TYPE
Comment 3 Martin Entlicher 2009-07-02 13:15:55 UTC
Fixed in changeset:   136927:0d800a3900df
http://hg.netbeans.org/main/rev/0d800a3900df
Comment 4 Quality Engineering 2009-07-03 05:58:07 UTC
Integrated into 'main-golden', will be available in build *200907030200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0d800a3900df
User: mentlicher@netbeans.org
Log: #157191 - Count with ANNOTATION_TYPE and TYPE_PARAMETER element kinds.
Comment 5 Marian Mirilovic 2010-04-23 06:33:56 UTC
v/c