Bug Tracker

Ticket #7346 (closed bug: invalid)

Opened 4 years ago

Last modified 3 years ago

$('#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:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 4 years ago by anonymous

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

comment:2 Changed 4 years ago by jitter

Please provide a minimal test case which reproduces your problem on jsfiddle.net

Version 0, edited 4 years ago by jitter (next)

comment:3 Changed 4 years ago by snover

  • Owner set to anonymous
  • Status changed from new to pending

Please provide a test case.

comment:4 Changed 4 years ago by addyosmani

  • Status changed from pending to closed
  • Resolution set to invalid

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.

Note: See TracTickets for help on using tickets.