Skip to content

TypeError: Cannot read property '_currentElement' of null #443

@binarykitchen

Description

@binarykitchen

Happens when running Jest tests on iojs:

- TypeError: Cannot read property '_currentElement' of null
    at ReactCompositeComponentMixin._updateRenderedComponent (/home/michael-heuberger/Development/<our project>/node_modules/react/lib/ReactCompositeComponent.js:744:52)
    at ReactCompositeComponentMixin._performComponentUpdate (/home/michael-heuberger/Development/<our project>/node_modules/react/lib/ReactCompositeComponent.js:726:10)
    at ReactCompositeComponentMixin.updateComponent (/home/michael-heuberger/Development/<our project>/node_modules/react/lib/ReactCompositeComponent.js:642:12)
    at wrapper [as updateComponent] (/home/michael-heuberger/Development/<our project>/node_modules/react/lib/ReactPerf.js:70:21)
    at ReactCompositeComponentMixin.performUpdateIfNecessary (/home/michael-heuberger/Development/<our project>/node_modules/react/lib/ReactCompositeComponent.js:539:12)
    at Object.ReactReconciler.performUpdateIfNecessary (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/ReactReconciler.js:115:22)
    at runBatchedUpdates (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/ReactUpdates.js:151:21)
    at ReactReconcileTransaction.Mixin.perform (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/Transaction.js:134:20)
    at ReactUpdatesFlushTransaction.Mixin.perform (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/Transaction.js:134:20)
    at ReactUpdatesFlushTransaction.assign.perform (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/ReactUpdates.js:95:38)
    at Object.flushBatchedUpdates (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/ReactUpdates.js:175:19)
    at Object.wrapper [as flushBatchedUpdates] (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/ReactPerf.js:70:21)
    at ReactDefaultBatchingStrategyTransaction.Mixin.closeAll (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/Transaction.js:207:25)
    at ReactDefaultBatchingStrategyTransaction.Mixin.perform (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/Transaction.js:148:16)
    at Object.ReactDefaultBatchingStrategy.batchedUpdates (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/ReactDefaultBatchingStrategy.js:66:19)
    at Object.enqueueUpdate (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/ReactUpdates.js:215:22)
    at enqueueUpdate (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/ReactUpdateQueue.js:30:18)
    at Object.ReactUpdateQueue.enqueueSetState (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/ReactUpdateQueue.js:208:5)
    at ReactComponent.setState (/home/michael-heuberger/Development/<our project>/node_modules/react-select/node_modules/react/lib/ReactComponent.js:69:20)
    at componentWillMount (/home/michael-heuberger/Development/<our project>/node_modules/react-select/lib/Select.js:149:8)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions