David Leangen created FELIX-5675:

             Summary: JSONParser needs a little bit more context when reporting 
an error
                 Key: FELIX-5675
                 URL: https://issues.apache.org/jira/browse/FELIX-5675
             Project: Felix
          Issue Type: Bug
          Components: Utils
            Reporter: David Leangen
            Assignee: David Leangen

Occasionally a Key/Value Pair evaluates to an empty string. In that case, the 
error message is something like:

Caused by: java.lang.IllegalArgumentException: Malformatted JSON key-value 
        ... 56 more

This makes it very challenging to find where the error is in the file.

In order to add more context, the previously-parsed Key/Value pair should also 
be output.

This message was sent by Atlassian JIRA

Reply via email to