Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-1122

Error: "write size larger than buffer can fit" when opening object in KIE Drools Workbench

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.4.Final
    • Fix Version/s: None
    • Component/s: ErraiBus
    • Labels:
      None
    • Environment:
    • Steps to Reproduce:
      Hide

      To reproduce the error, I created a new repository, created a 300 Data Object in it. In each Data Object created 1000 fields of type Integer.
      After restarting the server when opening any object, Drools Workbeanch writes an error: write size larger than buffer can fit

      java.lang.RuntimeException: failed to enqueue message for delivery
          at org.jboss.errai.bus.server.ServerMessageBusImpl.enqueueForDelivery(ServerMessageBusImpl.java:443)
          at org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:391)
          at org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:337)
          at org.jboss.errai.bus.server.service.MessageBusProxy.send(MessageBusProxy.java:87)
          at org.jboss.errai.bus.client.api.base.ConversationMessageWrapper.sendNowWith(ConversationMessageWrapper.java:238)
          at org.jboss.errai.bus.client.api.base.DefaultMessageBuilder$1.sendNowWith(DefaultMessageBuilder.java:84)
          at org.jboss.errai.bus.server.io.ValueReplyRPCEndpointCallback.callback(ValueReplyRPCEndpointCallback.java:22)
          at org.jboss.errai.bus.server.io.RemoteServiceCallback.callback(RemoteServiceCallback.java:54)
          at org.jboss.errai.cdi.server.CDIExtensionPoints$2.callback(CDIExtensionPoints.java:396)
      ..
      

      The full text of the error is attached in the file.
      I know about the description https://developer.jboss.org/thread/220428 but I did not find the parameters under which you can open objects.

      Show
      To reproduce the error, I created a new repository, created a 300 Data Object in it. In each Data Object created 1000 fields of type Integer. After restarting the server when opening any object, Drools Workbeanch writes an error: write size larger than buffer can fit java.lang.RuntimeException: failed to enqueue message for delivery at org.jboss.errai.bus.server.ServerMessageBusImpl.enqueueForDelivery(ServerMessageBusImpl.java:443) at org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:391) at org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:337) at org.jboss.errai.bus.server.service.MessageBusProxy.send(MessageBusProxy.java:87) at org.jboss.errai.bus.client.api.base.ConversationMessageWrapper.sendNowWith(ConversationMessageWrapper.java:238) at org.jboss.errai.bus.client.api.base.DefaultMessageBuilder$1.sendNowWith(DefaultMessageBuilder.java:84) at org.jboss.errai.bus.server.io.ValueReplyRPCEndpointCallback.callback(ValueReplyRPCEndpointCallback.java:22) at org.jboss.errai.bus.server.io.RemoteServiceCallback.callback(RemoteServiceCallback.java:54) at org.jboss.errai.cdi.server.CDIExtensionPoints$2.callback(CDIExtensionPoints.java:396) .. The full text of the error is attached in the file. I know about the description https://developer.jboss.org/thread/220428 but I did not find the parameters under which you can open objects.

      Description

      If there are more than 195 business objects in one folder in KIE Drools Workbench, the error "write size larger than buffer can fit" occurs when opening any object. This error is reproduced on several independent servers.

      A similar error was previously closed, because could not reproduce it. Our error is reproduced.

      I found an error in the TransmissionBuffer.java class, but I don't know how to fix the problem.

        Gliffy Diagrams

          Attachments

          1. Error.jpg
            11 kB
            Petr Farmakovsky
          2. Error2[1].json
            18 kB
            Petr Farmakovsky

            Activity

              People

              • Assignee:
                mbarkley Max Barkley
                Reporter:
                petr.farmakovsky Petr Farmakovsky
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: