[jboss-osgi-issues] [JBoss JIRA] Commented: (JBOSGI-135) Cannot handle package beeing imported and exported by the same bundle
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Mon Aug 24 11:48:23 EDT 2009
[ https://jira.jboss.org/jira/browse/JBOSGI-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12482460#action_12482460 ]
Thomas Diesler commented on JBOSGI-135:
---------------------------------------
Caused by: java.lang.ClassCastException: Cannot assign [org.osgi.service.log.LogService] comming from different exporters
OSGiBundleClassLoader at ecb3f1{vfszip:/.../bundles/org.apache.felix.log.jar/}
OSGiBundleClassLoader at ab835a{vfszip:/.../bundles/org.osgi.compendium.jar/}
at org.jboss.osgi.plugins.facade.bundle.OSGiServiceState.isAssignableTo(OSGiServiceState.java:352)
at org.jboss.osgi.plugins.facade.bundle.OSGiServiceState.isAssignable(OSGiServiceState.java:373)
at org.jboss.osgi.plugins.facade.bundle.OSGiBundleManager.getServices(OSGiBundleManager.java:643)
at org.jboss.osgi.plugins.facade.bundle.OSGiBundleManager.getServiceReference(OSGiBundleManager.java:660)
at org.jboss.osgi.plugins.facade.bundle.OSGiBundleState.getServiceReference(OSGiBundleState.java:632)
at org.jboss.osgi.plugins.facade.bundle.OSGiBundleContextWrapper.getServiceReference(OSGiBundleContextWrapper.java:125)
at org.jboss.test.osgi.integration.simple.bundleB.SimpleLogServiceActivator.start(SimpleLogServiceActivator.java:45)
> Cannot handle package beeing imported and exported by the same bundle
> ---------------------------------------------------------------------
>
> Key: JBOSGI-135
> URL: https://jira.jboss.org/jira/browse/JBOSGI-135
> Project: JBoss OSGi
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Core
> Reporter: Thomas Diesler
> Assignee: Thomas Diesler
> Priority: Critical
> Fix For: Framework 1.0.0 Alpha1
>
>
> The BundleActivator cannot get the LogService explicitly nor via a ServiceTracker
> [tdiesler at tdvaio microcontainer]$ mvn -Dtest=SimpleLogServiceTestCase test
> Running org.jboss.test.osgi.integration.simple.SimpleLogServiceTestCase
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.171 sec <<< FAILURE!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-osgi-issues
mailing list