[
https://jira.jboss.org/browse/JBOSGI-338?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler edited comment on JBOSGI-338 at 6/10/10 7:19 AM:
----------------------------------------------------------------
Bundle-Activator: org.apache.felix.eventadmin.impl.Activator
Import-Package:
org.osgi.framework;version="1.3",
org.osgi.service.cm;resolution:=optional;version="[1.2,2)",
org.osgi.service.event;version="1.2",
org.osgi.service.metatype;resolution:=optional;version="[1.1,2)"
Export-Package:
org.osgi.service.event;uses:="org.osgi.framework";version="1.2"
Bundle-Version: 1.2.2
Bundle-Name: Apache Felix EventAdmin
Bundle-Description: This bundle provides an implementation of the OSGi R4 EventAdmin
service.
Bundle-SymbolicName: org.apache.felix.eventadmin
Bundle-ManifestVersion: 2
Export-Service: org.osgi.service.event.EventAdmin
Import-Service: org.osgi.service.event.EventHandler, org.osgi.service.
log.LogService, org.osgi.service.log.LogReaderService
DynamicImport-Package: org.osgi.service.log
was (Author: thomas.diesler(a)jboss.com):
Bundle-Activator: org.apache.felix.eventadmin.impl.Activator
Import-Package:
org.osgi.framework;version="1.3",
org.osgi.service.cm;r
esolution:=optional;version="[1.2,2)",
org.osgi.service.event;version=
"1.2",
org.osgi.service.metatype;resolution:=optional;version="[1.1,2)
"
Export-Package:
org.osgi.service.event;uses:="org.osgi.framework";vers
ion="1.2"
Bundle-Version: 1.2.2
Bundle-Name: Apache Felix EventAdmin
Bundle-Description: This bundle provides an implementation of the OSGi
R4 EventAdmin service.
Bundle-SymbolicName: org.apache.felix.eventadmin
Bundle-ManifestVersion: 2
Export-Service: org.osgi.service.event.EventAdmin
Import-Service: org.osgi.service.event.EventHandler, org.osgi.service.
log.LogService, org.osgi.service.log.LogReaderService
DynamicImport-Package: org.osgi.service.log
Cannot obtain EventAdmin service
--------------------------------
Key: JBOSGI-338
URL:
https://jira.jboss.org/browse/JBOSGI-338
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core Framework
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Beta8
java.lang.IllegalArgumentException: Null reference
at
org.jboss.osgi.framework.bundle.ServiceManagerPluginImpl.getService(ServiceManagerPluginImpl.java:195)
at
org.jboss.osgi.framework.bundle.AbstractBundleState.getService(AbstractBundleState.java:521)
at
org.jboss.osgi.framework.bundle.OSGiBundleContextWrapper.getService(OSGiBundleContextWrapper.java:145)
at
org.jboss.test.osgi.example.event.EventAdminTestCase.testEventHandler(EventAdminTestCase.java:106)
It seems that the test bundle and the service bundle wire to different exporters of the
eventadmin API
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira