[#3566] - iReport/JasperSoft Studio fails to convert HeapByteBuffer to String -Cassandra Connector

Category:
General
Priority:
Urgent
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

I am using a Cassandra Connector in iReport as well as JasperSoftStudio. The connector is properly integrated with .nbm file.
I am using a CQL query which gives the 4 columns.

Out of these 4 columns, 2 column data type is java.nio.heapbytebuffer. This is because data was inserted in Cassandra using ObjectSerializer (Hector).

I need to show the value of these 2 columns in report. I tried converting the column to bytearray and then to string with appropriate encoding. But the generated report displays BOXES and execute_cql_query statement only.

I tried with different versions of ireport and cassandra DB, but everytime the report is successfully compiled, the generated report shows BOX and execute_cql_query.

1. If charset is used, then generated report shows BOX and exeucte_cql_query.
2. If chartset is not used, then generated report shows BOX.

In both cases, no matter what I do, I am unable to convert this column to string/int etc.

Please assist.

v5.6
muzzledrizzle's picture
Joined: Sep 28 2011 - 12:08am
Last seen: 9 years 1 month ago
Feedback