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 270037 - IllegalArgumentException: Invalid node's kind. Supported kinds are BREAK, CLASS, CONTINUE, IDENTIFIER, LABELED_STATEMENT, MEMBER_SELECT, METHOD, TYPE_PARAMETER, VARIABLE
Summary: IllegalArgumentException: Invalid node's kind. Supported kinds are BREAK, CLA...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-09 15:09 UTC by fillumina
Modified: 2017-03-09 15:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 228348


Attachments
stacktrace (7.65 KB, text/plain)
2017-03-09 15:09 UTC, fillumina
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fillumina 2017-03-09 15:09:48 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: OpenJDK 64-Bit Server VM, 25.121-b13, OpenJDK Runtime Environment, 1.8.0_121-8u121-b13-0ubuntu1.16.10.2-b13
OS: Linux

User Comments:
fillumina: Was renaming an interface from Tree<K,V> to SimpleTree<K,V>. The interface was implemented.




Stacktrace: 
java.lang.IllegalArgumentException: Invalid node's kind. Supported kinds are BREAK, CLASS, CONTINUE, IDENTIFIER, LABELED_STATEMENT, MEMBER_SELECT, METHOD, TYPE_PARAMETER, VARIABLE
   at org.netbeans.api.java.source.TreeMaker.setLabelImpl(TreeMaker.java:2836)
   at org.netbeans.api.java.source.TreeMaker.setLabel(TreeMaker.java:2696)
   at org.netbeans.modules.refactoring.java.plugins.RenameTransformer.visitReference(RenameTransformer.java:496)
   at org.netbeans.modules.refactoring.java.spi.RefactoringVisitor$DocTreePathScannerImpl.visitReference(RefactoringVisitor.java:549)
   at org.netbeans.modules.refactoring.java.spi.RefactoringVisitor$DocTreePathScannerImpl.visitReference(RefactoringVisitor.java:469)
   at com.sun.tools.javac.tree.DCTree$DCReference.accept(DCTree.java:548)
Comment 1 fillumina 2017-03-09 15:09:52 UTC
Created attachment 163805 [details]
stacktrace