Uploaded image for project: 'PredictionIO (Retired)'
  1. PredictionIO (Retired)
  2. PIO-94

Query parsing may throw intractable errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.0-incubating
    • 0.12.0-incubating
    • Core
    • None

    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

      Attachments

        Issue Links

          Activity

            People

              marsikai Mars Hall
              marsikai Mars Hall
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: