Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1913

COMPRESS: ArrayOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.4.8, 3.6.3
    • None
    • None

      The exception shown below causes COMPRESS to drop an already delivered message, so the app won't receive it. As NAKACK2 considers the message (or batch) delivered, it won't retransmit it. The effect is that the app won't receive it.

      java.lang.ArrayIndexOutOfBoundsException
              at org.jgroups.util.Headers.<init>(Headers.java:43)
              at org.jgroups.Message.createHeaders(Message.java:953)
              at org.jgroups.Message.copy(Message.java:581)
              at org.jgroups.Message.copy(Message.java:552)
              at org.jgroups.protocols.COMPRESS.uncompress(COMPRESS.java:175)
              at org.jgroups.protocols.COMPRESS.up(COMPRESS.java:149)
              at org.jgroups.protocols.FRAG2.up(FRAG2.java:182)
              at org.jgroups.protocols.FlowControl.up(FlowControl.java:447)
              at org.jgroups.protocols.FlowControl.up(FlowControl.java:447)
              at org.jgroups.stack.Protocol.up(Protocol.java:420)
              at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:294)
              at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:474)   
              at org.jgroups.protocols.pbcast.NAKACK2.deliverBatch(NAKACK2.java:983)
              at org.jgroups.protocols.pbcast.NAKACK2.removeAndPassUp(NAKACK2.java:912)
              at org.jgroups.protocols.pbcast.NAKACK2.handleMessage(NAKACK2.java:846)  
              at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:618)
              at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:155)
              at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:200)
              at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:297)
              at org.jgroups.protocols.MERGE3.up(MERGE3.java:288)  
              at org.jgroups.protocols.Discovery.up(Discovery.java:291)
              at org.jgroups.protocols.TP.passMessageUp(TP.java:1577)  
              at org.jgroups.protocols.TP$3.run(TP.java:1511)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:744)
      

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: