Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1563

Felix latest bundle repository cannot be started for some reason

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            davidsmall99 david small99
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment