You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2010/02/05 22:02:28 UTC
[jira] Closed: (FELIX-1563) Felix latest bundle repository cannot
be started for some reason
[ 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.