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 192344 - "null parent file" from AbstractRefactoringPlugin.checkFileObject
Summary: "null parent file" from AbstractRefactoringPlugin.checkFileObject
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 14:36 UTC by Sergey Petrov
Modified: 2010-12-03 06:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 174215


Attachments
stacktrace (1.79 KB, text/plain)
2010-11-23 14:36 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2010-11-23 14:36:53 UTC
Build: NetBeans IDE 6.9.1 (Build 201011082200)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows 7

User Comments:
sj-nb: Tried to find usages for MavenPersistenceProvider in maven.persistence project, have a lot of projects opened.




Stacktrace: 
java.lang.NullPointerException: null parent file: org.netbeans.modules.apisupport.refactoring.NbWhereUsedRefactoringPlugin$LayerWhereUsedRefactoringElement
   at org.netbeans.modules.refactoring.spi.RefactoringElementsBag.isReadOnly(RefactoringElementsBag.java:198)
   at org.netbeans.modules.refactoring.spi.RefactoringElementsBag.add(RefactoringElementsBag.java:105)
   at org.netbeans.modules.apisupport.refactoring.AbstractRefactoringPlugin.checkFileObject(AbstractRefactoringPlugin.java:378)
   at org.netbeans.modules.apisupport.refactoring.AbstractRefactoringPlugin.checkFileObject(AbstractRefactoringPlugin.java:311)
   at org.netbeans.modules.apisupport.refactoring.AbstractRefactoringPlugin.checkFileObject(AbstractRefactoringPlugin.java:311)
   at org.netbeans.modules.apisupport.refactoring.AbstractRefactoringPlugin.checkFileObject(AbstractRefactoringPlugin.java:311)
Comment 1 Sergey Petrov 2010-11-23 14:36:57 UTC
Created attachment 103250 [details]
stacktrace
Comment 2 Jesse Glick 2010-12-02 00:04:59 UTC
core-main #7214ac22dc92
Comment 3 Quality Engineering 2010-12-03 06:18:38 UTC
Integrated into 'main-golden', will be available in build *201012030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7214ac22dc92
User: Jesse Glick <jglick@netbeans.org>
Log: #192344: "null parent file" from AbstractRefactoringPlugin.checkFileObject