VirtualFlyBrain / VFB2

Virtual Fly Brain Documentation Site
https://virtualflybrain.org
MIT License
2 stars 6 forks source link

Crash triggered playing with the clear-all button #316

Closed ddelpiano closed 2 years ago

ddelpiano commented 2 years ago

Steps to reproduce the problem:

Please fill the below with the necessary steps to reproduce the problem

Error Information:

Cannot read properties of null (reading 'getId')

TypeError: Cannot read properties of null (reading 'getId') at VFBTree.render (webpack:///./containers/VFBMainContainer.js_+_297_modules?:18123:95) at finishClassComponent (webpack:///./node_modules/react-dom/cjs/react-dom.development.js?:17160:31) at updateClassComponent (webpack:///./node_modules/react-dom/cjs/react-dom.development.js?:17110:24) at beginWork (webpack:///./node_modules/react-dom/cjs/react-dom.development.js?:18620:16) at HTMLUnknownElement.callCallback (webpack:///./node_modules/react-dom/cjs/react-dom.development.js?:188:14) at Object.invokeGuardedCallbackDev (webpack:///./node_modules/react-dom/cjs/react-dom.development.js?:237:16) at invokeGuardedCallback (webpack:///./node_modules/react-dom/cjs/react-dom.development.js?:292:31) at beginWork$1 (webpack:///./node_modules/react-dom/cjs/react-dom.development.js?:23203:7) at performUnitOfWork (webpack:///./node_modules/react-dom/cjs/react-dom.development.js?:22154:12) at workLoopSync (webpack:///./node_modules/react-dom/cjs/react-dom.development.js?:22130:22)

%2D The above error occurred in the <VFBTree> component:
    in VFBTree (created by Connect(VFBTree))
    in Connect(VFBTree) (created by Connect(VFBTree))
    in Connect(VFBTree) (created by Tab)
    in div (created by Tab)
    in div (created by Tab)
    in Tab (created by Layout)
    in div (created by Layout)
    in Layout (created by VFBMain)
    in div (created by VFBMain)
    in VFBMain (created by Connect(VFBMain))
    in Connect(VFBMain) (created by Connect(Connect(VFBMain)))
    in Connect(Connect(VFBMain)) (created by component)
    in component (created by Route)
    in Route
    in Switch
    in Router (created by BrowserRouter)
    in BrowserRouter
    in Provider
    in ErrorCatcher (created by WithStyles(ErrorCatcher))
    in WithStyles(ErrorCatcher)

React will try to recreate this component tree from scratch using the error boundary you provided, ErrorCatcher.%0A%2D The above error occurred in the <ButtonBarComponent> component:
    in ButtonBarComponent

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react%2Derror%2Dboundaries to learn more about error boundaries.