java.lang.NullPointerException

JIRA | Kevin Normoyle | 3 years ago
  1. 0

    r.hex is parsed covtype.data here note each one shown 'works' i.e. no stack trace, till it gets to the last one (the last addition was known to work by itself) exec_query parameters: {'str': 'max(1,23);'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;x= 3; r.hex[,(x > 0) & (x < 4)];'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;x= 3; r.hex[,(x > 0) & (x < 4)];r.hex-r.hex;'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;x= 3; r.hex[,(x > 0) & (x < 4)];r.hex-r.hex;x= 3; r.hex[(x > 0) & (x < 4),];'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;x= 3; r.hex[,(x > 0) & (x < 4)];r.hex-r.hex;x= 3; r.hex[(x > 0) & (x < 4),];r.hex[,1]=3.3; r.hex;'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;x= 3; r.hex[,(x > 0) & (x < 4)];r.hex-r.hex;x= 3; r.hex[(x > 0) & (x < 4),];r.hex[,1]=3.3; r.hex;(1 ? r.hex : (r.hex+1))[1,2];'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;x= 3; r.hex[,(x > 0) & (x < 4)];r.hex-r.hex;x= 3; r.hex[(x > 0) & (x < 4),];r.hex[,1]=3.3; r.hex;(1 ? r.hex : (r.hex+1))[1,2];function(x){y=1+2}(2);'} ERROR 09:38:17.804 # Session ERRR WATER: + java.lang.NullPointerException + at water.exec.Env.allAlive(Env.java:226) + at water.exec.Env.popAry(Env.java:185) + at water.exec.Env.remove_and_unlock(Env.java:312) + at water.api.Exec2.serve(Exec2.java:62) + 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) ERROR

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

    Automated exception search integrated into your IDE

  3. 0

    r.hex is parsed covtype.data here note each one shown 'works' i.e. no stack trace, till it gets to the last one (the last addition was known to work by itself) exec_query parameters: {'str': 'max(1,23);'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;x= 3; r.hex[,(x > 0) & (x < 4)];'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;x= 3; r.hex[,(x > 0) & (x < 4)];r.hex-r.hex;'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;x= 3; r.hex[,(x > 0) & (x < 4)];r.hex-r.hex;x= 3; r.hex[(x > 0) & (x < 4),];'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;x= 3; r.hex[,(x > 0) & (x < 4)];r.hex-r.hex;x= 3; r.hex[(x > 0) & (x < 4),];r.hex[,1]=3.3; r.hex;'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;x= 3; r.hex[,(x > 0) & (x < 4)];r.hex-r.hex;x= 3; r.hex[(x > 0) & (x < 4),];r.hex[,1]=3.3; r.hex;(1 ? r.hex : (r.hex+1))[1,2];'} exec_query parameters: {'str': 'max(1,23);(0 ? + : *)(1,2);!r.hex;x= 3; r.hex[,(x > 0) & (x < 4)];r.hex-r.hex;x= 3; r.hex[(x > 0) & (x < 4),];r.hex[,1]=3.3; r.hex;(1 ? r.hex : (r.hex+1))[1,2];function(x){y=1+2}(2);'} ERROR 09:38:17.804 # Session ERRR WATER: + java.lang.NullPointerException + at water.exec.Env.allAlive(Env.java:226) + at water.exec.Env.popAry(Env.java:185) + at water.exec.Env.remove_and_unlock(Env.java:312) + at water.api.Exec2.serve(Exec2.java:62) + 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) ERROR

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

    h2o.tests.single.jvm.fvec test_exec2_operators4.Basic test_exec2_operators2 r.hex is probably covtype.data the negative column is okay, right in R You can just index and use a negative sign to drop a col..i.e. everything except column three is: data[,-3] I'm assuming col 4 exists below, but I guess we should detect cases of that col not existing cleanly? not sure why we get the NPE here (or if it's the first expression or the 2nd. I'm guessing maybe the (r.hex+1) but not sure [2014-04-03 04:26:55.298987] exec_query parameters: {'str': '(1 ? r.hex : (r.hex+1))[1,2];r.hex[2+4,-4] + 5;'} [2014-04-03 04:26:55.299037] ERROR rjson: { [2014-04-03 04:26:55.307664] "error": "class java.lang.NullPointerException", [2014-04-03 04:26:55.307664] "response": { [2014-04-03 04:26:55.307664] "h2o": "pytest-jenkins-15403", [2014-04-03 04:26:55.307664] "node": "/10.137.71.117:54321", [2014-04-03 04:26:55.307664] "status": "error", [2014-04-03 04:26:55.307664] "time": 6 [2014-04-03 04:26:55.307664] } [2014-04-03 04:26:55.307664] } [2014-04-03 04:26:55.307682] 04:26:55.304 # Session ERRR WATER: [2014-04-03 04:26:55.312871] + java.lang.NullPointerException [2014-04-03 04:26:55.313087] + at water.exec.Env.allAlive(Env.java:231) [2014-04-03 04:26:55.313132] + at water.exec.Env.popAry(Env.java:187) [2014-04-03 04:26:55.313173] + at water.exec.Env.remove_and_unlock(Env.java:312) [2014-04-03 04:26:55.313213] + at water.api.Exec2.serve(Exec2.java:62) [2014-04-03 04:26:55.313250] + at water.api.Request.serveGrid(Request.java:139) [2014-04-03 04:26:55.313289] + at water.Request2.superServeGrid(Request2.java:478) [2014-04-03 04:26:55.313328] + at water.api.Exec2.serveGrid(Exec2.java:71) [2014-04-03 04:26:55.313366] + at water.api.Request.serve(Request.java:116) [2014-04-03 04:26:55.313412] + at water.api.RequestServer.serve(RequestServer.java:328) [2014-04-03 04:26:55.313472] + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:421) [2014-04-03 04:26:55.313514] + at java.lang.Thread.run(Thread.java:662) [2014-04-03 04:26:55.313550] 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.allAlive()
    2. water.exec
      Env.remove_and_unlock
      1. water.exec.Env.allAlive(Env.java:247)
      2. water.exec.Env.popAry(Env.java:188)
      3. water.exec.Env.remove_and_unlock(Env.java:327)
      3 frames
    3. water.api
      Request.serveGrid
      1. water.api.Exec2.serve(Exec2.java:62)
      2. water.api.Request.serveGrid(Request.java:137)
      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:71)
      2. water.api.Request.serve(Request.java:114)
      3. water.api.RequestServer.serve(RequestServer.java:372)
      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