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 271463

Summary: IllegalArgumentException: PARAMETER
Product: java Reporter: alied <alied>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal CC: alied, lolo_101, toben
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 230285
Attachments: stacktrace
stacktrace

Description alied 2017-09-12 14:11:39 UTC
Build: NetBeans IDE Dev (Build 201709120001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.141-b15, Java(TM) SE Runtime Environment, 1.8.0_141-b15
OS: Linux

User Comments:
alied: Invoked "Introduce variable"




Stacktrace: 
java.lang.IllegalArgumentException: PARAMETER
   at org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:527)
   at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:420)
   at org.netbeans.modules.java.hints.introduce.FieldValidator$SearchImpl.run(FieldValidator.java:166)
   at org.netbeans.modules.java.hints.introduce.FieldValidator$SearchImpl.run(FieldValidator.java:105)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:523)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
Comment 1 alied 2017-09-12 14:11:42 UTC
Created attachment 165119 [details]
stacktrace
Comment 2 alied 2017-09-12 19:20:24 UTC
Created attachment 165122 [details]
stacktrace

during Refactor/Introduce/Variable