Graceless failure to pull back model data

Description

In 3.0.0.22 using FLOW, trying to pull back data from a Kmeans cluster that has not completed its first iteration causes a graceless Flow error. It should simply indicate that first scoring iteration has not yet completed.

Error evaluating cell

Error calling GET /3/Models/kmeans-db205293-d380-4463-84f2-22794bc5d888 with opts null

TOGGLE STACK TRACE
Caught exception: java.lang.NullPointerException from: hex.kmeans.KMeans.createCenterTable(KMeans.java:408) (java.lang.NullPointerException)
hex.kmeans.KMeans.createCenterTable(KMeans.java:408)
hex.schemas.KMeansModelV3$KMeansModelOutputV3.fillFromImpl(KMeansModelV3.java:22)
hex.schemas.KMeansModelV3$KMeansModelOutputV3.fillFromImpl(KMeansModelV3.java:12)
water.api.ModelSchema.fillFromImpl(ModelSchema.java:79)
water.api.ModelSchema.fillFromImpl(ModelSchema.java:23)
water.api.ModelsHandler.fetch(ModelsHandler.java:132)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
water.api.Handler.handle(Handler.java:56)
water.api.RequestServer.handle(RequestServer.java:677)
water.api.RequestServer.serve(RequestServer.java:614)
water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:438)
java.lang.Thread.run(Thread.java:745)

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Former user

Reporter

Edward Agarwala

CustomerVisible

Yes