java.lang.AssertionError: Read to much data from a byte[] backed buffer, AB=[AB read first null UNKNOWN(0) 0 <= 0 <= 0 <= 65536]

JIRA | Kevin Normoyle | 2 years ago
  1. 0

    This is kind of fluky. Never seen it happen before. Filing a Jira just to keep track of it to see if it happens again. mbp2:h2o tomk$ java -ea -Xmx5g -jar target/h2o.jar 11:32:43.545 main INFO WATER: ----- H2O started ----- 11:32:43.546 main INFO WATER: Build git branch: master 11:32:43.546 main INFO WATER: Build git hash: 469a0537a43e82974ef5f95f7082ddef1b811502 11:32:43.546 main INFO WATER: Build git describe: nn-2-4810-g469a053 11:32:43.546 main INFO WATER: Build project version: 2.3.0.99999 11:32:43.546 main INFO WATER: Built by: 'tomk' 11:32:43.547 main INFO WATER: Built on: 'Thu Mar 20 11:26:00 PDT 2014' 11:32:43.547 main INFO WATER: Java availableProcessors: 8 11:32:43.549 main INFO WATER: Java heap totalMemory: 0.08 gb 11:32:43.549 main INFO WATER: Java heap maxMemory: 4.98 gb 11:32:43.549 main INFO WATER: Java version: Java 1.6.0_65 (from Apple Inc.) 11:32:43.550 main INFO WATER: OS version: Mac OS X 10.8.5 (x86_64) 11:32:43.550 main INFO WATER: ICE root: '/tmp/h2o-tomk' 11:32:43.553 main INFO WATER: Possible IP Address: en0 (en0), fe80:0:0:0:2acf:e9ff:fe1c:ccf%5 11:32:43.553 main INFO WATER: Possible IP Address: en0 (en0), 192.168.1.37 11:32:43.553 main INFO WATER: Possible IP Address: lo0 (lo0), 0:0:0:0:0:0:0:1 11:32:43.554 main INFO WATER: Possible IP Address: lo0 (lo0), fe80:0:0:0:0:0:0:1%1 11:32:43.554 main INFO WATER: Possible IP Address: lo0 (lo0), 127.0.0.1 11:32:43.591 main INFO WATER: Internal communication uses port: 54322 + Listening for HTTP and REST traffic on http://192.168.1.37:54321/ 11:32:43.620 main INFO WATER: H2O cloud name: 'tomk' 11:32:43.620 main INFO WATER: (v2.3.0.99999) 'tomk' on /192.168.1.37:54321, discovery address /225.54.105.89:57654 11:32:43.620 main INFO WATER: If you have trouble connecting, try SSH tunneling from your local machine (e.g., via port 55555): + 1. Open a terminal and run 'ssh -L 55555:localhost:54321 tomk@192.168.1.37' + 2. Point your browser to http://localhost:55555 11:32:43.622 main INFO WATER: Cloud of size 1 formed [/192.168.1.37:54321] 11:32:43.622 main INFO WATER: Log dir: '/tmp/h2o-tomk/h2ologs' java.lang.AssertionError: Read to much data from a byte[] backed buffer, AB=[AB read first /192.168.1.161:54321 null 0 <= 110 <= 110 <= 1492] 11:32:43.796 FJ-8-1 INFO WATER: at water.AutoBuffer.getImpl(AutoBuffer.java:450) 11:32:43.797 FJ-8-1 INFO WATER: at water.AutoBuffer.getSp(AutoBuffer.java:437) 11:32:43.797 FJ-8-1 INFO WATER: at water.AutoBuffer.getA1(AutoBuffer.java:824) 11:32:43.797 FJ-8-1 INFO WATER: at water.AutoBuffer.getA1(AutoBuffer.java:815) 11:32:43.797 FJ-8-1 INFO WATER: at water.HeartBeat.read(HeartBeat.java) 11:32:43.798 FJ-8-1 INFO WATER: at water.UDPHeartbeat.call(UDPHeartbeat.java:14) 11:32:43.798 FJ-8-1 INFO WATER: at water.FJPacket.compute2(FJPacket.java:20) 11:32:43.798 FJ-8-1 INFO WATER: at water.H2O$H2OCountedCompleter.compute(H2O.java:710) 11:32:43.798 FJ-8-1 INFO WATER: at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) 11:32:43.798 FJ-8-1 INFO WATER: at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) 11:32:43.798 FJ-8-1 INFO WATER: at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) 11:32:43.799 FJ-8-1 INFO WATER: at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) 11:32:43.799 FJ-8-1 INFO WATER: at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 3 years ago | Tom Kraljevic
    java.lang.AssertionError: Read to much data from a byte[] backed buffer, AB=[AB read first /192.168.1.161:54321 null 0 <= 110 <= 110 <= 1492]
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    This is kind of fluky. Never seen it happen before. Filing a Jira just to keep track of it to see if it happens again. mbp2:h2o tomk$ java -ea -Xmx5g -jar target/h2o.jar 11:32:43.545 main INFO WATER: ----- H2O started ----- 11:32:43.546 main INFO WATER: Build git branch: master 11:32:43.546 main INFO WATER: Build git hash: 469a0537a43e82974ef5f95f7082ddef1b811502 11:32:43.546 main INFO WATER: Build git describe: nn-2-4810-g469a053 11:32:43.546 main INFO WATER: Build project version: 2.3.0.99999 11:32:43.546 main INFO WATER: Built by: 'tomk' 11:32:43.547 main INFO WATER: Built on: 'Thu Mar 20 11:26:00 PDT 2014' 11:32:43.547 main INFO WATER: Java availableProcessors: 8 11:32:43.549 main INFO WATER: Java heap totalMemory: 0.08 gb 11:32:43.549 main INFO WATER: Java heap maxMemory: 4.98 gb 11:32:43.549 main INFO WATER: Java version: Java 1.6.0_65 (from Apple Inc.) 11:32:43.550 main INFO WATER: OS version: Mac OS X 10.8.5 (x86_64) 11:32:43.550 main INFO WATER: ICE root: '/tmp/h2o-tomk' 11:32:43.553 main INFO WATER: Possible IP Address: en0 (en0), fe80:0:0:0:2acf:e9ff:fe1c:ccf%5 11:32:43.553 main INFO WATER: Possible IP Address: en0 (en0), 192.168.1.37 11:32:43.553 main INFO WATER: Possible IP Address: lo0 (lo0), 0:0:0:0:0:0:0:1 11:32:43.554 main INFO WATER: Possible IP Address: lo0 (lo0), fe80:0:0:0:0:0:0:1%1 11:32:43.554 main INFO WATER: Possible IP Address: lo0 (lo0), 127.0.0.1 11:32:43.591 main INFO WATER: Internal communication uses port: 54322 + Listening for HTTP and REST traffic on http://192.168.1.37:54321/ 11:32:43.620 main INFO WATER: H2O cloud name: 'tomk' 11:32:43.620 main INFO WATER: (v2.3.0.99999) 'tomk' on /192.168.1.37:54321, discovery address /225.54.105.89:57654 11:32:43.620 main INFO WATER: If you have trouble connecting, try SSH tunneling from your local machine (e.g., via port 55555): + 1. Open a terminal and run 'ssh -L 55555:localhost:54321 tomk@192.168.1.37' + 2. Point your browser to http://localhost:55555 11:32:43.622 main INFO WATER: Cloud of size 1 formed [/192.168.1.37:54321] 11:32:43.622 main INFO WATER: Log dir: '/tmp/h2o-tomk/h2ologs' java.lang.AssertionError: Read to much data from a byte[] backed buffer, AB=[AB read first /192.168.1.161:54321 null 0 <= 110 <= 110 <= 1492] 11:32:43.796 FJ-8-1 INFO WATER: at water.AutoBuffer.getImpl(AutoBuffer.java:450) 11:32:43.797 FJ-8-1 INFO WATER: at water.AutoBuffer.getSp(AutoBuffer.java:437) 11:32:43.797 FJ-8-1 INFO WATER: at water.AutoBuffer.getA1(AutoBuffer.java:824) 11:32:43.797 FJ-8-1 INFO WATER: at water.AutoBuffer.getA1(AutoBuffer.java:815) 11:32:43.797 FJ-8-1 INFO WATER: at water.HeartBeat.read(HeartBeat.java) 11:32:43.798 FJ-8-1 INFO WATER: at water.UDPHeartbeat.call(UDPHeartbeat.java:14) 11:32:43.798 FJ-8-1 INFO WATER: at water.FJPacket.compute2(FJPacket.java:20) 11:32:43.798 FJ-8-1 INFO WATER: at water.H2O$H2OCountedCompleter.compute(H2O.java:710) 11:32:43.798 FJ-8-1 INFO WATER: at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) 11:32:43.798 FJ-8-1 INFO WATER: at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) 11:32:43.798 FJ-8-1 INFO WATER: at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) 11:32:43.799 FJ-8-1 INFO WATER: at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) 11:32:43.799 FJ-8-1 INFO WATER: at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 3 years ago | Tom Kraljevic
    java.lang.AssertionError: Read to much data from a byte[] backed buffer, AB=[AB read first /192.168.1.161:54321 null 0 <= 110 <= 110 <= 1492] 11:32:43.796 FJ-8-1 INFO WATER: at water.AutoBuffer.getImpl(AutoBuffer.java:450) 11:32:43.797 FJ-8-1 INFO WATER: at water.AutoBuffer.getSp(AutoBuffer.java:437) 11:32:43.797 FJ-8-1 INFO WATER: at water.AutoBuffer.getA1(AutoBuffer.java:824) 11:32:43.797 FJ-8-1 INFO WATER: at water.AutoBuffer.getA1(AutoBuffer.java:815) 11:32:43.797 FJ-8-1 INFO WATER: at water.HeartBeat.read(HeartBeat.java)
  4. 0

    Writing a compareTo() method for Linked List of characters

    Stack Overflow | 2 years ago | rigatoni
    java.lang.AssertionError: compareTo of "a" and "ab" wrong expected:<-1> but was:<0>

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      Read to much data from a byte[] backed buffer, AB=[AB read first null UNKNOWN(0) 0 <= 0 <= 0 <= 65536]

      at water.AutoBuffer.getImpl()
    2. water
      UDPReceiverThread.run
      1. water.AutoBuffer.getImpl(AutoBuffer.java:455)
      2. water.AutoBuffer.getSz(AutoBuffer.java:448)
      3. water.AutoBuffer.getPort(AutoBuffer.java:793)
      4. water.AutoBuffer.<init>(AutoBuffer.java:97)
      5. water.UDPReceiverThread.run(UDPReceiverThread.java:53)
      5 frames