[
https://issues.apache.org/jira/browse/FELIX-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987710#comment-13987710
]
Cristiano Gavião commented on FELIX-4496:
-----------------------------------------
Well, I'm using Luna.
I did:
- created a new workspace;
- imported the org.apache.felix.bundlerepository bundle into it;
- started a new OSGi launch configuration with only some plugins selected.
!SESSION 2014-05-02 10:49:01.654 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -dev
file:/home/cvgaviao/workspaces/felix/.metadata/.plugins/org.eclipse.pde.core/New_configuration/dev.properties
-os linux -ws gtk -arch x86_64 -consoleLog -console
!ENTRY org.apache.felix.bundlerepository 4 0 2014-05-02 10:49:02.151
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Error starting module.
at org.eclipse.osgi.container.Module.doStart(Module.java:580)
at org.eclipse.osgi.container.Module.start(Module.java:439)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.lang.NoClassDefFoundError: org/apache/felix/utils/log/Logger
at
org.apache.felix.bundlerepository.impl.Activator.<clinit>(Activator.java:35)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:755)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:706)
at
org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)
at
org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319)
at org.eclipse.osgi.container.Module.doStart(Module.java:571)
... 8 more
Caused by: java.lang.ClassNotFoundException: org.apache.felix.utils.log.Logger
cannot be found by org.apache.felix.bundlerepository_1.7.0.SNAPSHOT
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 19 more
Root exception:
java.lang.NoClassDefFoundError: org/apache/felix/utils/log/Logger
at
org.apache.felix.bundlerepository.impl.Activator.<clinit>(Activator.java:35)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:755)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:706)
at
org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)
at
org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319)
at org.eclipse.osgi.container.Module.doStart(Module.java:571)
at org.eclipse.osgi.container.Module.start(Module.java:439)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.lang.ClassNotFoundException: org.apache.felix.utils.log.Logger
cannot be found by org.apache.felix.bundlerepository_1.7.0.SNAPSHOT
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 19 more
!ENTRY org.eclipse.osgi 4 0 2014-05-02 10:49:02.219
!MESSAGE Bundle org.apache.felix.bundlerepository_1.7.0.SNAPSHOT [1] is not
active.
osgi> ss
"Framework is launched."
id State Bundle
0 ACTIVE org.eclipse.osgi_3.10.0.v20140414-0312
Fragments=3
1 RESOLVED org.apache.felix.bundlerepository_1.7.0.SNAPSHOT
2 ACTIVE org.eclipse.equinox.util_1.0.500.v20130404-1337
3 RESOLVED org.eclipse.osgi.compatibility.state_1.0.0.v20140403-1907
Master=0
4 ACTIVE org.eclipse.equinox.ds_1.4.200.v20131126-2331
5 ACTIVE org.eclipse.equinox.event_1.3.100.v20140115-1647
6 ACTIVE org.apache.felix.gogo.command_0.10.0.v201209301215
7 ACTIVE org.apache.felix.gogo.shell_0.10.0.v201212101605
8 ACTIVE org.eclipse.equinox.common_3.6.200.v20130402-1505
9 ACTIVE org.eclipse.osgi.services_3.4.0.v20140312-2051
10 ACTIVE org.eclipse.osgi.util_3.3.0.v20131023-1243
11 ACTIVE org.apache.felix.gogo.runtime_0.10.0.v201209301036
12 ACTIVE org.eclipse.equinox.console_1.1.0.v20140131-1639
osgi>
> Bundle Repository must embed some non-OSGi dependencies
> -------------------------------------------------------
>
> Key: FELIX-4496
> URL: https://issues.apache.org/jira/browse/FELIX-4496
> Project: Felix
> Issue Type: Bug
> Components: Bundle Repository (OBR)
> Environment: Equinox
> Reporter: Cristiano Gavião
>
> at Equinox I'm getting the following error:
> Caused by: java.lang.ClassNotFoundException:
> org.apache.felix.utils.log.Logger cannot be found by osgi.identity;
> osgi.identity="org.apache.felix.bundlerepository";
> type="osgi.bundle"; version:Version="1.7.0.SNAPSHOT"
> The solution seems to embed org.apache.felix.utils, kxml2 and
> woodstox-core-asl
--
This message was sent by Atlassian JIRA
(v6.2#6252)