java.lang.NullPointerException

JIRA | Kevin Normoyle | 3 years ago
  1. 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': 'r.hex[,1];'} exec_query parameters: {'str': 'r.hex[,1];a=!0; x=!0;'} exec_query parameters: {'str': 'r.hex[,1];a=!0; x=!0;ifelse(0,r.hex+1,r.hex+2);'} exec_query parameters: {'str': 'r.hex[,1];a=!0; x=!0;ifelse(0,r.hex+1,r.hex+2);r0.hex[,1]==1.0;'} exec_query parameters: {'str': 'r.hex[,1];a=!0; x=!0;ifelse(0,r.hex+1,r.hex+2);r0.hex[,1]==1.0;max(1,23);'} exec_query parameters: {'str': 'r.hex[,1];a=!0; x=!0;ifelse(0,r.hex+1,r.hex+2);r0.hex[,1]==1.0;max(1,23);function(x,y,z){x[]}(r.hex,1,2);'} ERROR 10:00:28.790 # Session ERRR WATER: + java.lang.NullPointerException + at water.exec.Env.subRef(Env.java:233) + at water.exec.Env.subRef(Env.java:250) + at water.exec.Env.pop(Env.java:160) + at water.exec.Env.pop(Env.java:168) + at water.exec.Env.popScope(Env.java:177) + at water.exec.ASTFunc.apply(ASTFunc.java:81) + at water.exec.ASTApply.exec(AST.java:193) + 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.NullPointerException
  2. 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': 'r.hex[,1];'} exec_query parameters: {'str': 'r.hex[,1];a=!0; x=!0;'} exec_query parameters: {'str': 'r.hex[,1];a=!0; x=!0;ifelse(0,r.hex+1,r.hex+2);'} exec_query parameters: {'str': 'r.hex[,1];a=!0; x=!0;ifelse(0,r.hex+1,r.hex+2);r0.hex[,1]==1.0;'} exec_query parameters: {'str': 'r.hex[,1];a=!0; x=!0;ifelse(0,r.hex+1,r.hex+2);r0.hex[,1]==1.0;max(1,23);'} exec_query parameters: {'str': 'r.hex[,1];a=!0; x=!0;ifelse(0,r.hex+1,r.hex+2);r0.hex[,1]==1.0;max(1,23);function(x,y,z){x[]}(r.hex,1,2);'} ERROR 10:00:28.790 # Session ERRR WATER: + java.lang.NullPointerException + at water.exec.Env.subRef(Env.java:233) + at water.exec.Env.subRef(Env.java:250) + at water.exec.Env.pop(Env.java:160) + at water.exec.Env.pop(Env.java:168) + at water.exec.Env.popScope(Env.java:177) + at water.exec.ASTFunc.apply(ASTFunc.java:81) + at water.exec.ASTApply.exec(AST.java:193) + 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.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    going to make it a new rule not to have lhs in the clauses of a ternary. don't think R stuff is doing any of this right now. going to close as no fix since I'm not going to do it any more. just documenting 2014-04-17 23:04:36.056628] exec_query parameters: {'str': '1 ? r.hex+1 : x=1 ; 0 ? !1.23<2.34 : r.hex[c(1,3,5),]'} [2014-04-17 23:04:36.056751] rjson: { [2014-04-17 23:04:36.071288] "error": "class java.lang.NullPointerException", [2014-04-17 23:04:36.071288] "response": { [2014-04-17 23:04:36.071288] "h2o": "pytest-kevin-23995", [2014-04-17 23:04:36.071288] "node": "/192.168.0.37:54321", [2014-04-17 23:04:36.071288] "status": "error", [2014-04-17 23:04:36.071288] "time": 10 [2014-04-17 23:04:36.071288] } [2014-04-17 23:04:36.071288] } ERROR [2014-04-17 23:04:36.071349] 11:04:36.065 # Session ERRR WATER: [2014-04-17 23:04:36.087750] + java.lang.NullPointerException [2014-04-17 23:04:36.087922] + at water.exec.Env.subRef(Env.java:253) [2014-04-17 23:04:36.087957] + at water.exec.Env.subRef(Env.java:270) [2014-04-17 23:04:36.087987] + at water.exec.Env.pop(Env.java:163) [2014-04-17 23:04:36.088031] + at water.exec.Env.pop(Env.java:171) [2014-04-17 23:04:36.088062] + at water.exec.Env.poppush(Env.java:222) [2014-04-17 23:04:36.088091] + at water.exec.ASTUniOp.apply(ASTOp.java:285) [2014-04-17 23:04:36.088131] + at water.exec.ASTApply.exec(AST.java:204) [2014-04-17 23:04:36.088162] + at water.exec.ASTApply.exec(AST.java:202) [2014-04-17 23:04:36.088192] + at water.exec.ASTStatement.exec(AST.java:83) [2014-04-17 23:04:36.088230] + at water.exec.Exec2.exec(Exec2.java:115) [2014-04-17 23:04:36.088261] + at water.api.Exec2.serve(Exec2.java:34) [2014-04-17 23:04:36.088291] + at water.api.Request.serveGrid(Request.java:137) [2014-04-17 23:04:36.088324] + at water.Request2.superServeGrid(Request2.java:478) [2014-04-17 23:04:36.088356] + at water.api.Exec2.serveGrid(Exec2.java:71) [2014-04-17 23:04:36.088386] + at water.api.Request.serve(Request.java:114) [2014-04-17 23:04:36.088419] + at water.api.RequestServer.serve(RequestServer.java:372) [2014-04-17 23:04:36.088452] + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:421) [2014-04-17 23:04:36.088484] + at java.lang.Thread.run(Thread.java:744) [2014-04-17 23:04:36.088516] ERROR

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

    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.NullPointerException

      No message provided

      at water.exec.Env.subRef()
    2. water.exec
      Exec2.exec
      1. water.exec.Env.subRef(Env.java:233)
      2. water.exec.Env.subRef(Env.java:250)
      3. water.exec.Env.pop(Env.java:160)
      4. water.exec.Env.pop(Env.java:168)
      5. water.exec.Env.popScope(Env.java:177)
      6. water.exec.ASTFunc.apply(ASTFunc.java:81)
      7. water.exec.ASTApply.exec(AST.java:193)
      8. water.exec.ASTStatement.exec(AST.java:72)
      9. water.exec.Exec2.exec(Exec2.java:100)
      9 frames
    3. water.api
      Request.serveGrid
      1. water.api.Exec2.serve(Exec2.java:34)
      2. water.api.Request.serveGrid(Request.java:129)
      2 frames
    4. water
      Request2.superServeGrid
      1. water.Request2.superServeGrid(Request2.java:466)
      1 frame
    5. water.api
      RequestServer.serve
      1. water.api.Exec2.serveGrid(Exec2.java:71)
      2. water.api.Request.serve(Request.java:108)
      3. water.api.RequestServer.serve(RequestServer.java:315)
      3 frames
    6. water
      NanoHTTPD$HTTPSession.run
      1. water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:421)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame