Skip to content

NetworkOverlay - undefined is not an object (evaluating '_this._renderScrollComponent.bind') #12925

Closed
@fdnhkj

Description

@fdnhkj

Description

What I did

  1. Toggle inspector
  2. Press Network

What I expected to happen

See the network panel

What happens

capture d ecran 2017-03-14 a 13 15 34

Stack trace

undefined is not an object (evaluating '_this._renderScrollComponent.bind')
NetworkOverlay
NetworkOverlay.js:100:62

ReactCompositeComponent.js:405:30
measureLifeCyclePerf
ReactCompositeComponent.js:85:11
_constructComponentWithoutOwner
ReactCompositeComponent.js:405:10
_constructComponent
ReactCompositeComponent.js:376:10
mountComponent
ReactCompositeComponent.js:202:6
mountComponent
ReactReconciler.js:62:6
updateChildren
ReactChildReconciler.js:157:10
_reconcilerUpdateChildren
ReactMultiChild.js:212:10
_updateChildren
ReactMultiChild.js:345:6
updateChildren
ReactMultiChild.js:331:25
receiveComponent
ReactNativeBaseComponent.js:130:24
receiveComponent
ReactReconciler.js:163:38
_updateRenderedComponent
ReactCompositeComponent.js:982:8
_performComponentUpdate
ReactCompositeComponent.js:944:34
updateComponent
ReactCompositeComponent.js:847:8
receiveComponent
ReactCompositeComponent.js:710:6
receiveComponent
ReactReconciler.js:163:38
_updateRenderedComponent
ReactCompositeComponent.js:982:8
_performComponentUpdate
ReactCompositeComponent.js:944:34
updateComponent
ReactCompositeComponent.js:847:8
receiveComponent
ReactCompositeComponent.js:710:6
receiveComponent
ReactReconciler.js:163:38
updateChildren
ReactChildReconciler.js:143:10
_reconcilerUpdateChildren
ReactMultiChild.js:212:10
_updateChildren
ReactMultiChild.js:345:6
updateChildren
ReactMultiChild.js:331:25
receiveComponent
ReactNativeBaseComponent.js:130:24
receiveComponent
ReactReconciler.js:163:38
_updateRenderedComponent
ReactCompositeComponent.js:982:8
_performComponentUpdate
ReactCompositeComponent.js:944:34
updateComponent
ReactCompositeComponent.js:847:8
receiveComponent
ReactCompositeComponent.js:710:6
receiveComponent
ReactReconciler.js:163:38
updateChildren
ReactChildReconciler.js:143:10
_reconcilerUpdateChildren
ReactMultiChild.js:212:10
_updateChildren
ReactMultiChild.js:345:6
updateChildren
ReactMultiChild.js:331:25
receiveComponent
ReactNativeBaseComponent.js:130:24
receiveComponent
ReactReconciler.js:163:38
_updateRenderedComponent
ReactCompositeComponent.js:982:8
_performComponentUpdate
ReactCompositeComponent.js:944:34
updateComponent
ReactCompositeComponent.js:847:8
receiveComponent
ReactCompositeComponent.js:710:6
receiveComponent
ReactReconciler.js:163:38
_updateRenderedComponent
ReactCompositeComponent.js:982:8
_performComponentUpdate
ReactCompositeComponent.js:944:34
updateComponent
ReactCompositeComponent.js:847:8
performUpdateIfNecessary
ReactCompositeComponent.js:735:8
performUpdateIfNecessary
ReactReconciler.js:213:46
runBatchedUpdates
ReactUpdates.js:171:6
perform
Transaction.js:149:24
perform
Transaction.js:149:24
perform
ReactUpdates.js:96:8
flushBatchedUpdates
ReactUpdates.js:199:26
closeAll
Transaction.js:222:29
perform
Transaction.js:163:24
batchedUpdates
ReactDefaultBatchingStrategy.js:65:33
batchedUpdates
ReactUpdates.js:111:41
_receiveRootNodeIDEvent
ReactNativeEventEmitter.js:126:32
receiveTouches
ReactNativeEventEmitter.js:213:8
__callFunction
MessageQueue.js:242:47

MessageQueue.js:108:26
guard
MessageQueue.js:46:4
callFunctionReturnFlushedQueue
MessageQueue.js:107:10

Solution

It looks related to 850c71c

Additional Information

  • React Native version: 0.42.0
  • Platform: both
  • Operating System: MacOS

Activity

fdnhkj

fdnhkj commented on Mar 14, 2017

@fdnhkj
Author
janicduplessis

janicduplessis commented on Mar 14, 2017

@janicduplessis
Contributor

Hey, thanks for reporting this, it has been fixed in 0.43 which is currently in RC.

fdnhkj

fdnhkj commented on Mar 16, 2017

@fdnhkj
Author

Hey @janicduplessis , thanks for the reply!
Could you please help me finding the fix ?
I don't find it in the 0.43 release changes.

Edit: I found the fix commit.

locked as resolved and limited conversation to collaborators on May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @janicduplessis@fdnhkj@react-native-bot

        Issue actions

          NetworkOverlay - undefined is not an object (evaluating '_this._renderScrollComponent.bind') · Issue #12925 · facebook/react-native