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.
Summary: | No usages found for DocumentFinder.FindReplaceResult | ||
---|---|---|---|
Product: | apisupport | Reporter: | Jesse Glick <jglick> |
Component: | Project | Assignee: | Jesse Glick <jglick> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | mmatula |
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 68727 | ||
Bug Blocks: |
Description
Jesse Glick
2005-03-15 14:28:01 UTC
I remember, that there was some problem with nb-project setup of editor/lib project. I'm not sure if it is this case, but FileOwnerQuery.getOwner(fileObject) for fileObjects from editor/lib project returned "Editor" project and not "Editor Library" project. The problem is that we are restricting usages to the projects that depend on the owner project of a file (to speed up the performance). However in this case the project system seems to return incorrect owner project - for any files from editor/lib project it returns "NbModuleProject[MasterFileObject@1c6b6ec[file:/mnt/work/sources/nb_all/editor/]]" (taken from debugger). So I guess this is a bug in the project system. Ah, I see. NBM project type bug. Have patch for root cause, and it does fix this bug. Thanks for tip. committed * Up-To-Date 1.50 apisupport/project/src/org/netbeans/modules/apisupport/project/NbModuleProject.java committed * Up-To-Date 1.8 apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/NbModuleProjectTest.java *** Issue 52204 has been marked as a duplicate of this issue. *** Verified. |