Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-4438

mod_cluster proxy: UndertowEventHandlerAdapter: null: java.lang.NullPointerException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 7.1.0.DR13
    • 7.0.0.CR2
    • mod_cluster
    • None

    Description

      Pending investigation

      Scenario

      • client authenticates via Apache HTTP Server mod_cluster proxy with a valid certificate
      • a new client tries the same without a certificate, authentication fails (expected)

      EAP7 server.log.zip

      10:27:36,732 INFO  [stdout] (UndertowEventHandlerAdapter - 1) %% Didn't cache non-resumable client session: [Session-2, TLS_DHE_RSA_WITH_AES_256_CBC_SHA]
      10:27:36,732 INFO  [stdout] (UndertowEventHandlerAdapter - 1) UndertowEventHandlerAdapter - 1, WRITE: TLSv1 Application Data, length = 144
      10:27:36,734 INFO  [stdout] (UndertowEventHandlerAdapter - 1) UndertowEventHandlerAdapter - 1, READ: TLSv1 Application Data, length = 208
      10:27:36,734 INFO  [stdout] (UndertowEventHandlerAdapter - 1) UndertowEventHandlerAdapter - 1, READ: TLSv1 Application Data, length = 32
      10:27:36,735 INFO  [stdout] (ServerService Thread Pool -- 69) ServerService Thread Pool -- 69, called close()
      10:27:36,735 INFO  [stdout] (ServerService Thread Pool -- 69) ServerService Thread Pool -- 69, called closeInternal(true)
      10:27:36,735 INFO  [stdout] (ServerService Thread Pool -- 69) ServerService Thread Pool -- 69, SEND TLSv1 ALERT:  warning, description = close_notify
      10:27:36,735 INFO  [stdout] (ServerService Thread Pool -- 69) ServerService Thread Pool -- 69, WRITE: TLSv1 Alert, length = 32
      10:27:36,736 INFO  [stdout] (ServerService Thread Pool -- 69) ServerService Thread Pool -- 69, called closeSocket(true)
      10:27:36,736 INFO  [stdout] (ServerService Thread Pool -- 69) ServerService Thread Pool -- 69, called close()
      10:27:36,736 INFO  [stdout] (ServerService Thread Pool -- 69) ServerService Thread Pool -- 69, called closeInternal(true)
      10:27:36,742 ERROR [org.jboss.mod_cluster.undertow] (UndertowEventHandlerAdapter - 1) null: java.lang.NullPointerException
              at org.jboss.modcluster.ModClusterService.connectionEstablished(ModClusterService.java:308)
              at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:392)
              at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:365)
              at org.jboss.modcluster.ModClusterService.status(ModClusterService.java:457)
              at org.wildfly.mod_cluster.undertow.UndertowEventHandlerAdapter.run(UndertowEventHandlerAdapter.java:179)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
              at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      

      Httpd at the time (give or take):

      10:27:36.729 [ssl:debug] [pid 19108] ssl_engine_kernel.c(1811): [client 2620:52:0:105f:5056:ff:fe00:1d:50233] AH02041: Protocol: TLSv1, Cipher: DHE-RSA-AES256-SHA (256/256 bits)
      10:27:36.733 [ssl:debug] [pid 19108] ssl_engine_kernel.c(224): [client 2620:52:0:105f:5056:ff:fe00:1d:50233] AH02034: Initial (No.1) HTTPS request received for child 3 (server dhcp180-something.redhat.com:8746)
      10:27:36.733 [:debug] [pid 19108] mod_manager.c(2271): manager_trans INFO (/)
      10:27:36.733 [authz_core:debug] [pid 19108] mod_authz_core.c(809): [client 2620:52:0:105f:5056:ff:fe00:1d:50233] AH01626: authorization result of Require all granted: granted
      10:27:36.733 [authz_core:debug] [pid 19108] mod_authz_core.c(809): [client 2620:52:0:105f:5056:ff:fe00:1d:50233] AH01626: authorization result of <RequireAny>: granted
      10:27:36.733 [authz_core:debug] [pid 19108] mod_authz_core.c(809): [client 2620:52:0:105f:5056:ff:fe00:1d:50233] AH01626: authorization result of Require all granted: granted
      10:27:36.733 [authz_core:debug] [pid 19108] mod_authz_core.c(809): [client 2620:52:0:105f:5056:ff:fe00:1d:50233] AH01626: authorization result of <RequireAny>: granted
      10:27:36.733 [authz_core:debug] [pid 19108] mod_authz_core.c(809): [client 2620:52:0:105f:5056:ff:fe00:1d:50233] AH01626: authorization result of Require all granted: granted
      10:27:36.733 [authz_core:debug] [pid 19108] mod_authz_core.c(809): [client 2620:52:0:105f:5056:ff:fe00:1d:50233] AH01626: authorization result of <RequireAny>: granted
      10:27:36.733 [:debug] [pid 19108] mod_manager.c(2987): manager_handler INFO (/) processing: ""
      10:27:36.733 [:debug] [pid 19108] mod_manager.c(3038): manager_handler INFO  OK
      10:27:36.733 [ssl:debug] [pid 19108] ssl_engine_io.c(992): [client 2620:52:0:105f:5056:ff:fe00:1d:50233] AH02001: Connection closed to child 3 with standard shutdown (server dhcp180-something.redhat.com:8746)
      

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              mbabacek1@redhat.com Michal Karm
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: