munick

"a.options Is Undefined" And "d Is Null" When Upgrading To 3.2.2

Recommended Posts

Has anyone else gotten these errors after upgrading from 3.2.1 to 3.2.2? It happens at render time and it doesn't seem to affect the charts at all.

I'm having trouble tracking down the issue since there is no non-minimized debug js file. I enabled debugMode and set the output to firebug like this:

FusionCharts.debugMode.enabled(true);
FusionCharts.debugMode.outputTo( function() { console.log(arguments); } );

this produced some more obscure error messages:

["#7 [Error: Orphan Event] fired "loaded" event. "]
["#8 [Error: Orphan Event...ed "dataloaded" event. "]
d is null                                                     FusionCharts.js (line 88)
a.options is undefined                                 FusionCharts.js (line 135)
["#9 [Error: Orphan Event] fired "rendered" event. "]
["#10 [Error: Orphan Even... "drawcomplete" event. "]

 

Has anyone seen this?

Edited by munick

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

Please note that you would not need to include two js Files in your HTML code.

 

Please use the latest js files from the FusionCharts XT(3.2.2) to render your chart and widgets.

 

If you want to render only Fusionwidgets, then you would need to use the js files from FusionWidgets pack.

 

Hope this clarifies your query.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Could you please confirm the FusionCharts and browser version you are using?

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

Could you please confirm the FusionCharts and browser version you are using?

 

I hadn't noticed your reply there. I was hoping this would just go away after updating FusionCharts.js to 3.2.3 (Widgets XT) but I'm still getting these same errors, now in Firefox 10.2 on a Mac. They're on different lines now and firebug gives me some more details:

d is null
   encode() FusionCharts.js (line 140)
   a = 
   Error: Orphan Event
   [break On This Error] 	...tEventId+=1,sender:c||Error("Orphan Event"),stopPropagation:function(){return(th...    FusionCharts.js (line 25)

   h() FusionCharts.js (line 22)
   a = [function(), undefined]
   c = function()
   d = Object { eventType="loaded", eventId=163, sender=Error: Orphan Event}
   b = Object {}

   h() FusionCharts.js (line 23)
   e = [[function(), undefined], [function(), undefined], [function(), undefined], 25 more...]
   c = Object { eventType="loaded", eventId=163, sender=Error: Orphan Event}
   d = Object {}

   triggerEvent() FusionCharts.js (line 25)
   e = "loaded"
   c = Object { eventType="loaded", eventId=163, sender=Error: Orphan Event}
   d = Object {}

   triggerEvent() FusionCharts.js (line 25)
   a = "loaded"
   c = Object {}
   d = undefined

   e() FusionCharts.js (line 92)
[break On This Error] 	...sname?f.chart.xaxisname:"Label");return{data:g.toString(),error:void 0}}});a.cor...    FusionCharts.js (line 140)

a.options is undefined
   encode() FusionCharts.js (line 140)
   a =
   Error: Orphan Event
   [break On This Error]    ...tEventId+=1,sender:c||Error("Orphan Event"),stopPropagation:function(){return(th...    FusionCharts.js (line 25)

   h() FusionCharts.js (line 22)
   a = [function(), undefined]
   c = function()
   d = Object { eventType="loaded", eventId=171, sender=Error: Orphan Event}
   b = Object {}

   h() FusionCharts.js (line 23)
   e = [[function(), undefined], [function(), undefined], [function(), undefined], 25 more...]
   c = Object { eventType="loaded", eventId=171, sender=Error: Orphan Event}
   d = Object {}

   triggerEvent() FusionCharts.js (line 25)
   e = "loaded"
   c = Object { eventType="loaded", eventId=171, sender=Error: Orphan Event}
   d = Object {}

   triggerEvent() FusionCharts.js (line 25)
   a = "loaded"
   c = Object {}
   d = undefined

   e() FusionCharts.js (line 92)
[break On This Error]    ...sname?f.chart.xaxisname:"Label");return{data:g.toString(),error:void 0}}});a.cor...    FusionCharts.js (line 140)

In Chrome (v17.0.963.56), I see the following errors:

FusionCharts.js:89 Uncaught TypeError: Cannot read property 'tagName' of null
FusionCharts.js:22 Uncaught TypeError: Cannot read property 'renderer' of undefined

Share this post


Link to post
Share on other sites
Guest Sumedh

I am experiencing the same problem. While the charts still load properly I am getting the same JavaScript error above. Did you ever find any solution to this?

 

Hi,

 

Can you paste any live URL of your issue ?

 

It would be helpful to look into the issue.

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