Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Elements tab crashes with NPE in DOM.ProviderListener.onChildRemoved() #83

Closed
rickbrew opened this issue Mar 10, 2015 · 0 comments
Closed
Assignees
Labels

Comments

@rickbrew
Copy link
Contributor

In onChildRemoved, we try to get the nodeId for an element that isn't mapped. We end up with a null Integer and then blindly try to store it into Node's nodeId field (an int), and immediately NPE.

This happened several times, but the stack trace has long since scrolled off into oblivion and I can't repro it anymore. For now I've got a fix that logs a warning and skips sending the DOM.childNodeRemoved event over the wire.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants