PDA

View Full Version : Problem with charts with series column in reports, BI Platform 1.6.0 RC1, RD 1.5.6



Juergen
08-16-2007, 10:33 AM
Hello,
i have a big problem with charts in reports:

In a CategorySetCollectorFunction when i set the properties
'group', 'serie name' to a datacolumn, 'series column' to true
for a bar chart in RD, then the chart is not showing after
deploying to BI Platform 1.6.0 RC1.
No Errors in log.

The preview in RD version 1.2.0 build 219 is working.
In RD 1.5.6.270 the chart is also not showing.

A chart without grouping and series column is working on all versions.
for a bar chart.

Is it a bug? Can anyone test it please!

Thanks,
Juergen

dkincade
08-16-2007, 04:14 PM
Juergen,

I am looking into this problem. Would it be possible for you to send me the report definition file?

David
dkincade@pentaho.org

Juergen
08-17-2007, 09:52 AM
David,

I got it!

The error occurs when i set the 'group' property and delete it afterwards in the CategorySetCollectorFunction.

It leaves a empty <property name="group"></property> in the .report file.
When i delete it manually in the file, then it works perfectly (preview in RD, deployed to the platform).

But:
When i need the group and set it to a field from the datasource that is non-string (integer) a
ClassCastException is thrown:

ERROR: Failed to fire group-started event: java.lang.ClassCastException: java.lang.Integer

Another possible bug:
The query string from a report created with RD 1.2RC2 is not taken over to RD 1.5.6.

The format has changed:

1.2RC2:
<property name="queryString">...</property>

1.5.6:<query queryName="default">
<property name="query">...</property>
</query>


Thanks for your help,
Juergen

Taqua
08-17-2007, 11:13 AM
can you provide the full stacktrace for the classcast exception?

Juergen
08-17-2007, 02:08 PM
no, sorry. there is no stacktrace in RD or the platform logs, only the error row.