You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@predictionio.apache.org by "Donald Szeto (JIRA)" <ji...@apache.org> on 2017/06/21 00:00:40 UTC

[jira] [Resolved] (PIO-94) Query parsing may throw intractable errors

     [ https://issues.apache.org/jira/browse/PIO-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Szeto resolved PIO-94.
-----------------------------
          Resolution: Fixed
       Fix Version/s: 0.12.0-incubating
    Target Version/s: 0.12.0-incubating

> Query parsing may throw intractable errors
> ------------------------------------------
>
>                 Key: PIO-94
>                 URL: https://issues.apache.org/jira/browse/PIO-94
>             Project: PredictionIO
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.11.0-incubating
>            Reporter: Mars Hall
>            Assignee: Mars Hall
>             Fix For: 0.12.0-incubating
>
>
> We get intractable errors from some `queries.json` requests, like this one without a stacktrace:
> {code}
> [ERROR] [ServerActor] Query '{
>   "item": "000"
> }' is invalid. Reason: Expected object but got JNothing
> {code}
> To solve, add stacktraces to these errors using the pattern already present elsewhere in `CreateServer.scala`.
> PR: https://github.com/apache/incubator-predictionio/pull/393



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)