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 182746 - NullPointerException at org.netbeans.api.java.source.SourceUtils.getDependentRootsImpl
Summary: NullPointerException at org.netbeans.api.java.source.SourceUtils.getDependent...
Status: RESOLVED DUPLICATE of bug 177763
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-25 09:48 UTC by richardambridge
Modified: 2010-08-17 09:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 161460


Attachments
stacktrace (4.63 KB, text/plain)
2010-03-25 09:48 UTC, richardambridge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description richardambridge 2010-03-25 09:48:32 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux

User Comments:
GUEST: Selecting refactor for method atribbute.

GUEST: Trying to refactor -> rename method

GUEST: Refactor Not runing!!!!

GUEST: Variable umbenennen

GUEST: no idea

GUEST: I was trying to do a refactor->rename on an Enum member




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.java.source.SourceUtils.getDependentRootsImpl(SourceUtils.java:728)
   at org.netbeans.api.java.source.SourceUtils.getDependentRoots(SourceUtils.java:717)
   at org.netbeans.modules.refactoring.java.RetoucheUtils.getClasspathInfoFor(RetoucheUtils.java:614)
   at org.netbeans.modules.refactoring.java.ui.RenameRefactoringUI.<init>(RenameRefactoringUI.java:153)
   at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$1.createRefactoringUI(RefactoringActionsProvider.java:136)
   at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$TextComponentTask.run(RefactoringActionsProvider.java:730)
Comment 1 richardambridge 2010-03-25 09:48:36 UTC
Created attachment 95759 [details]
stacktrace
Comment 2 Jan Lahoda 2010-08-17 09:56:28 UTC
Seems like a duplicate of bug #177763, fixed in NetBeans 6.9.

*** This bug has been marked as a duplicate of bug 177763 ***