Project

General

Profile

Actions

Bug #302

open

JSONParser reports errors to console

Added by Hammel over 10 years ago. Updated over 4 years ago.

Status:
New
Priority:
Urgent
Assignee:
Category:
JSON Parser
Target version:
Start date:
27 Mar 2014
Due date:
% Done:

0%

Estimated time:
Severity:
03 - Medium

Description

The messages are like this:

[java] Unexpected token LEFT BRACE({) at position 37.
[java] at org.json.simple.parser.JSONParser.parse(JSONParser.java:146)
[java] at org.json.simple.parser.JSONParser.parse(JSONParser.java:81)
[java] at org.json.simple.parser.JSONParser.parse(JSONParser.java:75)
[java] at com.ximba.jarvis.GAPI.parseV1(GAPI.java:77)
[java] at com.ximba.jarvis.GAPI.parse(GAPI.java:220)
[java] at com.ximba.jarvis.Cmd.process(Cmd.java:130)
[java] at com.ximba.jarvis.Cmd.run(Cmd.java:284)
[java] at java.lang.Thread.run(Thread.java:724)

These come from GAPI doing a printStackTrace. The question is whether we should care about these. If GAPI returns garbase JSON, maybe the system should just ignore it.

Actions

Also available in: Atom PDF