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

[jira] [Updated] (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 ]

Mars Hall updated PIO-94:
-------------------------
    Description: 
We get intractable errors from some `queries.json` requests, like this one without a stacktrace:

{{[ERROR] [ServerActor] Query '{
  "user": "000",
  "item": "000"
}' is invalid. Reason: Expected object but got JNothing}}

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

  was:
We get intractable errors from some `queries.json` requests, like this one without a stacktrace:

[ERROR] [ServerActor] Query '{
  "user": "000",
  "item": "000"
}' is invalid. Reason: Expected object but got JNothing

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


> 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
>
> We get intractable errors from some `queries.json` requests, like this one without a stacktrace:
> {{[ERROR] [ServerActor] Query '{
>   "user": "000",
>   "item": "000"
> }' is invalid. Reason: Expected object but got JNothing}}
> 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)