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.
Some OSGi frameworks use Bundle.getEntry to seek for important files in all bundles (so called extender pattern). Too bad this does not work for faked OSGi bundles created for NetBeans modules. For such bundles the getEntry(..) call ways returns null This is the behavior for Felix as well Netbinox.
The test is here: http://netbeans.org/bugzilla/attachment.cgi?id=109169
Created attachment 114938 [details] Possible fix - only for Netbinox, not for Felix right now
The problem is that only modules with public-packages are currently exported as OSGi bundles. If a module exports no packages, then its Bundle is not going to be available. We should probably add some resource detection via branding. E.g. JDev could say that each module with META-INF/extension.xml is supposed to have a bundle.
The module that exports an entry needs to declare OpenIDE-Module-Public-Packages or Netigso-Export-Package ergonomics#93221508f753