You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "david small99 (JIRA)" <ji...@apache.org> on 2009/09/07 12:05:57 UTC
[jira] Created: (FELIX-1563) Felix latest
Felix latest
-------------
Key: FELIX-1563
URL: https://issues.apache.org/jira/browse/FELIX-1563
Project: Felix
Issue Type: Bug
Components: Bundle Repository (OBR)
Affects Versions: felix-1.8.0
Reporter: david small99
I tried to use the org.apache.felix.bundlerepository-1.4.0.jar. The bundle cannot be started.
org.osgi.framework.BundleException: Exception in org.apache.felix.bundlerepository.Activator.start() of bundle org.apache.felix.bundlerepository.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1010)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
at java.lang.Thread.run(Thread.java:735)
Caused by: java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
at java.security.AccessController.doPrivileged(AccessController.java:251)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
... 13 more
Nested Exception:
java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
at java.security.AccessController.doPrivileged(AccessController.java:251)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
at java.lang.Thread.run(Thread.java:735)
Nested Exception:
java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
at java.security.AccessController.doPrivileged(AccessController.java:251)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
at java.lang.Thread.run(Thread.java:735)
Please can you investigate?
Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1563) Felix latest bundle repository
cannot be started for some reason
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752520#action_12752520 ]
Richard S. Hall commented on FELIX-1563:
----------------------------------------
I think the imports are wrong for the repository bundle, they should be for 1.4 or greater, since it uses Bundle.getBundleContext(), which wasn't introduced until 1.4.
> Felix latest bundle repository cannot be started for some reason
> ----------------------------------------------------------------
>
> Key: FELIX-1563
> URL: https://issues.apache.org/jira/browse/FELIX-1563
> Project: Felix
> Issue Type: Bug
> Components: Bundle Repository (OBR)
> Affects Versions: felix-1.8.0
> Reporter: david small99
>
> I tried to use the org.apache.felix.bundlerepository-1.4.0.jar. The bundle cannot be started.
> org.osgi.framework.BundleException: Exception in org.apache.felix.bundlerepository.Activator.start() of bundle org.apache.felix.bundlerepository.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1010)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Caused by: java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> ... 13 more
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Please can you investigate?
> Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-1563) Felix latest bundle repository cannot
be started for some reason
Posted by "david small99 (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
david small99 updated FELIX-1563:
---------------------------------
Summary: Felix latest bundle repository cannot be started for some reason (was: Felix latest )
> Felix latest bundle repository cannot be started for some reason
> ----------------------------------------------------------------
>
> Key: FELIX-1563
> URL: https://issues.apache.org/jira/browse/FELIX-1563
> Project: Felix
> Issue Type: Bug
> Components: Bundle Repository (OBR)
> Affects Versions: felix-1.8.0
> Reporter: david small99
>
> I tried to use the org.apache.felix.bundlerepository-1.4.0.jar. The bundle cannot be started.
> org.osgi.framework.BundleException: Exception in org.apache.felix.bundlerepository.Activator.start() of bundle org.apache.felix.bundlerepository.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1010)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Caused by: java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> ... 13 more
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Please can you investigate?
> Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1563) Felix latest bundle repository
cannot be started for some reason
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752764#action_12752764 ]
Richard S. Hall commented on FELIX-1563:
----------------------------------------
Yes, that is what I am saying.
> Felix latest bundle repository cannot be started for some reason
> ----------------------------------------------------------------
>
> Key: FELIX-1563
> URL: https://issues.apache.org/jira/browse/FELIX-1563
> Project: Felix
> Issue Type: Bug
> Components: Bundle Repository (OBR)
> Affects Versions: felix-1.8.0
> Reporter: david small99
>
> I tried to use the org.apache.felix.bundlerepository-1.4.0.jar. The bundle cannot be started.
> org.osgi.framework.BundleException: Exception in org.apache.felix.bundlerepository.Activator.start() of bundle org.apache.felix.bundlerepository.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1010)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Caused by: java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> ... 13 more
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Please can you investigate?
> Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FELIX-1563) Felix latest bundle repository cannot
be started for some reason
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall closed FELIX-1563.
----------------------------------
Resolution: Fixed
This was fixed.
> Felix latest bundle repository cannot be started for some reason
> ----------------------------------------------------------------
>
> Key: FELIX-1563
> URL: https://issues.apache.org/jira/browse/FELIX-1563
> Project: Felix
> Issue Type: Bug
> Components: Bundle Repository (OBR)
> Affects Versions: bundlerepository-1.4.0
> Reporter: david small99
> Fix For: maven-bundle-plugin-1.4.1
>
>
> I tried to use the org.apache.felix.bundlerepository-1.4.0.jar. The bundle cannot be started.
> org.osgi.framework.BundleException: Exception in org.apache.felix.bundlerepository.Activator.start() of bundle org.apache.felix.bundlerepository.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1010)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Caused by: java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> ... 13 more
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Please can you investigate?
> Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1563) Felix latest bundle repository
cannot be started for some reason
Posted by "david small99 (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752403#action_12752403 ]
david small99 commented on FELIX-1563:
--------------------------------------
Hi Richard,
The bundle org.apache.felix.bundlerepository-1.4.0.jar should be able to cope with org.osgi.framework 1.3 as its import package is shown below.
Manifest-Version: 1.0
Built-By: pauls
Bundle-Activator: org.apache.felix.bundlerepository.Activator
Created-By: Apache Maven Bundle Plugin
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
Import-Package: org.osgi.framework;version="1.3",org.osgi.service.log;
resolution:=optional;version="1.3.0",org.osgi.service.obr;version="1.
0"
Bnd-LastModified: 1238533562871
Export-Package: org.osgi.service.obr;uses:="org.osgi.framework";versio
n="1.0"
Bundle-Version: 1.4.0
Ignore-Package: org.xml.sax,javax.xml.parsers
Bundle-Name: Apache Felix Bundle Repository
Bundle-Description: Bundle repository service.
Bundle-Url: http://felix.apache.org/site/downloads.cgi
Build-Jdk: 1.5.0_16
Bundle-DocURL: http://felix.apache.org/site/apache-felix-osgi-bundle-r
epository.html
Private-Package: org.apache.felix.bundlerepository,org.apache.felix.bu
ndlerepository.metadataparser,org.apache.felix.bundlerepository.metad
ataparser.kxmlsax,org.kxml2.io,org.kxml2.kdom,org.kxml2.wap,org.kxml2
.wap.syncml,org.kxml2.wap.wml,org.kxml2.wap.wv,org.xmlpull.v1
Bundle-ManifestVersion: 2
Export-Service: org.osgi.service.obr.RepositoryAdmin
Bundle-Vendor: The Apache Software Foundation
Bundle-SymbolicName: org.apache.felix.bundlerepository
Tool: Bnd-0.0.255
Bundle-Source: http://felix.apache.org/site/downloads.cgi
DynamicImport-Package: org.apache.felix.shell
> Felix latest bundle repository cannot be started for some reason
> ----------------------------------------------------------------
>
> Key: FELIX-1563
> URL: https://issues.apache.org/jira/browse/FELIX-1563
> Project: Felix
> Issue Type: Bug
> Components: Bundle Repository (OBR)
> Affects Versions: felix-1.8.0
> Reporter: david small99
>
> I tried to use the org.apache.felix.bundlerepository-1.4.0.jar. The bundle cannot be started.
> org.osgi.framework.BundleException: Exception in org.apache.felix.bundlerepository.Activator.start() of bundle org.apache.felix.bundlerepository.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1010)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Caused by: java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> ... 13 more
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Please can you investigate?
> Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1563) Felix latest bundle repository
cannot be started for some reason
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752138#action_12752138 ]
Richard S. Hall commented on FELIX-1563:
----------------------------------------
It looks like the version of Equinox you are using is not R4.1. However, this bundle is importing the wrong version...it is importing org.osgi.framework 1.3, when it should be 1.4.
> Felix latest bundle repository cannot be started for some reason
> ----------------------------------------------------------------
>
> Key: FELIX-1563
> URL: https://issues.apache.org/jira/browse/FELIX-1563
> Project: Felix
> Issue Type: Bug
> Components: Bundle Repository (OBR)
> Affects Versions: felix-1.8.0
> Reporter: david small99
>
> I tried to use the org.apache.felix.bundlerepository-1.4.0.jar. The bundle cannot be started.
> org.osgi.framework.BundleException: Exception in org.apache.felix.bundlerepository.Activator.start() of bundle org.apache.felix.bundlerepository.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1010)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Caused by: java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> ... 13 more
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Please can you investigate?
> Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-1563) Felix latest bundle repository cannot
be started for some reason
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall updated FELIX-1563:
-----------------------------------
Affects Version/s: (was: felix-1.8.0)
bundlerepository-1.4.0
Fix Version/s: maven-bundle-plugin-1.4.1
> Felix latest bundle repository cannot be started for some reason
> ----------------------------------------------------------------
>
> Key: FELIX-1563
> URL: https://issues.apache.org/jira/browse/FELIX-1563
> Project: Felix
> Issue Type: Bug
> Components: Bundle Repository (OBR)
> Affects Versions: bundlerepository-1.4.0
> Reporter: david small99
> Fix For: maven-bundle-plugin-1.4.1
>
>
> I tried to use the org.apache.felix.bundlerepository-1.4.0.jar. The bundle cannot be started.
> org.osgi.framework.BundleException: Exception in org.apache.felix.bundlerepository.Activator.start() of bundle org.apache.felix.bundlerepository.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1010)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Caused by: java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> ... 13 more
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Please can you investigate?
> Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1563) Felix latest bundle repository
cannot be started for some reason
Posted by "david small99 (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752747#action_12752747 ]
david small99 commented on FELIX-1563:
--------------------------------------
Does it mean that the felix bundleRepository's import-Package is wrong? Am I right to say the bundle org.apache.felix.bundlerepository-1.4.0.jar needs org.osgi.framework version 1.4 or above?
Thanks
> Felix latest bundle repository cannot be started for some reason
> ----------------------------------------------------------------
>
> Key: FELIX-1563
> URL: https://issues.apache.org/jira/browse/FELIX-1563
> Project: Felix
> Issue Type: Bug
> Components: Bundle Repository (OBR)
> Affects Versions: felix-1.8.0
> Reporter: david small99
>
> I tried to use the org.apache.felix.bundlerepository-1.4.0.jar. The bundle cannot be started.
> org.osgi.framework.BundleException: Exception in org.apache.felix.bundlerepository.Activator.start() of bundle org.apache.felix.bundlerepository.
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1010)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Caused by: java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> ... 13 more
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Nested Exception:
> java.lang.NoSuchMethodError: org/osgi/framework/Bundle.getBundleContext()Lorg/osgi/framework/BundleContext;
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.initialize(LocalRepositoryImpl.java:222)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:190)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl$LocalResourceImpl.<init>(LocalRepositoryImpl.java:182)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.addBundle(LocalRepositoryImpl.java:104)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.initialize(LocalRepositoryImpl.java:169)
> at org.apache.felix.bundlerepository.LocalRepositoryImpl.<init>(LocalRepositoryImpl.java:56)
> at org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:58)
> at org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
> at java.security.AccessController.doPrivileged(AccessController.java:251)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> at java.lang.reflect.Method.invoke(Method.java:599)
> at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:293)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:278)
> at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:213)
> at java.lang.Thread.run(Thread.java:735)
> Please can you investigate?
> Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.