Skip to main content

Bug Tracker

Side navigation

#12053 closed bug (duplicate)

Opened July 10, 2012 09:21PM UTC

Closed July 10, 2012 09:35PM UTC

Last modified July 10, 2012 09:35PM UTC

null pointer exception in .next() / .sibling()

Reported by: creativecouple Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8b1
Keywords: Cc:
Blocked by: Blocking:
Description

When using .next() on a last child you get an exception instead of the empty selection.

Minimal example: $('<p>').next();

jquery-1.8b1.js:5448 - Uncaught TypeError: Cannot read property 'nodeType' of null

Attachments (0)
Change History (2)

Changed July 10, 2012 09:35PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Changed July 10, 2012 09:35PM UTC by dmethvin comment:2

Duplicate of #11969.