Rajat Bhalla

Error With Load Testing

Recommended Posts

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now