- 
    Type:Bug 
- 
    Resolution: Fixed
- 
    Priority:Normal 
- 
    Affects Version/s: 7.2.2.0
- 
    Security Level: Jimmy
- 
    None
Steps to Reproduce
Run attached sample.
Current Result
Click button > cause NPE
Click chart's drillable serie, click back to button to return to root
Click button > chart drilldown as expected
Expected Result
addSeriesAsDrilldown doesn't cause NPE
Debug Information
Charts internal org.zkoss.chart.Charts._drilldownLevels list is null until initialized in org.zkoss.chart.Charts.service(AuRequest, boolean)
in the org.zkoss.chart.ChartsEvents.ON_PLOT_DRILL_DOWN section.
If the chart has not triggered org.zkoss.chart.ChartsEvents.ON_PLOT_DRILL_DOWN at least one time, calling addSeriesAsDrilldown causes a NPE instead.
Workaround
- relates to
- 
                    ZKCHARTS-126 charts _drilldownLevels set but empty after invalidate on setType() -         
- Closed
 
-