[
https://issues.jboss.org/browse/AS7-4643?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler commented on AS7-4643:
-------------------------------------
I added a warning when the BundleContext is not available. However, I cannot see how this
can possibly be the case.
Perhaps we have an exception in the call stack that is silently ignored which leads to the
undefined runtime resource.
Failure of SimpleRunAsClientTestCase in some environments
---------------------------------------------------------
Key: AS7-4643
URL:
https://issues.jboss.org/browse/AS7-4643
Project: Application Server 7
Issue Type: Bug
Components: OSGi, Test Suite
Environment: Only some environments - see attached test output for complete
capture of details.
Reporter: Darran Lofthouse
Assignee: Thomas Diesler
Fix For: 7.1.2.Final-redhat1
Attachments: SimpleRunAsClientTestCase.tgz
The test org.jboss.as.test.smoke.osgi.SimpleRunAsClientTestCase is failing in a couple of
environments, unfortunately the failure seems related to the other tests as running just
this test passes without error.
Will attach the logs but it appears the bundle is undeployed before the mgmt op is
handled leading to a NPE in the test.
java.lang.NullPointerException
at org.jboss.as.test.osgi.OSGiManagementTest.getBundleId(OSGiManagementTest.java:96)
at
org.jboss.as.test.smoke.osgi.SimpleRunAsClientTestCase.testClientDeploymentAsArchive(SimpleRunAsClientTestCase.java:59)
For other issues in the past I have seen that test order can vary by environment and for
some reason my environment seems to pick the unique order ;-) so wouldn't rule out
another test being the case.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira