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

"java.lang.IllegalArgumentException: Parameter 'buffer' may not be null" exception occurs during termination intermittently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.CR4
    • 7.1.0.CR3
    • Remoting
    • None
    • Regression, Blocks Testing

      Description of problem:
      "java.lang.IllegalArgumentException: Parameter 'buffer' may not be null" exception occurs during termination of domain intermittently

      Priority of this jira is blocker, because this issue is regression against EAP 7.1.0.CR2

      How reproducible:
      intermittently

      Steps to Reproduce:

      1. ./domain.sh
      2. Ctrl+C

      Actual results:
      StackTrace:

      [Host Controller] 10:20:13,698 ERROR [org.xnio.listener] (management I/O-1) XNIO001007: A channel event listener threw an exception: java.lang.IllegalArgumentException: Parameter 'buffer' may not be null
      [Host Controller] 	at org.wildfly.common.Assert.checkNotNullParamChecked(Assert.java:70)
      [Host Controller] 	at org.wildfly.common.Assert.checkNotNullParam(Assert.java:48)
      [Host Controller] 	at org.xnio.ByteBufferPool.free(ByteBufferPool.java:196)
      [Host Controller] 	at org.xnio.Buffers$4.free(Buffers.java:1979)
      [Host Controller] 	at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:521)
      [Host Controller] 	at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:46)
      [Host Controller] 	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      [Host Controller] 	at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
      [Host Controller] 	at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
      [Host Controller] 	at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
      

      Full log:

      [mkopecky@dhcp-10-40-4-190 bin]$ ./domain.sh 
      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /home/mkopecky/playground/eap/7.1.0.CR3/jboss-eap-7.1
      
        JAVA: java
      
        JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
      
      =========================================================================
      
      10:19:07,558 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.0.Final-redhat-1
      10:19:07,727 INFO  [org.jboss.as.process.Host Controller.status] (main) WFLYPC0018: Starting process 'Host Controller'
      [Host Controller] 10:19:08,033 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.0.Final-redhat-1
      [Host Controller] 10:19:08,230 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1-redhat-1
      [Host Controller] 10:19:08,278 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: JBoss EAP 7.1.0.GA (WildFly Core 3.0.6.Final-redhat-1) starting
      [Host Controller] 10:19:08,887 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=native-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      [Host Controller] 10:19:08,889 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      [Host Controller] 10:19:08,961 INFO  [org.wildfly.security] (Controller Boot Thread) ELY00001: WildFly Elytron version 1.1.5.Final-redhat-1
      [Host Controller] 10:19:08,992 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
      [Host Controller] 10:19:08,996 INFO  [org.xnio] (MSC service thread 1-4) XNIO version 3.5.2.Final-redhat-1
      [Host Controller] 10:19:09,003 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.5.2.Final-redhat-1
      [Host Controller] 10:19:09,052 INFO  [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 5.0.3.Final-redhat-1
      [Host Controller] 10:19:09,070 INFO  [org.jboss.as.patching] (MSC service thread 1-2) WFLYPAT0050: JBoss EAP cumulative patch ID is: base, one-off patches include: none
      [Host Controller] 10:19:09,081 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-1) WFLYDM0111: Keystore /home/mkopecky/playground/eap/7.1.0.CR3/jboss-eap-7.1/domain/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
      [Host Controller] 10:19:09,123 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) WFLYRMT0001: Listening on 127.0.0.1:9999
      [Host Controller] 10:19:09,917 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=default/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      [Host Controller] 10:19:09,943 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=ha/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      [Host Controller] 10:19:09,969 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=full/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      [Host Controller] 10:19:09,993 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=full-ha/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      [Host Controller] 10:19:10,153 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0023: Starting server server-one
      10:19:10,202 INFO  [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 3) WFLYPC0018: Starting process 'Server:server-one'
      [Host Controller] 10:19:11,349 INFO  [org.jboss.as.host.controller] (management task-4) WFLYHC0021: Server [Server:server-one] connected using connection [Channel ID 5e226a5f (inbound) of Remoting connection 68fc146d to localhost/127.0.0.1:44043 of endpoint "master:MANAGEMENT" <71999e28>]
      [Host Controller] 10:19:11,371 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0023: Starting server server-two
      [Host Controller] 10:19:11,391 INFO  [org.jboss.as.host.controller] (server-registration-threads - 1) WFLYHC0020: Registering server server-one
      10:19:11,414 INFO  [org.jboss.as.process.Server:server-two.status] (ProcessController-threads - 3) WFLYPC0018: Starting process 'Server:server-two'
      [Host Controller] 10:19:13,291 INFO  [org.jboss.as.host.controller] (management task-8) WFLYHC0021: Server [Server:server-two] connected using connection [Channel ID 52f0292a (inbound) of Remoting connection 4bdf7f9e to localhost/127.0.0.1:45847 of endpoint "master:MANAGEMENT" <71999e28>]
      [Host Controller] 10:19:13,318 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0062: Http management interface listening on http://127.0.0.1:9990/management and https://127.0.0.1:-1/management
      [Host Controller] 10:19:13,319 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0053: Admin console listening on http://127.0.0.1:9990 and https://127.0.0.1:-1
      [Host Controller] 10:19:13,319 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP 7.1.0.GA (WildFly Core 3.0.6.Final-redhat-1) (Host Controller) started in 5533ms - Started 77 of 79 services (23 services are lazy, passive or on-demand)
      [Host Controller] 10:19:13,332 INFO  [org.jboss.as.host.controller] (server-registration-threads - 1) WFLYHC0020: Registering server server-two
      ^C10:20:13,520 INFO  [org.jboss.as.process] (Shutdown thread) WFLYPC0017: Shutting down process controller
      10:20:13,521 INFO  [org.jboss.as.process.Host Controller.status] (Shutdown thread) WFLYPC0019: Stopping process 'Host Controller'
      [Host Controller] 10:20:13,521 INFO  [org.jboss.as.host.controller] (Thread-2) WFLYHC0181: Host Controller shutdown has been requested via an OS signal
      [Host Controller] 10:20:13,570 INFO  [org.jboss.as.host.controller] (Host Controller Service Threads - 8) WFLYHC0024: Stopping server server-one
      [Host Controller] 10:20:13,571 INFO  [org.jboss.as.host.controller] (Host Controller Service Threads - 8) WFLYHC0024: Stopping server server-two
      10:20:13,573 INFO  [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 4) WFLYPC0019: Stopping process 'Server:server-one'
      10:20:13,577 INFO  [org.jboss.as.process.Server:server-two.status] (ProcessController-threads - 5) WFLYPC0019: Stopping process 'Server:server-two'
      [Host Controller] 10:20:13,674 INFO  [org.jboss.as.host.controller] (management task-1) WFLYHC0027: Unregistering server server-two
      [Host Controller] 10:20:13,695 INFO  [org.jboss.as.host.controller] (management task-3) WFLYHC0027: Unregistering server server-one
      [Host Controller] 10:20:13,698 ERROR [org.xnio.listener] (management I/O-1) XNIO001007: A channel event listener threw an exception: java.lang.IllegalArgumentException: Parameter 'buffer' may not be null
      [Host Controller] 	at org.wildfly.common.Assert.checkNotNullParamChecked(Assert.java:70)
      [Host Controller] 	at org.wildfly.common.Assert.checkNotNullParam(Assert.java:48)
      [Host Controller] 	at org.xnio.ByteBufferPool.free(ByteBufferPool.java:196)
      [Host Controller] 	at org.xnio.Buffers$4.free(Buffers.java:1979)
      [Host Controller] 	at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:521)
      [Host Controller] 	at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:46)
      [Host Controller] 	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      [Host Controller] 	at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
      [Host Controller] 	at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
      [Host Controller] 	at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
      [Host Controller] 
      10:20:13,738 INFO  [org.jboss.as.process.Server:server-two.status] (reaper for Server:server-two) WFLYPC0011: Process 'Server:server-two' finished with an exit status of 130
      10:20:13,743 INFO  [org.jboss.as.process.Server:server-one.status] (reaper for Server:server-one) WFLYPC0011: Process 'Server:server-one' finished with an exit status of 130
      [Host Controller] 10:20:13,779 INFO  [org.jboss.as.host.controller] (ProcessControllerConnection-thread - 2) WFLYHC0027: Unregistering server server-two
      [Host Controller] 10:20:13,781 INFO  [org.jboss.as.host.controller] (ProcessControllerConnection-thread - 2) WFLYHC0027: Unregistering server server-one
      [Host Controller] 10:20:13,829 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: JBoss EAP 7.1.0.GA (WildFly Core 3.0.6.Final-redhat-1) stopped in 287ms
      [Host Controller] 
      10:20:13,866 INFO  [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) WFLYPC0011: Process 'Host Controller' finished with an exit status of 130
      10:20:13,868 INFO  [org.jboss.as.process] (Shutdown thread) WFLYPC0016: All processes finished; exiting
      [mkopecky@dhcp-10-40-4-190 bin]$ 
      

              flaviarnn Flavia Rainone
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: