Skip to content

Syntax Error gets swallowed internally #31

Open

Description

@mattisebastian

Hey,

First of all: thank you for your great project, it has been really helpful to me.
I have one specific problem:
Sometimes when I cause a syntax error, the console shows something like:

Warning: There is an internal error in the React performance measurement code. Did not expect componentDidMount timer to start while ctor timer is still in progress for another instance.
printWarning @ warning.js?85a7:36
warning @ warning.js?85a7:60
beginLifeCycleTimer @ ReactDebugTool.js?51ac:123
onBeginLifeCycleTimer @ ReactDebugTool.js?51ac:234
invokeComponentDidMountWithTimer @ ReactCompositeComponent.js?47a9:58
notifyAll @ CallbackQueue.js?fbdc:67
close @ ReactReconcileTransaction.js?51c1:81
closeAll @ Transaction.js?d39c:204
perform @ Transaction.js?d39c:146
batchedMountComponentIntoNode @ ReactMount.js?2450:127
perform @ Transaction.js?d39c:138
batchedUpdates @ ReactDefaultBatchingStrategy.js?c98c:63
batchedUpdates @ ReactUpdates.js?6ba9:98
_renderNewRootComponent @ ReactMount.js?2450:321
_renderSubtreeIntoContainer @ ReactMount.js?2450:402
render @ ReactMount.js?2450:423
(anonymous) @ client.js?cf27:99
F @ _export.js?cc6d:35
render @ client.js?cf27:97
_callee2$ @ index.js?a731:75
tryCatch @ runtime.js?1791:63
invoke @ runtime.js?1791:337
prototype.(anonymous function) @ runtime.js?1791:96
step @ asyncToGenerator.js?14e4:17
(anonymous) @ asyncToGenerator.js?14e4:28
ReactDOMComponentTree.js?8098:107 Uncaught TypeError: Cannot read property '__reactInternalInstance$fgm806fb7d5nc0nuqgu5l8fr' of null
    at Object.getClosestInstanceFromNode (eval at <anonymous> (main.js?dca12ad…:804), <anonymous>:107:11)
    at findParent (eval at <anonymous> (main.js?dca12ad…:8688), <anonymous>:39:32)
    at handleTopLevelImpl (eval at <anonymous> (main.js?dca12ad…:8688), <anonymous>:68:28)
    at ReactDefaultBatchingStrategyTransaction.perform (eval at <anonymous> (main.js?dca12ad…:1746), <anonymous>:138:20)
    at Object.batchedUpdates (eval at <anonymous> (main.js?dca12ad…:4332), <anonymous>:63:19)
    at Object.batchedUpdates (eval at <anonymous> (main.js?dca12ad…:1074), <anonymous>:98:20)
    at dispatchEvent (eval at <anonymous> (main.js?dca12ad…:8688), <anonymous>:150:20)```

Do you have any idea how to trace this back to the error in my actual code?

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions