Darran Lofthouse created WFCORE-1197:
----------------------------------------
Summary: 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
Fix For: 3.0.0.Alpha1
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)