Bug 1036790 - java uReport is invalid JSON
Summary: java uReport is invalid JSON
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: satyr
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Martin Milata
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-02 15:48 UTC by Martin Milata
Modified: 2019-03-06 01:14 UTC (History)
2 users (show)

Fixed In Version: satyr-0.9-2.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 13:08:05 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Martin Milata 2013-12-02 15:48:31 UTC
When reporting ANY java exception to FAF, uReport like this gets generated:


  {   "ureport_version": 2
  ,   "reason": "Exception java.lang.NullPointerException occurred in xread.java:177"
  ,   "reporter": {   "name": "satyr"
                  ,   "version": "0.11"
                  }
  ,   "os": {   "name": "fedora"
            ,   "version": "19"
            ,   "architecture": "x86_64"
            ,   "cpe": "cpe:/o:redhat:enterprise_linux:7.0:beta:workstation"
            }
  ,   "problem": {   "type": "java"
                 ,   "component": "xml-commons-resolver"
                 ,   "user": {   "root": false
                             ,   "local": true
                             }
                 ,   "threads":
                       [ {   "name": "main"
                         ,   "frames":
                               [ {   "name": "java.lang.NullPointerException"
                                 ,   "is_native": false
                                 ,   "is_exception": true
                                 }
                               , {   "name": "org.apache.xml.resolver.tools.CatalogResolver.getCatalog"
                                 ,   "file_name": "CatalogResolver.java"
                                 ,   "file_line": 99
                                 ,   "class_path": "/usr/share/java/xml-commons-resolver.jar"
                                 ,   "is_native": false
                                 ,   "is_exception": false
                                 }
                               , {   "name": "org.apache.xml.resolver.tools.ResolvingXMLFilter.getCatalog"
                                 ,   "file_name": "ResolvingXMLFilter.java"
                                 ,   "file_line": 110
                                 ,   "class_path": "/usr/share/java/xml-commons-resolver.jar"
                                 ,   "is_native": false
                                 ,   "is_exception": false
                                 }
                               , {   "name": "org.apache.xml.resolver.apps.xread.main"
                                 ,   "file_name": "xread.java"
                                 ,   "file_line": 177
                                 ,   "class_path": "/usr/share/java/xml-commons-resolver.jar"
                                 ,   "is_native": false
                                 ,   "is_exception": false
                                 } ]
                         }} ] <--- THERE'S EXTRA CURLY BRACE HERE
                 }
  ,   "packages": [ {   "name": "xml-commons-resolver"
                    ,   "epoch": 0
                    ,   "version": "1.2"
                    ,   "release": "14.1.abrt.el7"
                    ,   "architecture": "noarch"
                    ,   "package_role": "affected"
                    } ]
  }

Comment 1 Martin Milata 2013-12-02 15:51:31 UTC
Upstream patch sent for review: https://github.com/abrt/satyr/pull/142

Comment 2 Martin Milata 2013-12-02 16:20:17 UTC
Fixed in upstream commit 7557c0d3e0df1a0074d10a8afea765af20eb335b.

Comment 5 Ludek Smid 2014-06-13 13:08:05 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


Note You need to log in before you can comment on or make changes to this bug.