Community
Participate
Working Groups
Similarly to bug 345562 there is a stack trace if there is a directory in service-component pattern For example with Service-Component: OSGI-INF/* There is this: java.io.FileNotFoundException: /<Path To Plugin / Bundle>/OSGI-INF/metatype/.svn (Access is denied) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.eclipse.osgi.framework.util.SecureAction.getFileInputStream(SecureAction.java:123) at org.eclipse.osgi.baseadaptor.bundlefile.FileBundleEntry.getInputStream(FileBundleEntry.java:56) at org.eclipse.osgi.framework.internal.core.BundleURLConnection.connect(BundleURLConnection.java:53) at org.eclipse.osgi.framework.internal.core.BundleURLConnection.getInputStream(BundleURLConnection.java:99) at java.net.URL.openStream(URL.java:1010) at org.eclipse.equinox.internal.ds.ComponentStorage.parseXMLDeclaration(ComponentStorage.java:88) at org.eclipse.equinox.internal.ds.storage.file.FileStorage.loadComponentDefinitions(FileStorage.java:92) at org.eclipse.equinox.internal.ds.SCRManager.startedBundle(SCRManager.java:586) Even there is an easy workaround, by giving a better pattern, for example Service-Component: OSGI-INF/*.xml and even the issue only occurs by launching equinox from an eclipse workspace (.svn is created by eclipse subversive, and is not here when the bundle is built ), it is not really clean to have an error stack trace. It has been fixed for bug 345562, so it should probably also be fixed here.
Something wrong in stack trace I copied. The stack trace is java.io.FileNotFoundException: /<Path To Plugin / Bundle>/OSGI-INF/.svn (Access is denied) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.eclipse.osgi.framework.util.SecureAction.getFileInputStream(SecureAction.java:123) at org.eclipse.osgi.baseadaptor.bundlefile.FileBundleEntry.getInputStream(FileBundleEntry.java:56) at org.eclipse.osgi.framework.internal.core.BundleURLConnection.connect(BundleURLConnection.java:53) at org.eclipse.osgi.framework.internal.core.BundleURLConnection.getInputStream(BundleURLConnection.java:99) at java.net.URL.openStream(URL.java:1010) at org.eclipse.equinox.internal.ds.ComponentStorage.parseXMLDeclaration(ComponentStorage.java:88) at org.eclipse.equinox.internal.ds.storage.file.FileStorage.loadComponentDefinitions(FileStorage.java:92) at org.eclipse.equinox.internal.ds.SCRManager.startedBundle(SCRManager.java:586)
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
This works now that we have moved to Felix SCR implementation.