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: | javac API source errors | ||
---|---|---|---|
Product: | java | Reporter: | fommil <fommil> |
Component: | Source | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
fommil
2009-05-15 10:26:54 UTC
Do you have nb-javac sources checked out? If yes, then this is a know problem with external source roots. There is an artificial SourceForBinaryQuery, that translates the javac-api-nb-7.0-b07.jar and javac-impl-nb-7.0-b07.jar to nb-javac/src/share/classes/. This source root is an external source root of project: nb-javac/make/netbeans/nb-javac. But, what happens is that noone provides classpath for the source root (although the project is loaded, and so the external source root should have owner) and the indexing engine will skip it. Precise details on why the owner is not found are still unknown. A user-level workaround is to manually open the nb-javac project, clear caches (var/cache/index) and restart the IDE. As the external source roots mapping is persistent since NB6.5, it should be safe to close the nb-javac project after it was opened at least once. I'm only checked out for main-golden and contrib... no javac here. Workarounds very welcome! @moonko you mean I *should* pull down nb-javac to fix this? Why is that necessary Reassigning all moonko's java/source bugs to myself. This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |