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 233934

Summary: NullPointerException at org.netbeans.modules.refactoring.java.ui.InlineRefactoringUI.<init>
Product: java Reporter: Jiri Prox <jiriprox>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 202813
Attachments: stacktrace

Description Jiri Prox 2013-08-05 08:32:28 UTC
Build: NetBeans IDE Dev (Build 201308042300)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b40, Java(TM) SE Runtime Environment, 1.8.0-ea-b98
OS: Windows 7

User Comments:
jiriprox: NPE when Inline refactoring is called in method body just after '{'




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.refactoring.java.ui.InlineRefactoringUI.<init>(InlineRefactoringUI.java:97)
   at org.netbeans.modules.refactoring.java.ui.InlineRefactoringUI.create(InlineRefactoringUI.java:174)
   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:384)
   at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:309)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:493)
Comment 1 Jiri Prox 2013-08-05 08:32:30 UTC
Created attachment 138268 [details]
stacktrace
Comment 2 Jiri Prox 2013-08-05 08:34:02 UTC

*** This bug has been marked as a duplicate of bug 233782 ***