java.lang.AssertionError

JIRA | Kevin Normoyle | 3 years ago
  1. 0

    oddly this passes a=c(0,0,0); b=c(0,0,0) h <- cbind(a, b) but this fails a=c(0,0,0) b = a h <- cbind(a, b) I don't see the stack trace from the console below but here's a test that fails similarily cd testdir_single_jvm_fvec a=c(0,0,0); b=c(0,0,0); d=c(0,0,0); e=c(0,0,0); f=c(0,0,0); g= c(0,0,0) b=a; d=a; f=a; g=a h <- cbind(a, b) ERRR WATER: Refcnt is 1 but computed as 3 python test_exec2_cbind_fail.py + java.lang.AssertionError + at water.exec.ASTCbind.apply(ASTOp.java:814) + at water.exec.ASTApply.exec(AST.java:204) + at water.exec.ASTAssign.exec(AST.java:450) + at water.exec.ASTStatement.exec(AST.java:83) + at water.exec.Exec2.exec(Exec2.java:115) + at water.api.Exec2.serve(Exec2.java:35) + at water.api.Request.serveGrid(Request.java:140) + at water.Request2.superServeGrid(Request2.java:478) + at water.api.Exec2.serveGrid(Exec2.java:77) + at water.api.Request.serve(Request.java:117) + at water.api.RequestServer.serve(RequestServer.java:389) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744) #********************* this was the original console fail. still fails if you do it in console b=c(0,0,0,0,0,0,0,0,0,0,0,0) H₂O> a = b C1 0 0 0 0 0 0 H₂O> d = b C1 0 0 0 0 0 0 H₂O> f = cbind(a, b, d) class java.lang.AssertionError H₂O> and key then stays locked by the error.. H₂O> b Frame is already locked by job null. Can't seem to do anything in exec afterwards ₂O> b Frame is already locked by job null. H₂O> A Frame is already locked by job null. H₂O> C Frame is already locked by job null. H₂O> Here's the error in the logs 01:56:59.164 # Session INFO HTTPD: GET /2/Exec2 str=f = cbind(a, b, d) 01:56:59.166 # Session ERRR WATER: Refcnt is 4 but computed as 5 01:56:59.166 # Session ERRR WATER: + java.lang.AssertionError + at water.exec.Env.tos_into_slot(Env.java:122) + at water.exec.ASTAssign.exec(AST.java:453) + at water.exec.ASTStatement.exec(AST.java:83) + at water.exec.Exec2.exec(Exec2.java:115) + at water.api.Exec2.serve(Exec2.java:35) + at water.api.Request.serveGrid(Request.java:140) + at water.Request2.superServeGrid(Request2.java:478) + at water.api.Exec2.serveGrid(Exec2.java:77) + at water.api.Request.serve(Request.java:117) + at water.api.RequestServer.serve(RequestServer.java:389) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744)

    JIRA | 3 years ago | Kevin Normoyle
    java.lang.AssertionError
  2. 0

    oddly this passes a=c(0,0,0); b=c(0,0,0) h <- cbind(a, b) but this fails a=c(0,0,0) b = a h <- cbind(a, b) I don't see the stack trace from the console below but here's a test that fails similarily cd testdir_single_jvm_fvec a=c(0,0,0); b=c(0,0,0); d=c(0,0,0); e=c(0,0,0); f=c(0,0,0); g= c(0,0,0) b=a; d=a; f=a; g=a h <- cbind(a, b) ERRR WATER: Refcnt is 1 but computed as 3 python test_exec2_cbind_fail.py + java.lang.AssertionError + at water.exec.ASTCbind.apply(ASTOp.java:814) + at water.exec.ASTApply.exec(AST.java:204) + at water.exec.ASTAssign.exec(AST.java:450) + at water.exec.ASTStatement.exec(AST.java:83) + at water.exec.Exec2.exec(Exec2.java:115) + at water.api.Exec2.serve(Exec2.java:35) + at water.api.Request.serveGrid(Request.java:140) + at water.Request2.superServeGrid(Request2.java:478) + at water.api.Exec2.serveGrid(Exec2.java:77) + at water.api.Request.serve(Request.java:117) + at water.api.RequestServer.serve(RequestServer.java:389) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744) #********************* this was the original console fail. still fails if you do it in console b=c(0,0,0,0,0,0,0,0,0,0,0,0) H₂O> a = b C1 0 0 0 0 0 0 H₂O> d = b C1 0 0 0 0 0 0 H₂O> f = cbind(a, b, d) class java.lang.AssertionError H₂O> and key then stays locked by the error.. H₂O> b Frame is already locked by job null. Can't seem to do anything in exec afterwards ₂O> b Frame is already locked by job null. H₂O> A Frame is already locked by job null. H₂O> C Frame is already locked by job null. H₂O> Here's the error in the logs 01:56:59.164 # Session INFO HTTPD: GET /2/Exec2 str=f = cbind(a, b, d) 01:56:59.166 # Session ERRR WATER: Refcnt is 4 but computed as 5 01:56:59.166 # Session ERRR WATER: + java.lang.AssertionError + at water.exec.Env.tos_into_slot(Env.java:122) + at water.exec.ASTAssign.exec(AST.java:453) + at water.exec.ASTStatement.exec(AST.java:83) + at water.exec.Exec2.exec(Exec2.java:115) + at water.api.Exec2.serve(Exec2.java:35) + at water.api.Request.serveGrid(Request.java:140) + at water.Request2.superServeGrid(Request2.java:478) + at water.api.Exec2.serveGrid(Exec2.java:77) + at water.api.Request.serve(Request.java:117) + at water.api.RequestServer.serve(RequestServer.java:389) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744)

    JIRA | 3 years ago | Kevin Normoyle
    java.lang.AssertionError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    again, concatenating known good expressions one at a time..fails at the end. (others okay) r.hex is parsed covtype.data exec_query parameters: {'str': '1.23!=2.34;'} exec_query parameters: {'str': '1.23!=2.34;mean=function(x){apply(x,1,sum)/nrow(x)};mean(r.hex);'} exec_query parameters: {'str': '1.23!=2.34;mean=function(x){apply(x,1,sum)/nrow(x)};mean(r.hex);a=1; a=2; function(x){x=a;a=3};'} exec_query parameters: {'str': '1.23!=2.34;mean=function(x){apply(x,1,sum)/nrow(x)};mean(r.hex);a=1; a=2; function(x){x=a;a=3};!c(!1,3,5);'} exec_query parameters: {'str': '1.23!=2.34;mean=function(x){apply(x,1,sum)/nrow(x)};mean(r.hex);a=1; a=2; function(x){x=a;a=3};!c(!1,3,5);r.hex+1;'} exec_query parameters: {'str': '1.23!=2.34;mean=function(x){apply(x,1,sum)/nrow(x)};mean(r.hex);a=1; a=2; function(x){x=a;a=3};!c(!1,3,5);r.hex+1;min(1,2);'} exec_query parameters: {'str': '1.23!=2.34;mean=function(x){apply(x,1,sum)/nrow(x)};mean(r.hex);a=1; a=2; function(x){x=a;a=3};!c(!1,3,5);r.hex+1;min(1,2);a=ncol(r.hex); r.hex[,c(a+1,a+2)]=5;'} ERROR 09:57:49.590 # Session ERRR WATER: + java.lang.AssertionError + at water.exec.Env.poppush(Env.java:201) + at water.exec.ASTAssign.exec(AST.java:496) + at water.exec.ASTStatement.exec(AST.java:72) + at water.exec.Exec2.exec(Exec2.java:100) + at water.api.Exec2.serve(Exec2.java:34) + at water.api.Request.serveGrid(Request.java:129) + at water.Request2.superServeGrid(Request2.java:466) + at water.api.Exec2.serveGrid(Exec2.java:71) + at water.api.Request.serve(Request.java:108) + at water.api.RequestServer.serve(RequestServer.java:315) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:421) + at java.lang.Thread.run(Thread.java:744)

    JIRA | 3 years ago | Kevin Normoyle
    java.lang.AssertionError

    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

      No message provided

      at water.exec.Env.tos_into_slot()
    2. water.exec
      Exec2.exec
      1. water.exec.Env.tos_into_slot(Env.java:122)
      2. water.exec.ASTAssign.exec(AST.java:453)
      3. water.exec.ASTStatement.exec(AST.java:83)
      4. water.exec.Exec2.exec(Exec2.java:115)
      4 frames
    3. water.api
      Request.serveGrid
      1. water.api.Exec2.serve(Exec2.java:35)
      2. water.api.Request.serveGrid(Request.java:140)
      2 frames
    4. water
      Request2.superServeGrid
      1. water.Request2.superServeGrid(Request2.java:478)
      1 frame
    5. water.api
      RequestServer.serve
      1. water.api.Exec2.serveGrid(Exec2.java:77)
      2. water.api.Request.serve(Request.java:117)
      3. water.api.RequestServer.serve(RequestServer.java:389)
      3 frames
    6. water
      NanoHTTPD$HTTPSession.run
      1. water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame