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 8.0 RC1 (Build 201402242200) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Windows 8 User Comments: RayDeCampo: Tried to inline a method. The first time, it appeared to work but nothing happened. The second time, I got this error. Stacktrace: java.lang.NullPointerException at org.netbeans.api.java.source.ElementUtilities.enclosingTypeElementImpl(ElementUtilities.java:150) at org.netbeans.api.java.source.ElementUtilities.enclosingTypeElement(ElementUtilities.java:145) at org.netbeans.modules.refactoring.java.plugins.InlineRefactoringPlugin$1.run(InlineRefactoringPlugin.java:155) at org.netbeans.modules.refactoring.java.plugins.InlineRefactoringPlugin$1.run(InlineRefactoringPlugin.java:144) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:493) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:593)
Created attachment 145763 [details] stacktrace
changeset: 895c5b01edbe user: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date: Thu Oct 16 13:56:49 2014 +0200 summary: #242557 - Check if the element is still available
Integrated into 'main-silver', will be available in build *201410180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/895c5b01edbe User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #242557 - Check if the element is still available