Hello
I have an Excel template using charts with dynamic data ranges. The dynamic data range are accomplished using the OFFSET and COUNTA excel functions. For further description please see:
http://www.ozgrid.com/Excel/DynamicRanges.htm
The toImage method throws a nullpointerexception when attempting to get the image for such charts.
Attached you will find a simple project that will reveal the bug. Please read comments in Program.cs for more info