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

Darran Lofthouse (JIRA) issues at jboss.org
Wed Oct 26 12:42:00 EDT 2016


Darran Lofthouse created WFLY-7388:
--------------------------------------

             Summary: 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: Darran Lofthouse
            Priority: Critical
             Fix For: 11.0.0.Alpha1


{{/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)}}

{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.2#72004)


More information about the jboss-jira mailing list