[jboss-osgi-issues] [JBoss JIRA] Updated: (JBOSGI-214) Cannot repeatedly register service bound to an interface from the system classpath

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Dec 3 07:52:34 EST 2009


     [ https://jira.jboss.org/jira/browse/JBOSGI-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler updated JBOSGI-214:
----------------------------------

    Description: 
> mvn -Dframework=equinox -Dtest=OSGI214TestCase test

Test set: org.jboss.test.osgi.jbosgi214.OSGI214TestCase
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.4 sec <<< FAILURE!
testSecondRun(org.jboss.test.osgi.jbosgi214.OSGI214TestCase)  Time elapsed: 1.481 sec  <<< ERROR!
java.lang.ClassCastException: org.jboss.test.osgi.jbosgi214.bundle.SomeService cannot be cast to org.jboss.osgi.spi.framework.OSGiBootstrapProvider
	at org.jboss.test.osgi.jbosgi214.OSGI214TestCase.testSecondRun(OSGI214TestCase.java:106)



> Cannot repeatedly register service bound to an interface from the system classpath
> ----------------------------------------------------------------------------------
>
>                 Key: JBOSGI-214
>                 URL: https://jira.jboss.org/jira/browse/JBOSGI-214
>             Project: JBoss OSGi
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Integration (Equinox)
>            Reporter: Thomas Diesler
>             Fix For:  JBossOSGi 1.0.x
>
>
> > mvn -Dframework=equinox -Dtest=OSGI214TestCase test
> Test set: org.jboss.test.osgi.jbosgi214.OSGI214TestCase
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.4 sec <<< FAILURE!
> testSecondRun(org.jboss.test.osgi.jbosgi214.OSGI214TestCase)  Time elapsed: 1.481 sec  <<< ERROR!
> java.lang.ClassCastException: org.jboss.test.osgi.jbosgi214.bundle.SomeService cannot be cast to org.jboss.osgi.spi.framework.OSGiBootstrapProvider
> 	at org.jboss.test.osgi.jbosgi214.OSGI214TestCase.testSecondRun(OSGI214TestCase.java:106)

-- 
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