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 169731

Summary: NullPointerException at org.netbeans.api.java.source.SourceUtils.getDependentRootsImpl
Product: editor Reporter: J Bachorik <yardus>
Component: Parsing & IndexingAssignee: Vitezslav Stejskal <vstejskal>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: adlepoo, asmotrich, bondolo, gtzabari, mgoe
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=154747
Issue Type: DEFECT Exception Reporter: 154747
Attachments: stacktrace
stacktrace

Description J Bachorik 2009-08-03 11:29:31 UTC
Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.27-14-generic, amd64

User Comments:
yardus: find usages ...

GUEST: I was trying to refactor the code. E.g. using refactor -> rename or moving classes between packages. A restart of Netbeans and the comp did not help.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.api.java.source.SourceUtils.getDependentRootsImpl(SourceUtils.java:722)
        at org.netbeans.api.java.source.SourceUtils.getDependentRoots(SourceUtils.java:712)
        at org.netbeans.modules.refactoring.java.RetoucheUtils.getClasspathInfoFor(RetoucheUtils.java:614)
        at org.netbeans.modules.refactoring.java.RetoucheUtils.getClasspathInfoFor(RetoucheUtils.java:595)
        at org.netbeans.modules.refactoring.java.RetoucheUtils.getClasspathInfoFor(RetoucheUtils.java:591)
        at org.netbeans.modules.refactoring.java.RetoucheUtils.getClasspathInfoFor(RetoucheUtils.java:674)
Comment 1 J Bachorik 2009-08-03 11:29:36 UTC
Created attachment 85691 [details]
stacktrace
Comment 2 Jan Lahoda 2009-08-20 10:00:45 UTC
Reassigning all moonko's java/source bugs to myself.
Comment 3 Jan Lahoda 2009-09-24 13:58:03 UTC
No idea what could cause this.
Comment 4 asmotrich 2010-02-08 16:46:38 UTC
Created attachment 93974 [details]
stacktrace
Comment 5 Exceptions Reporter 2010-03-03 16:14:47 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154747
Comment 6 Vitezslav Stejskal 2010-03-05 04:53:15 UTC
Looks like the same problem as in issue #177763. It should be already fixed in 6.9dev builds, see the details in #177763.

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