Bug 1277440

Summary: pretty.print is printing object type instead of content
Product: [Other] RHQ Project Reporter: Filip Brychta <fbrychta>
Component: CLIAssignee: Nobody <nobody>
Status: VERIFIED --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: hrupp
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
test script none

Description Filip Brychta 2015-11-03 10:23:56 UTC
Created attachment 1088905 [details]
test script

Description of problem:
Fix for bz907897 (https://github.com/rhq-project/rhq/commit/70d9b363f5610fe17d33179afcb1dbc2c085638c) introduced new problem.
Attached script is producing following output:
Array of [Ljava.lang.String;
[Ljava.lang.String;@764d81b9
[Ljava.lang.String;@5a7fd55c
[Ljava.lang.String;@7e90b96e
[Ljava.lang.String;@4f7e25ac
[Ljava.lang.String;@62db67f9

before this commit the output looked like this:
id    name      version         currentAv resourceT
-------------------------------------------------------------------------------
10141 Agent Plu                 UP        Plugin Co
10143 RHQ Agent 4.12.0.JON330GA UP        Launcher 
10109 JVM       1.7.0_75        UP        RHQ Agent
10110 Agent Mea                 UP        Measureme
10142 rhq-agent 4.12.0.JON330GA UP        Environme
5 rows

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

How reproducible:
Always