Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1197

Enhance missing capability logging during subsystem testing

XMLWordPrintable

      Making changes to the Undertow subsystem I was presented with the following failure: -

      <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)
      

      It was only after enabling other logging I found the real cause: -

      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.
      

      The NullPointerException above is because it is detected the booting failed but the error was never made available.

              tomazcerar Tomaž Cerar (Inactive)
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: