Github user liningalex commented on a diff in the pull request: https://github.com/apache/incubator-predictionio/pull/387#discussion_r120186994 --- Diff: core/src/main/scala/org/apache/predictionio/workflow/CreateServer.scala --- @@ -198,7 +198,7 @@ object CreateServer extends Logging { kryo.invert(modeldata.get(engineInstance.id).get.models).get. asInstanceOf[Seq[Any]] - val batch = if (engineInstance.batch.nonEmpty) { + val batch = if (engineInstance.batch != null && engineInstance.batch.nonEmpty) { --- End diff -- if not so, pio deploy crashes.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---