Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-18287

[GSS](7.3.z) RESTEASY-2387 - FasterXML Jackson reports incorrect line number for JSON parsing errors.

    XMLWordPrintable

Details

    • +
    • Hide

      A reproducer is provided.

      Build and deploy the reproducer, then run

      $ curl -d "`cat Problem.json`" -H "Content-Type: application/json" -X POST `cat URLEndpoint.txt`

      It will output a json error message with the line number of the error incorrect.

      The pom.xml has comments on switching to an upstream version of jackson that works correctly.

      Show
      A reproducer is provided. Build and deploy the reproducer, then run $ curl -d "`cat Problem.json`" -H "Content-Type: application/json" -X POST `cat URLEndpoint.txt` It will output a json error message with the line number of the error incorrect. The pom.xml has comments on switching to an upstream version of jackson that works correctly.

    Description

      When passed an invalid json document, the jackson libraries included in the release report an incorrect line number.

      Attachments

        Issue Links

          Activity

            People

              istudens@redhat.com Ivo Studensky
              rhn-support-ivassile Ilia Vassilev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: