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

Improve error reporting on misconfigured security-realm

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 2.0.10.Final
    • None
    • Management, Security
    • None

      I've erroneously configured standalone.xml with an empty (no child) security realm and referenced it in a undertow https listenerer.

      When running a test relying on https, I'm getting the following error only on server side:

      11:43:44,482 ERROR [org.xnio.listener] (default I/O-3) A channel event listener threw an exception: java.lang.NullPointerException
      at org.xnio.ssl.AbstractAcceptingSslChannel.accept(AbstractAcceptingSslChannel.java:143) [xnio-api-3.1.0.CR2.jar:3.1.0.CR2]
      at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:288) [xnio-api-3.1.0.CR2.jar:3.1.0.CR2]
      at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:285) [xnio-api-3.1.0.CR2.jar:3.1.0.CR2]
      at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:91) [xnio-api-3.1.0.CR2.jar:3.1.0.CR2]
      at org.xnio.ChannelListeners$DelegatingChannelListener.handleEvent(ChannelListeners.java:1052) [xnio-api-3.1.0.CR2.jar:3.1.0.CR2]
      at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:91) [xnio-api-3.1.0.CR2.jar:3.1.0.CR2]
      at org.xnio.nio.NioTcpServerHandle.handleReady(NioTcpServerHandle.java:53) [xnio-nio-3.1.0.CR2.jar:3.1.0.CR2]
      at org.xnio.nio.WorkerThread.run(WorkerThread.java:528) [xnio-nio-3.1.0.CR2.jar:3.1.0.CR2]

              tomazcerar Tomaž Cerar (Inactive)
              rhn-support-asoldano Alessio Soldano
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: