[
https://issues.jboss.org/browse/AS7-5105?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler commented on AS7-5105:
-------------------------------------
When changing the auto-start behaviour for all osgi test deployments to align with all
other deployment types I see the above NPE. The cause is that this code
{code}
public void updated(Dictionary update) throws ConfigurationException {
properties = update;
if (latch.getCount() == 1)
latch.countDown();
}
{code}
gets called twice. The second time the dictionary is null.
ConfiguredService asumes update call with not null Dictionary
-------------------------------------------------------------
Key: AS7-5105
URL:
https://issues.jboss.org/browse/AS7-5105
Project: Application Server 7
Issue Type: Task
Components: ConfigAdmin
Reporter: Thomas Diesler
Assignee: David Bosschaert
Fix For: 7.2.0.Alpha1
{code}
11:15:04,876 ERROR [org.jboss.arquillian.protocol.jmx.JMXTestRunner] (pool-3-thread-1)
Failed:
org.jboss.as.test.integration.osgi.configadmin.ConfigurationAdminTestCase.testManagedServiceConfiguredFromXML:
java.lang.NullPointerException
at
org.jboss.as.test.integration.osgi.xservice.bundle.ConfiguredService.getValue(ConfiguredService.java:61)
at
org.jboss.as.test.integration.osgi.configadmin.ConfigurationAdminTestCase.testManagedServiceConfiguredFromXML(ConfigurationAdminTestCase.java:154)
{code}
--
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