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 179475 - NullPointerException: The treePath parameter cannot be null
Summary: NullPointerException: The treePath parameter cannot be null
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-13 16:23 UTC by Jesse Glick
Modified: 2010-02-15 08:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 145867


Attachments
stacktrace (1.82 KB, text/plain)
2010-01-13 16:23 UTC, Jesse Glick
Details
stacktrace (1.82 KB, text/plain)
2010-02-11 16:46 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2010-01-13 16:23:14 UTC
Build: NetBeans IDE Dev (Build 100112-f2744655872e)
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Linux, 2.6.31-17-generic, i386

User Comments:
GUEST: Refactoring a Session Bean, Safe Delete a method which is local and remote

jglick: Trying to Safe Delete the only impl of an abstract method.



Stacktrace: 
java.lang.NullPointerException: The treePath parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:86)
   at org.netbeans.api.java.source.TreePathHandle.create(TreePathHandle.java:212)
   at org.netbeans.modules.refactoring.java.ui.tree.ElementGrip.<init>(ElementGrip.java:71)
   at org.netbeans.modules.refactoring.java.plugins.OverriddenAbsMethodFinder.run(OverriddenAbsMethodFinder.java:66)
   at org.netbeans.modules.refactoring.java.plugins.OverriddenAbsMethodFinder.run(OverriddenAbsMethodFinder.java:45)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:471)
Comment 1 Jesse Glick 2010-01-13 16:23:17 UTC
Created attachment 93266 [details]
stacktrace
Comment 2 Jesse Glick 2010-02-11 16:46:45 UTC
Created attachment 94101 [details]
stacktrace
Comment 3 Exceptions Reporter 2010-02-11 16:46:57 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=145867
Comment 4 Jesse Glick 2010-02-11 16:48:46 UTC
Reproducible, I think - just try to Safe Delete the impl of an abstract method.
Comment 5 Jan Lahoda 2010-02-15 08:17:52 UTC
http://hg.netbeans.org/jet-main/rev/3d75bd568e4c
(I did not put the bug number into the commit log by accident.)