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 - 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: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vitezslav Stejskal
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-03 11:29 UTC by J Bachorik
Modified: 2010-03-05 04:53 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 154747


Attachments
stacktrace (1.01 KB, text/plain)
2009-08-03 11:29 UTC, J Bachorik
Details
stacktrace (2.19 KB, text/plain)
2010-02-08 16:46 UTC, asmotrich
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***