What steps will reproduce the problem?
1. start zssapp
2. import and open the attached xls file
What is the expected output? What do you see instead?
Expect: a sheet with a pie chart
Real: no pie chart and a NPE
----
SEVERE: >>java.lang.NullPointerException
>> at org.zkoss.zssex.ui.widget.ChartWidget.prepareLabels(ChartWidget.java:174)
>> at
org.zkoss.zssex.ui.widget.ChartWidget.preparePieModel(ChartWidget.java:252)
>> at org.zkoss.zssex.ui.widget.ChartWidget.drawHSSFChart(ChartWidget.java:497)
>> at org.zkoss.zssex.ui.widget.ChartWidget.drawChart(ChartWidget.java:476)
>> at org.zkoss.zssex.ui.widget.ChartWidget.initChart(ChartWidget.java:472)
>> at org.zkoss.zssex.ui.widget.ChartWidget.<init>(ChartWidget.java:68)
>>...
Please use labels and text to provide additional information.
Original issue reported on code.google.com by chenhe...@gmail.com on 11 Jan 2011 at 10:00
Original issue reported on code.google.com by
chenhe...@gmail.com
on 11 Jan 2011 at 10:00