Skip to content

Instantly share code, notes, and snippets.

@iBasit
Created November 9, 2016 02:23
Show Gist options
  • Save iBasit/34df41c91a6b590ea7326f71e384eae0 to your computer and use it in GitHub Desktop.
Save iBasit/34df41c91a6b590ea7326f71e384eae0 to your computer and use it in GitHub Desktop.
{
"error": {
"root_cause": [{
"type": "script_exception",
"reason": "Error evaluating pricing",
"script_stack": [],
"script": "",
"lang": "groovy"
}],
"type": "search_phase_execution_exception",
"reason": "all shards failed",
"phase": "query",
"grouped": true,
"failed_shards": [{
"shard": 0,
"index": "search",
"node": "HuYO1ZFGQJmSPjWS7wwY6A",
"reason": {
"type": "script_exception",
"reason": "Error evaluating pricing",
"caused_by": {
"type": "class_cast_exception",
"reason": null
},
"script_stack": [],
"script": "",
"lang": "groovy"
}
}],
"caused_by": {
"type": "script_exception",
"reason": "Error evaluating pricing",
"caused_by": {
"type": "missing_method_exception",
"reason": "No signature of method: static java.lang.Integer.parseInt() is applicable for argument types: (java.lang.Integer) values: [6]\nPossible solutions: parseInt(java.lang.String), parseInt(java.lang.String, int), print(java.io.PrintWriter), print(java.lang.Object)"
},
"script_stack": [],
"script": "",
"lang": "groovy"
}
},
"status": 500
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment