aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Sierra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIES-1794) java.lang.NoSuchMethodError: org.apache.aries.osgi.functional.OSGi.splitBy
Date Tue, 24 Apr 2018 10:18:00 GMT

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

Carlos Sierra commented on ARIES-1794:
--------------------------------------

Hi Stefan,

that's weird... it looks like there is a mismatch between the whiteboard and one of its dependencies
(component-dsl). But this dependency should come inlined inside the whiteboard bundle.

I have checked and it looks like the latest snapshot passed the tests in the online jenkins.
Could you please verify you are running the latest snapshot? (I believe it should be org.apache.aries.jax.rs.whiteboard-0.0.1-20180403.151904-75.jar)

Sorry for this inconvenience, all these problems should go away the moment we can release
the artifacts.

Thanks for reporting.

Carlos.

> java.lang.NoSuchMethodError: org.apache.aries.osgi.functional.OSGi.splitBy
> --------------------------------------------------------------------------
>
>                 Key: ARIES-1794
>                 URL: https://issues.apache.org/jira/browse/ARIES-1794
>             Project: Aries
>          Issue Type: Bug
>          Components: jax-rs-whiteboard
>    Affects Versions: jax-rs-whiteboard-1.0.0
>            Reporter: Stefan Bischof
>            Priority: Major
>
> Hello,
> when using OSGi R7 - org.osgi.util.function 1.1.0
> I got this Exception.
> {code:java}
> ! Failed to start bundle org.apache.aries.jax.rs.whiteboard-0.0.1.201804171134, exception
activator error org.apache.aries.osgi.functional.OSGi.splitBy(Ljava/util/function/Function;Ljava/util/function/Function;)Lorg/apache/aries/osgi/functional/OSGi;
from: org.apache.aries.jax.rs.whiteboard.internal.utils.Utils:highestPer#118
> org.osgi.framework.BundleException: Activator start error in bundle org.apache.aries.jax.rs.whiteboard
[7].
>     at org.apache.felix.framework.Felix.activateBundle(Felix.java:2428)
>     at org.apache.felix.framework.Felix.startBundle(Felix.java:2284)
>     at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
>     at aQute.launcher.Launcher.startBundles(Launcher.java:517)
>     at aQute.launcher.Launcher.activate(Launcher.java:423)
>     at aQute.launcher.Launcher.run(Launcher.java:301)
>     at aQute.launcher.Launcher.main(Launcher.java:147)
> Caused by: java.lang.NoSuchMethodError: org.apache.aries.osgi.functional.OSGi.splitBy(Ljava/util/function/Function;Ljava/util/function/Function;)Lorg/apache/aries/osgi/functional/OSGi;
>     at org.apache.aries.jax.rs.whiteboard.internal.utils.Utils.highestPer(Utils.java:118)
>     at org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.getAllServices(Whiteboard.java:236)
>     at org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.<init>(Whiteboard.java:154)
>     at org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.createWhiteboard(Whiteboard.java:161)
>     at org.apache.aries.jax.rs.whiteboard.activator.CxfJaxrsBundleActivator.runWhiteboard(CxfJaxrsBundleActivator.java:144)
>     at org.apache.aries.jax.rs.whiteboard.activator.CxfJaxrsBundleActivator.start(CxfJaxrsBundleActivator.java:86)
>     at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
>     at org.apache.felix.framework.Felix.activateBundle(Felix.java:2378)
>     ... 6 more{code}
>  
> regards



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message