[jboss-jira] [JBoss JIRA] (WFLY-7388) NullPointerException Adding FileSystemRealm with identities in a batch.

Jan Kalina (JIRA) issues at jboss.org
Mon Nov 7 10:47:01 EST 2016


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

Jan Kalina closed WFLY-7388.
----------------------------
    Resolution: Rejected


> NullPointerException Adding FileSystemRealm with identities in a batch.
> -----------------------------------------------------------------------
>
>                 Key: WFLY-7388
>                 URL: https://issues.jboss.org/browse/WFLY-7388
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>            Reporter: Darran Lofthouse
>            Assignee: Jan Kalina
>            Priority: Critical
>             Fix For: 11.0.0.Alpha1
>
>
> {code:java}
> /subsystem=elytron/filesystem-realm=exampleFsRealm:add(path=fs-realm-users,relative-to=jboss.server.config.dir)
> /subsystem=elytron/filesystem-realm=exampleFsRealm/identity=jduke at JBOSS.ORG:add()
> /subsystem=elytron/filesystem-realm=exampleFsRealm/identity=jduke at JBOSS.ORG:add-attribute(name=Roles, value=["Admin","Guest"])
> /subsystem=elytron/simple-role-decoder=from-roles-attribute:add(attribute=Roles)
> /subsystem=elytron/security-domain=exampleFsSD:add(realms=[{realm=exampleFsRealm,role-decoder=from-roles-attribute}],default-realm=exampleFsRealm,permission-mapper=login-permission-mapper)
> {code}
> {noformat}
> Step 21 : RUN /opt/jboss/wildfly/dist/target/wildfly-11.0.0.Alpha1-SNAPSHOT/bin/jboss-cli.sh --commands=embed-server\ --server-config=standalone-elytron.xml,run-batch\ --file=/opt/jboss/commands.txt,stop-embedded-server
> ---> Running in fb3e83746136
> The batch failed with the following error: : {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-4" => "WFLYCTL0158: Operation handler failed: java.lang.NullPointerException"}}
> {noformat}
> NullPointerException experienced randomly, initially this sounds like the service is not fully up by the time the first command completes.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list