Skip to main content

Bug Tracker

Side navigation

#7346 closed bug (invalid)

Opened October 28, 2010 10:18PM UTC

Closed December 01, 2010 07:12PM UTC

Last modified March 10, 2012 04:08AM UTC

$('#id').html(data[i][2]); results in uncaught exception

Reported by: anonymous Owned by: anonymous
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:
Description

used: jQuery JavaScript Library v1.4.3 on Win7/Mozilla Firefox 3.6.12

error:

uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMDocumentFragment.appendChild]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: ../jquery.js :: anonymous :: line 4929" data: no]

data-array contains char-array/string, the content if the string does not matter, exception will occur anyhow.

Attachments (0)
Change History (4)

Changed October 28, 2010 10:33PM UTC by anonymous comment:1

to hand over String(data[x][y]) instead of data[x][y] does help - would like to know it that behavior is usual.

Changed October 28, 2010 10:45PM UTC by jitter comment:2

_comment0: Please provide a minimal test case which reproduces your problem on jsfiddle.net1288305987883631

Please provide a minimal test case which reproduces your problem on http://www.jsfiddle.net

Changed October 29, 2010 02:22AM UTC by snover comment:3

owner: → anonymous
status: newpending

Please provide a test case.

Changed December 01, 2010 07:12PM UTC by addyosmani comment:4

resolution: → invalid
status: pendingclosed

We appreciate you reporting an issue experienced when using jQuery.

As per our guidelines, all submitted tickets must contain a test case that reproduces the issue you are experiencing.

This allows us to test your bug thoroughly and evaluate whether it is a jQuery core issue. As you have not submitted the requested test case, we will be closing this ticket as invalid.

Please feel free to submit a test-case if you are still experiencing this issue and we will re-investigate as soon as possible.