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.
Build: NetBeans IDE Dev (Build 201605100002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.77-b03, Java(TM) SE Runtime Environment, 1.8.0_77-b03 OS: Windows 7 User Comments: GUEST: <Please provide a description of the problem or the steps to reproduce> Wondering how to replace numeric literal with constant field mkhramov: Invoke Inline refacoring Stacktrace: java.lang.NullPointerException at org.netbeans.modules.refactoring.java.ui.InlineRefactoringUI$1.create(InlineRefactoringUI.java:147) at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$1.createRefactoringUI(ContextAnalyzer.java:117) at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:378) at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:303) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:486) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
Created attachment 159687 [details] stacktrace
Fixed by jet-main#88e5205dddf7 88e5205dddf7
Integrated into 'main-silver', will be available in build *201608110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/88e5205dddf7 User: Svata Dedic <sdedic@netbeans.org> Log: #258227, #260880: reviewed getElement, avoided NPEs.