karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Varga (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-6345) Optional imports do not propagate to OSGi framework
Date Sun, 18 Aug 2019 20:18:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-6345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16910054#comment-16910054
] 

Robert Varga commented on KARAF-6345:
-------------------------------------

Just tested with 4.2.5 (with downgraded equinox just as in 4.2.6) and corrected steps to reproduce:
{noformat}
opendaylight-user@root>feature:install odl-akka-leveldb-0.10
opendaylight-user@root>feature:install odl-akka-persistence-2.5
{noformat}
and the problem occurs, too.

> Optional imports do not propagate to OSGi framework
> ---------------------------------------------------
>
>                 Key: KARAF-6345
>                 URL: https://issues.apache.org/jira/browse/KARAF-6345
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.5, 4.2.6
>            Reporter: Robert Varga
>            Assignee: Jean-Baptiste Onofré
>            Priority: Critical
>             Fix For: 4.3.0, 4.2.7
>
>
> Based on [https://lists.apache.org/thread.html/bf9e724cc9715b2a568bac7537a7be4a8df85867a2126bbd14e4e79d@%3Cdev.karaf.apache.org%3E]
> The problem is that:
> {noformat}
> java.lang.NoClassDefFoundError: org/iq80/leveldb/DBFactory
>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
>         at java.lang.Class.getDeclaredConstructors(Class.java:2020)
>         at akka.util.Reflect$.findConstructor(Reflect.scala:92)
>         at akka.persistence.Persistence.akka$persistence$Persistence$$createPlugin(Persistence.scala:408)
> [snip]
> Caused by: java.lang.ClassNotFoundException: org.iq80.leveldb.DBFactory cannot be found
by com.typesafe.akka.persistence_2.5.23
>         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:484)
>         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
>         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
>         at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         ... 32 more{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message