Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot read property 'hasChildNodes' of null #29

Open
ghost opened this issue Aug 2, 2017 · 2 comments
Open

Error: Cannot read property 'hasChildNodes' of null #29

ghost opened this issue Aug 2, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 2, 2017

Im still getting Issue #6

vis.js:48138 Uncaught (in promise) TypeError: Cannot read property 'hasChildNodes' of null(…)

_create @ vis.js:48138
Network @ vis.js:33312
updateGraph @ index.js:201
componentDidMount @ index.js:65
notifyAll @ CallbackQueue.js:76
close @ ReactReconcileTransaction.js:80
closeAll @ Transaction.js:209
perform @ Transaction.js:156
batchedMountComponentIntoNode @ ReactMount.js:126
perform @ Transaction.js:143
batchedUpdates @ ReactDefaultBatchingStrategy.js:62
batchedUpdates @ ReactUpdates.js:97
_renderNewRootComponent @ ReactMount.js:319
_renderSubtreeIntoContainer @ ReactMount.js:401
render @ ReactMount.js:422
get @ FFGView.js [sm]:94
module.exports.ViewRegistry.createView @ :16995
module.exports.ViewRegistry.getView @ :16978
PaneElement.activeItemChanged @ pane-element.coffee:86
module.exports.Emitter.simpleDispatch @ :63093
module.exports.Emitter.emit @ :63209
module.exports.Pane.setActiveItem @ :25878
module.exports.Pane.addItem @ :26101
module.exports.Pane.activateItem @ :26030
(anonymous function) @ :23648
step @ :22498
@matttk
Copy link

matttk commented Aug 6, 2018

Are you getting this just with normal use? For me, everything works fine but I'm trying to write a jest test file and I get this error.

@samroutledge
Copy link

(Sorry, I commented in the closed issue by mistake. Reposting my comment here:)

I am seeing this too. In my case, I am trying to create a clone of an existing graph into a new window using the react-new-window library. I believe the base issue is that the graph uses document.getElementById to get its reference. Perhaps this would be fixed by #57 ?

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

No branches or pull requests

2 participants