Opened 10 years ago
Last modified 8 years ago
#12384 closed defect
IE8 keeps throwing 'nodeType' is not null error — at Version 2
Reported by: | somik | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | DojoX GFX | Version: | 1.6.0rc1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
I am building an open source decision system that involves the use of the dojo toolkit to draw a pie chart. It can be accessed at: http://wiki.valuefound.org/ieTest/apps/alcohol/
To see the problem in action, follow these steps, in IE8:
- Go to the Assessment Tab
- Click on Minor Injuries Given Success
That should throw the following error:
Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; MS-RTC LM 8; MALC) Timestamp: Sat, 5 Mar 2011 00:55:00 UTC Message: 'nodeType' is null or not an object Line: 14 Char: 54035 Code: 0 URI: https://ajax.googleapis.com/ajax/libs/dojo/1.5.0/dojo/dojo.xd.js
I've tried for quite some time to debug this, but have been unable to. It works just fine on Chrome and Firefox.
As a test, here is a standalone assessment tool with the pie chart that works just fine on all browsers: http://wiki.valuefound.org/tools/assess/
Its just that when it is integrated with the entire decision system that this problem comes up in IE.
Any suggestions on what might be happening to cause this error would be greatly appreciated. Thank you so much.
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Description: | modified (diff) |
---|---|
Milestone: | tbd → future |
Status: | new → assigned |
First of all, are you sure that browser has finished creating DOM before you try to do any graphic operations?
Additional information that may help - the code that calls dojo is in probabilitywheel.js, within the function "drawPieGraph." Surprisingly, when this is called by itself (Assessments -> Success), it works fine. When it is called in the context of multiple assessments (from pluginAssessor.js - see createGUI), it crashes in IE8.