Bug 1042646 - Groups can fail to render JSON, which fails with a syntax error, with missing data
Summary: Groups can fail to render JSON, which fails with a syntax error, with missing...
Keywords:
Status: CLOSED DUPLICATE of bug 1028031
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-13 01:05 UTC by Elias Ross
Modified: 2013-12-13 01:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-13 01:13:44 UTC
Embargoed:


Attachments (Terms of Use)
JSON file containing bad data; search for 'qc5002' (135.23 KB, text/plain)
2013-12-13 01:05 UTC, Elias Ross
no flags Details

Description Elias Ross 2013-12-13 01:05:23 UTC
Created attachment 836080 [details]
JSON file containing bad data; search for 'qc5002'

Description of problem:

A group with many hosts, trying to render user load over the group fails with the error:

Thu Dec 12 16:34:57 GMT-800 2013 
WARNING: Globally uncaught exception
com.google.gwt.core.client.JavaScriptException: (SyntaxError) 
 stack: SyntaxError: Unexpected token ]
    at Object.parse (native)
    at Function.e.extend.parseJSON (http://st11p01ad-rhq003:7080/coregui/js/jquery-1.7.2.min.js:2:10821)
    at new $drawJsniChart_1.MultiLineChartContext (<anonymous>:100508:94)
    at $drawJsniChart_1 (<anonymous>:100526:18)
    at Object.run_22 [as run] (<anonymous>:100488:3)

The amount of data is about 135,000 bytes. See attached.

{ "x":1386887680704, "y":57.329037962640115}]},
{ "key": "st11p01ad-qc5002","value" : ]},
{ "key": "st11p01ad-qc5043","value" : [{ "x":1386462880704, "y":15.354926403078602},
{ "x":1386470080704, "y":19.421497912270024},

Notice that qc5002 has no values.


Version-Release number of selected component (if applicable): 4.9


How reproducible: ???

Steps to Reproduce:
1. Create a group with many hosts
2. Remove the measurement schedule for user load from one
3. Attempt to render a graph

Actual results: Error, with bad JSON


Expected results: Graph


Additional info:

Comment 1 Elias Ross 2013-12-13 01:13:44 UTC

*** This bug has been marked as a duplicate of bug 1028031 ***


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