[jboss-jira] [JBoss JIRA] (WFCORE-1197) Enhance missing capability logging during subsystem testing

Brian Stansberry (JIRA) issues at jboss.org
Thu May 19 23:16:04 EDT 2016


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

Brian Stansberry updated WFCORE-1197:
-------------------------------------
    Fix Version/s: 3.0.0.Alpha2
                       (was: 3.0.0.Alpha1)


> Enhance missing capability logging during subsystem testing
> -----------------------------------------------------------
>
>                 Key: WFCORE-1197
>                 URL: https://issues.jboss.org/browse/WFCORE-1197
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: Test Suite
>    Affects Versions: 2.0.4.Final
>            Reporter: Darran Lofthouse
>            Assignee: Tomaz Cerar
>              Labels: affects_elytron
>             Fix For: 3.0.0.Alpha2
>
>
> Making changes to the Undertow subsystem I was presented with the following failure: -
> {noformat}
> <testcase name="testRuntime" classname="org.wildfly.extension.undertow.UndertowSubsystemTestCase" time="1.611">
>     <error type="java.lang.NullPointerException:">java.lang.NullPointerException: null
> 	at org.wildfly.extension.undertow.UndertowSubsystemTestCase.testRuntime(UndertowSubsystemTestCase.java:118)
> {noformat}
> It was only after enabling other logging I found the real cause: -
> {noformat}
> ec 08, 2015 6:19:22 PM org.jboss.as.controller.OperationContextImpl validateCapabilities
> ERROR: WFLYCTL0362: Capabilities required by resource '/subsystem=undertow/application-security-domain=other' are not available:
>     org.wildfly.security.http-server-mechanism-factory.elytron-factory; There are no known registration points which can provide this capability.
> {noformat}
> The NullPointerException above is because it is detected the booting failed but the error was never made available.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list