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

Summary: IllegalArgumentException: Invalid node's kind. Supported kinds are BREAK, CLASS, CONTINUE, IDENTIFIER, LABELED_STATEMENT, MEMBER_SELECT, METHOD, TYPE_PARAMETER, VARIABLE
Product: java Reporter: fillumina <fillumina>
Component: RefactoringAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 228348
Attachments: stacktrace

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