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.
This bug was originally marked as duplicate of bug 210283, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201212050001) VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05 OS: Linux User Comments: aldobrucale: Tried to inline a static method Stacktrace: java.lang.NullPointerException at com.sun.source.util.TreePath.<init>(TreePath.java:94) at org.netbeans.modules.refactoring.java.plugins.InlineMethodTransformer.visitMethodInvocation(InlineMethodTransformer.java:183) at org.netbeans.modules.refactoring.java.plugins.InlineMethodTransformer.visitMethodInvocation(InlineMethodTransformer.java:64) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1336) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67) at org.netbeans.modules.refactoring.java.plugins.InlineMethodTransformer.scan(InlineMethodTransformer.java:92)
Created attachment 128904 [details] stacktrace
Are you able to reproduce that ? Thanks in advance.
*** Bug 210283 has been marked as a duplicate of this bug. ***
Created attachment 129247 [details] stacktrace Invoked 'inline method' refactoring for a static method
Created attachment 132446 [details] stacktrace
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.