Bug 1277440 - pretty.print is printing object type instead of content
Summary: pretty.print is printing object type instead of content
Keywords:
Status: VERIFIED
Alias: None
Product: RHQ Project
Classification: Other
Component: CLI
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-03 10:23 UTC by Filip Brychta
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
test script (637 bytes, text/plain)
2015-11-03 10:23 UTC, Filip Brychta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 907897 0 unspecified VERIFIED pretty.print(null) fails 2022-03-31 04:28:49 UTC

Internal Links: 907897

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


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