[
https://issues.apache.org/jira/browse/FELIX-3469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257381#comment-13257381
]
Felix Meschberger commented on FELIX-3469:
------------------------------------------
Apparently the problem occurs in this code at the end of the createElement
function:
for (var i=0; i < children.length; i++) {
element.appendChild( children[i] );
}
Looks like the children.length method reports a wrong size and thus at the end
an non-existing child should be added. The fix is to simply guard against
non-existing array entry.
> Type mismatch JS error using the memoryusage plugin
> ---------------------------------------------------
>
> Key: FELIX-3469
> URL: https://issues.apache.org/jira/browse/FELIX-3469
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-3.1.2
> Environment: Microsoft IE 8
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-3.4.0
>
>
> When showing the Memory Usage page, IE8 reports a type mismatch error in the
> support.js script.
> For example when clicking the Heap Dump button:
> Result: Type mismatch error in
> http://localhost:4502/system/console/res/lib/support.js (line: 257, char: 4)
> Expected: no error, GC and heap dump to execute
> Also the detail information is not properly listed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira