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 223326 - NullPointerException at com.sun.source.util.TreePath.<init>
Summary: NullPointerException at com.sun.source.util.TreePath.<init>
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
: 210283 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-05 15:17 UTC by aldobrucale
Modified: 2015-09-17 11:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 196139


Attachments
stacktrace (6.76 KB, text/plain)
2012-12-05 15:17 UTC, aldobrucale
Details
stacktrace (6.87 KB, text/plain)
2012-12-12 09:56 UTC, aldobrucale
Details
stacktrace (9.36 KB, text/plain)
2013-03-11 09:54 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2012-12-05 15:17:35 UTC
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)
Comment 1 aldobrucale 2012-12-05 15:17:39 UTC
Created attachment 128904 [details]
stacktrace
Comment 2 Marian Mirilovic 2012-12-06 13:49:56 UTC
Are you able to reproduce that ? Thanks in advance.
Comment 3 Marian Mirilovic 2012-12-06 13:50:05 UTC
*** Bug 210283 has been marked as a duplicate of this bug. ***
Comment 4 aldobrucale 2012-12-12 09:56:08 UTC
Created attachment 129247 [details]
stacktrace

Invoked 'inline method' refactoring for a static method
Comment 5 Exceptions Reporter 2013-03-11 09:54:38 UTC
Created attachment 132446 [details]
stacktrace
Comment 6 Martin Balin 2015-09-17 11:21:14 UTC
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.