java.lang.ClassCastException: hex.GridSearch cannot be cast to hex.gbm.GBM$GBMModel

JIRA | Nidhi Mehta | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

    Root Cause Analysis

    1. java.lang.ClassCastException

      hex.GridSearch cannot be cast to hex.gbm.GBM$GBMModel

      at water.api.GBMModelView.serve()
    2. water.api
      Request.serveGrid
      1. water.api.GBMModelView.serve(GBMModelView.java:31)
      2. water.api.Request.serveGrid(Request.java:129)
      2 frames
    3. water
      Request2.serveGrid
      1. water.Request2.superServeGrid(Request2.java:466)
      2. water.Request2.serveGrid(Request2.java:387)
      2 frames
    4. water.api
      RequestServer.serve
      1. water.api.Request.serve(Request.java:108)
      2. water.api.RequestServer.serve(RequestServer.java:314)
      2 frames
    5. water
      NanoHTTPD$HTTPSession.run
      1. water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:421)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame