You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "John Ross (JIRA)" <ji...@apache.org> on 2012/07/30 22:01:36 UTC

[jira] [Resolved] (ARIES-891) org.apache.aries.subsystem.itests.HelloWorldTest fails

     [ https://issues.apache.org/jira/browse/ARIES-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Ross resolved ARIES-891.
-----------------------------

    Resolution: Fixed

Added the following entry to SubsystemTest.configuration: mavenBundle("org.apache.aries.subsystem", "org.apache.aries.subsystem.itest.interfaces").
                
> org.apache.aries.subsystem.itests.HelloWorldTest fails
> ------------------------------------------------------
>
>                 Key: ARIES-891
>                 URL: https://issues.apache.org/jira/browse/ARIES-891
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>            Reporter: John Ross
>            Assignee: John Ross
>
> The org.apache.aries.subsystem.itests.HelloWorldTest is failing.
> Caused by: org.osgi.service.subsystem.SubsystemException: org.osgi.service.resolver.ResolutionException: Unable to resolve jar:file:/tmp/inputStreamExtract7190843641963851883.zip!/helloImpl.jar: missing requirement org.apache.aries.subsystem.core.archive.ImportPackageRequirement: namespace=osgi.wiring.package, attributes={}, directives={filter=(&(osgi.wiring.package=org.apache.aries.subsystem.itests.hello.api)(version>=0.0.0))}, resource=jar:file:/tmp/inputStreamExtract7190843641963851883.zip!/helloImpl.jar
> 	at org.apache.aries.subsystem.core.internal.SubsystemResource.computeDependencies(SubsystemResource.java:381)
> 	at org.apache.aries.subsystem.core.internal.SubsystemResource.computeDependencies(SubsystemResource.java:358)
> 	at org.apache.aries.subsystem.core.internal.SubsystemResource.<init>(SubsystemResource.java:96)
> 	at org.apache.aries.subsystem.core.internal.SubsystemResource.<init>(SubsystemResource.java:87)
> 	at org.apache.aries.subsystem.core.internal.InstallAction.createSubsystemResource(InstallAction.java:127)
> 	at org.apache.aries.subsystem.core.internal.InstallAction.run(InstallAction.java:61)
> 	at org.apache.aries.subsystem.core.internal.InstallAction.run(InstallAction.java:30)
> 	at java.security.AccessController.doPrivileged(AccessController.java:202)
> 	at org.apache.aries.subsystem.core.internal.AriesSubsystem.install(AriesSubsystem.java:250)
> 	at org.apache.aries.subsystem.itests.SubsystemTest.installSubsystem(SubsystemTest.java:626)
> 	at org.apache.aries.subsystem.itests.SubsystemTest.installSubsystem(SubsystemTest.java:621)
> 	at org.apache.aries.subsystem.itests.SubsystemTest.installSubsystemFromFile(SubsystemTest.java:609)
> 	at org.apache.aries.subsystem.itests.SubsystemTest.installSubsystemFromFile(SubsystemTest.java:601)
> 	at org.apache.aries.subsystem.itests.HelloWorldTest.testHello(HelloWorldTest.java:33)
> 	... 25 more
> Caused by: org.osgi.service.resolver.ResolutionException: Unable to resolve jar:file:/tmp/inputStreamExtract7190843641963851883.zip!/helloImpl.jar: missing requirement org.apache.aries.subsystem.core.archive.ImportPackageRequirement: namespace=osgi.wiring.package, attributes={}, directives={filter=(&(osgi.wiring.package=org.apache.aries.subsystem.itests.hello.api)(version>=0.0.0))}, resource=jar:file:/tmp/inputStreamExtract7190843641963851883.zip!/helloImpl.jar
> 	at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:285)
> 	at org.apache.felix.resolver.Candidates.populate(Candidates.java:153)
> 	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:96)
> 	at org.apache.aries.subsystem.core.internal.SubsystemResource.computeDependencies(SubsystemResource.java:375)
> 	... 38 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira