Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "error": {
- "root_cause": [
- {
- "type": "script_exception",
- "reason": "runtime error",
- "script_stack": [
- "Double.parseDouble(doc['chargeamount'].value)",
- " ^---- HERE"
- ],
- "script": "Double.parseDouble(doc['chargeamount'].value)",
- "lang": "painless"
- }
- ],
- "type": "search_phase_execution_exception",
- "reason": "all shards failed",
- "phase": "query",
- "grouped": true,
- "failed_shards": [
- {
- "shard": 0,
- "index": "test",
- "node": "8WgW3lD5TT2pkLf4vACxww",
- "reason": {
- "type": "script_exception",
- "reason": "runtime error",
- "caused_by": {
- "type": "wrong_method_type_exception",
- "reason": "cannot convert MethodHandle(Doubles)double to (Object)String"
- },
- "script_stack": [
- "Double.parseDouble(doc['chargeamount'].value)",
- " ^---- HERE"
- ],
- "script": "Double.parseDouble(doc['chargeamount'].value)",
- "lang": "painless"
- }
- }
- ],
- "caused_by": {
- "type": "script_exception",
- "reason": "runtime error",
- "caused_by": {
- "type": "wrong_method_type_exception",
- "reason": "cannot convert MethodHandle(Doubles)double to (Object)String"
- },
- "script_stack": [
- "Double.parseDouble(doc['chargeamount'].value)",
- " ^---- HERE"
- ],
- "script": "Double.parseDouble(doc['chargeamount'].value)",
- "lang": "painless"
- }
- },
- "status": 500
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement