java.lang.AssertionError: Frame is already locked by job null.

JIRA | Nidhi Mehta | 2 years ago
  1. 0

    On master -Build git hash:31e95f76d45a7e7848375361d16fc9fe9e68b6ff pp = h2o.importFile(h,"/Users/nidhimehta/h2o/smalldata/logreg/prostate.csv",key = "pp") |================================================================================| 100% > pp$GLEASON =as.factor(pp$GLEASON) > aa = h2o.prcomp(pp[,3:9],key="aa",standardize=T,retx=T) |================================================================================| 100% |================================================================================| 100% > dd = h2o.importFile(h,"/Users/nidhimehta/h2o/smalldata/logreg/prostate.csv",key = "dd") |================================================================================| 100% > h2o.predict(aa,newdata=dd) | | 0% Polling fails: <simpleError in .h2o.__poll(client, job_key): Illegal argument: Incompatible column: 'GLEASON', expected (trained on) categorical, was passed a numeric> |================================================================================| 100% IP Address: 10.0.0.3 Port : 54321 Parsed Data Key: PCAPredict_76abb42620ba4fbf971f3926bfc6fb2e data frame with 0 columns and 0 rows > aa = h2o.prcomp(pp[,3:9],key="aa",standardize=T,retx=T,max_pc=2) Error in .h2o.__remoteSend(client, .h2o.__PAGE_EXEC2, str = expr) : http://10.0.0.3:54321/2/Exec2.json returned the following error: Frame is already locked by job null. > 14:59:25.548 # Session ERRR WATER: env.remove_and_unlock() failed + java.lang.IllegalArgumentException: Dataset PCAPredict_76abb42620ba4fbf971f3926bfc6fb2e is already in use. Unable to use it now. Consider using a different destination name. + at water.Lockable$PriorWriteLock.atomic(Lockable.java:85) + at water.Lockable$PriorWriteLock.atomic(Lockable.java:74) + at water.TAtomic.atomic(TAtomic.java:19) + at water.Atomic.compute2(Atomic.java:58) + at water.Atomic.fork(Atomic.java:42) + at water.Atomic.invoke(Atomic.java:34) + at water.Lockable.write_lock(Lockable.java:60) + at water.Lockable.delete_and_lock(Lockable.java:64) + at water.exec.Env.remove_and_unlock(Env.java:371) + at water.api.Exec2.serve(Exec2.java:74) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:490) + at water.api.Exec2.serveGrid(Exec2.java:81) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:502) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744) 14:59:28.111 # Session INFO HTTPD: POST /2/Exec2.json str=Last.value.11 = pp[,c(3,4,5,6,7,8,9)] 14:59:28.111 # Session ERRR WATER: + java.lang.AssertionError: Frame is already locked by job null. + at water.Lockable.set_read_lock(Lockable.java:209) + at water.Lockable.access$400(Lockable.java:23) + at water.Lockable$ReadLock.atomic(Lockable.java:143) + at water.Lockable$ReadLock.atomic(Lockable.java:136) + at water.TAtomic.atomic(TAtomic.java:19) + at water.Atomic.compute2(Atomic.java:58) + at water.Atomic.fork(Atomic.java:42) + at water.Atomic.invoke(Atomic.java:34) + at water.Lockable.read_lock(Lockable.java:131) + at water.exec.Exec2.exec(Exec2.java:81) + at water.api.Exec2.serve(Exec2.java:37) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:490) + at water.api.Exec2.serveGrid(Exec2.java:81) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:502) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744) 14:59:28.112 # Session ERRR WATER: + java.lang.AssertionError: Frame is already locked by job null. + at water.Lockable.set_read_lock(Lockable.java:209) + at water.Lockable.access$400(Lockable.java:23) + at water.Lockable$ReadLock.atomic(Lockable.java:143) + at water.Lockable$ReadLock.atomic(Lockable.java:136) + at water.TAtomic.atomic(TAtomic.java:19) + at water.Atomic.compute2(Atomic.java:58) + at water.Atomic.fork(Atomic.java:42) + at water.Atomic.invoke(Atomic.java:34) + at water.Lockable.read_lock(Lockable.java:131) + at water.exec.Exec2.exec(Exec2.java:81) + at water.api.Exec2.serve(Exec2.java:37) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:490) + at water.api.Exec2.serveGrid(Exec2.java:81) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:502) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744)

    JIRA | 2 years ago | Nidhi Mehta
    java.lang.AssertionError: Frame is already locked by job null.
  2. 0

    On master -Build git hash:31e95f76d45a7e7848375361d16fc9fe9e68b6ff pp = h2o.importFile(h,"/Users/nidhimehta/h2o/smalldata/logreg/prostate.csv",key = "pp") |================================================================================| 100% > pp$GLEASON =as.factor(pp$GLEASON) > aa = h2o.prcomp(pp[,3:9],key="aa",standardize=T,retx=T) |================================================================================| 100% |================================================================================| 100% > dd = h2o.importFile(h,"/Users/nidhimehta/h2o/smalldata/logreg/prostate.csv",key = "dd") |================================================================================| 100% > h2o.predict(aa,newdata=dd) | | 0% Polling fails: <simpleError in .h2o.__poll(client, job_key): Illegal argument: Incompatible column: 'GLEASON', expected (trained on) categorical, was passed a numeric> |================================================================================| 100% IP Address: 10.0.0.3 Port : 54321 Parsed Data Key: PCAPredict_76abb42620ba4fbf971f3926bfc6fb2e data frame with 0 columns and 0 rows > aa = h2o.prcomp(pp[,3:9],key="aa",standardize=T,retx=T,max_pc=2) Error in .h2o.__remoteSend(client, .h2o.__PAGE_EXEC2, str = expr) : http://10.0.0.3:54321/2/Exec2.json returned the following error: Frame is already locked by job null. > 14:59:25.548 # Session ERRR WATER: env.remove_and_unlock() failed + java.lang.IllegalArgumentException: Dataset PCAPredict_76abb42620ba4fbf971f3926bfc6fb2e is already in use. Unable to use it now. Consider using a different destination name. + at water.Lockable$PriorWriteLock.atomic(Lockable.java:85) + at water.Lockable$PriorWriteLock.atomic(Lockable.java:74) + at water.TAtomic.atomic(TAtomic.java:19) + at water.Atomic.compute2(Atomic.java:58) + at water.Atomic.fork(Atomic.java:42) + at water.Atomic.invoke(Atomic.java:34) + at water.Lockable.write_lock(Lockable.java:60) + at water.Lockable.delete_and_lock(Lockable.java:64) + at water.exec.Env.remove_and_unlock(Env.java:371) + at water.api.Exec2.serve(Exec2.java:74) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:490) + at water.api.Exec2.serveGrid(Exec2.java:81) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:502) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744) 14:59:28.111 # Session INFO HTTPD: POST /2/Exec2.json str=Last.value.11 = pp[,c(3,4,5,6,7,8,9)] 14:59:28.111 # Session ERRR WATER: + java.lang.AssertionError: Frame is already locked by job null. + at water.Lockable.set_read_lock(Lockable.java:209) + at water.Lockable.access$400(Lockable.java:23) + at water.Lockable$ReadLock.atomic(Lockable.java:143) + at water.Lockable$ReadLock.atomic(Lockable.java:136) + at water.TAtomic.atomic(TAtomic.java:19) + at water.Atomic.compute2(Atomic.java:58) + at water.Atomic.fork(Atomic.java:42) + at water.Atomic.invoke(Atomic.java:34) + at water.Lockable.read_lock(Lockable.java:131) + at water.exec.Exec2.exec(Exec2.java:81) + at water.api.Exec2.serve(Exec2.java:37) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:490) + at water.api.Exec2.serveGrid(Exec2.java:81) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:502) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744) 14:59:28.112 # Session ERRR WATER: + java.lang.AssertionError: Frame is already locked by job null. + at water.Lockable.set_read_lock(Lockable.java:209) + at water.Lockable.access$400(Lockable.java:23) + at water.Lockable$ReadLock.atomic(Lockable.java:143) + at water.Lockable$ReadLock.atomic(Lockable.java:136) + at water.TAtomic.atomic(TAtomic.java:19) + at water.Atomic.compute2(Atomic.java:58) + at water.Atomic.fork(Atomic.java:42) + at water.Atomic.invoke(Atomic.java:34) + at water.Lockable.read_lock(Lockable.java:131) + at water.exec.Exec2.exec(Exec2.java:81) + at water.api.Exec2.serve(Exec2.java:37) + at water.api.Request.serveGrid(Request.java:165) + at water.Request2.superServeGrid(Request2.java:490) + at water.api.Exec2.serveGrid(Exec2.java:81) + at water.api.Request.serve(Request.java:142) + at water.api.RequestServer.serve(RequestServer.java:502) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425) + at java.lang.Thread.run(Thread.java:744)

    JIRA | 2 years ago | Nidhi Mehta
    java.lang.AssertionError: Frame is already locked by job null.
  3. 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

      Frame is already locked by job null.

      at water.Lockable.set_read_lock()
    2. water
      Lockable.read_lock
      1. water.Lockable.set_read_lock(Lockable.java:209)
      2. water.Lockable.access$400(Lockable.java:23)
      3. water.Lockable$ReadLock.atomic(Lockable.java:143)
      4. water.Lockable$ReadLock.atomic(Lockable.java:136)
      5. water.TAtomic.atomic(TAtomic.java:19)
      6. water.Atomic.compute2(Atomic.java:58)
      7. water.Atomic.fork(Atomic.java:42)
      8. water.Atomic.invoke(Atomic.java:34)
      9. water.Lockable.read_lock(Lockable.java:131)
      9 frames
    3. water.exec
      Exec2.exec
      1. water.exec.Exec2.exec(Exec2.java:81)
      1 frame
    4. water.api
      Request.serveGrid
      1. water.api.Exec2.serve(Exec2.java:37)
      2. water.api.Request.serveGrid(Request.java:165)
      2 frames
    5. water
      Request2.superServeGrid
      1. water.Request2.superServeGrid(Request2.java:490)
      1 frame
    6. water.api
      RequestServer.serve
      1. water.api.Exec2.serveGrid(Exec2.java:81)
      2. water.api.Request.serve(Request.java:142)
      3. water.api.RequestServer.serve(RequestServer.java:502)
      3 frames
    7. water
      NanoHTTPD$HTTPSession.run
      1. water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:425)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame