[
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 '{
"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 '{
> "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)