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 215118 - NullPointerException at org.netbeans.api.java.source.ElementUtilities.enclosingTypeElementImpl
Summary: NullPointerException at org.netbeans.api.java.source.ElementUtilities.enclosi...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-03 10:59 UTC by aldobrucale
Modified: 2015-02-04 03:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 190377


Attachments
stacktrace (2.52 KB, text/plain)
2012-07-03 10:59 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2012-07-03 10:59:35 UTC
Build: NetBeans IDE 7.2 (Build 201206291011)
VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Linux

User Comments:
aldobrucale: Tried to safely delete a method that had been already been deleted




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.java.source.ElementUtilities.enclosingTypeElementImpl(ElementUtilities.java:146)
   at org.netbeans.api.java.source.ElementUtilities.enclosingTypeElement(ElementUtilities.java:141)
   at org.netbeans.modules.refactoring.java.RefactoringUtils.getOverridenMethods(RefactoringUtils.java:104)
   at org.netbeans.modules.refactoring.java.api.JavaRefactoringUtils.getOverriddenMethods(JavaRefactoringUtils.java:68)
   at org.netbeans.modules.refactoring.java.plugins.OverriddenAbsMethodFinder.run(OverriddenAbsMethodFinder.java:65)
   at org.netbeans.modules.refactoring.java.plugins.OverriddenAbsMethodFinder.run(OverriddenAbsMethodFinder.java:47)
Comment 1 aldobrucale 2012-07-03 10:59:39 UTC
Created attachment 121693 [details]
stacktrace
Comment 2 Quality Engineering 2015-02-04 03:29:22 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.