Rajat Bhalla Report post Posted December 26, 2012 Hi, While doing load testing, some of the users get exception(around 6 out of 200), The exception that we are getting is:- Collection was modified; enumeration operation may notexecute. Stack Trace: at System.Collections.Hashtable.HashtableEnumerator.MoveNext() atInfoSoftGlobal.FusionCharts.SetConfiguration(String setting, Object value) atInfoSoftGlobal.FusionCharts.RenderChartHTMLALL(String chartSWF, String dataUrl,String dataStr, String chartId, String chartWidth, String chartHeight, BooleandebugMode, Boolean registerWithJS, Boolean allowTransparent, String bgColor,String scaleMode, String language) atInfoSoftGlobal.FusionCharts.RenderChartHTML(String chartSWF, String dataUrl,String dataStr, String chartId, String chartWidth, String chartHeight, BooleandebugMode, Boolean registerWithJS) Please let me know the possible reason for this exception. Regards and Thanks, Rajat Bhalla Sr. Developer (InterraIT) Share this post Link to post Share on other sites
purusothaman Report post Posted October 18, 2013 We are also getting same error but very randomly with exact call stack. Version : FusionCharts XT (v3.3.1 - Service Release 2) (28th May, 2013) Its rendering using Flash. It happens very randomly, so unable to provide reproducible code. Anyone solved it ? Is HTML5 mode rendering more reliable ? Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted October 28, 2013 Hi Purusothaman, Could you please provide a bit more detailed information on your issue? Also, please let us know, whether you are rendering the chart using simple FusionCharts JavaScript API code. Is HTML5 mode rendering more reliable ? >>In HTML5 mode of rendering, you can find more features and do more customization on chart and have the exact similar look and feel as Flash chart does. So, you could try once by rendering the charts in JavaScript mode. To exclusively render the chart in JavaScript (HTML5) mode, you would need to write the single line of code (below mentioned), just before creating FusionCharts JavaScript object instance. Ref. Code: FusionCharts.setCurrentRenderer('javascript'); Hope this helps! Share this post Link to post Share on other sites