Pie chart throws error when there are more colours than data series

I'm running Confluence 3.5.13. I have a pie chart which graphs a dynamic set of data, which contains up to 4 data series. The color parameter specifies four colour values. When the dataset includes fewer than 4 data series the macro throws a "java.lang.ClassCastException" error.


|| Priority || Num Defects ||
| 2 | 1 |
| 3 | 1 |

Is this a known issue? Is it going to be fixed?

The problem also exists on Confluence 4.3.2, the error shows as "java.lang.String cannot be cast to java.lang.Integer"

2 answers

You should report that at jira.atlassian.com, on Confluence project. It seems a bug.

Looks like that's the only way I'll get any help with this - opened https://jira.atlassian.com/browse/CONF-27584.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

778 views 33 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you