Alberto1202 / zkspreadsheet

Automatically exported from code.google.com/p/zkspreadsheet
0 stars 0 forks source link

NPE when load the attached xls file #286

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Forget to attach the file

Original comment by chenhe...@gmail.com on 12 Jan 2011 at 6:36

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed since Jan 12, 2011.

Original comment by chenhe...@gmail.com on 12 Jan 2011 at 6:39