]
RH Bugzilla Integration commented on WFCORE-69:
-----------------------------------------------
Paul Gier <pgier(a)redhat.com> changed the Status of [bug
NullPointerException adding KeyStore to realm with
{allow-resource-service-restart=true}
----------------------------------------------------------------------------------------
Key: WFCORE-69
URL:
https://issues.jboss.org/browse/WFCORE-69
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 1.0.0.Alpha4
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 1.0.0.Alpha6
Executing the following CLI commands: -
{code:title=CLI Commands}
./core-service=management/security-realm=SSLRealm:add
./core-service=management/security-realm=SSLRealm/server-identity=ssl:add(keystore-password=keystore_password,
keystore-relative-to=jboss.server.config.dir,
keystore-path=server.keystore){allow-resource-service-restart=true}
{code}
Results in the following NullPointerException being recorded: -
{noformat}
15:23:28,074 ERROR [org.jboss.as.controller.management-operation]
(management-handler-thread - 6) WFLYCTL0013: Operation ("add") failed - address:
([
("core-service" => "management"),
("security-realm" => "SSLRealm"),
("server-identity" => "ssl")
]): java.lang.NullPointerException
at
org.jboss.as.domain.management.security.SecurityRealmAddHandler.addSSLServices(SecurityRealmAddHandler.java:596)
[wildfly-domain-management-1.0.0.Alpha6-SNAPSHOT.jar:1.0.0.Alpha6-SNAPSHOT]
at
org.jboss.as.domain.management.security.SecurityRealmAddHandler.installServices(SecurityRealmAddHandler.java:188)
[wildfly-domain-management-1.0.0.Alpha6-SNAPSHOT.jar:1.0.0.Alpha6-SNAPSHOT]
at
org.jboss.as.domain.management.security.SecurityRealmParentRestartHandler.recreateParentService(SecurityRealmParentRestartHandler.java:66)
[wildfly-domain-management-1.0.0.Alpha6-SNAPSHOT.jar:1.0.0.Alpha6-SNAPSHOT]
at
org.jboss.as.controller.RestartParentResourceHandlerBase$1.execute(RestartParentResourceHandlerBase.java:74)
[wildfly-controller-1.0.0.Alpha6-SNAPSHOT.jar:1.0.0.Alpha6-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:664)
[wildfly-controller-1.0.0.Alpha6-SNAPSHOT.jar:1.0.0.Alpha6-SNAPSHOT]
{noformat}