Bug Tracker


Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#7346 closed bug (invalid)

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


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 (4)

comment:1 Changed 6 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 6 years ago by jitter

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

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

comment:3 Changed 6 years ago by snover

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

Please provide a test case.

comment:4 Changed 6 years ago by addyosmani

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

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.

Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Modify Ticket

Change Properties

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.