[
https://issues.jboss.org/browse/ARQ-524?page=com.atlassian.jira.plugin.sy...
]
Thomas Diesler commented on ARQ-524:
------------------------------------
Although the test bundle is installed in Equinox, the test class cannot be loaded
dynamically from the arq bundle.
The same error condition would occur if the test bundle cannot be resolved for some
reason. Not sure if every framework reports an resolver error for a dynamic class load.
Embedded OSGi container cannot find test class
----------------------------------------------
Key: ARQ-524
URL:
https://issues.jboss.org/browse/ARQ-524
Project: Arquillian
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: OSGi Containers
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: 1.0.0.Final
14:35:14,390 ERROR [org.jboss.arquillian.protocol.jmx.JMXTestRunner] (main) Failed:
org.jboss.test.osgi.example.simple.SimpleBundleTestCase.testBundleInjection:
java.lang.ClassNotFoundException: org.jboss.test.osgi.example.simple.SimpleBundleTestCase
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
at
org.jboss.arquillian.osgi.ArquillianBundleActivator$1.loadTestClass(ArquillianBundleActivator.java:65)
at
org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodInternal(JMXTestRunner.java:148)
at
org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodEmbedded(JMXTestRunner.java:117)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira