You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, some another flows lead to this exception. But the main reason is near this line
Here is a strict null check which is successfully passed by undefined value.
Correct code should look like if (currentRoute == null) or if(isNull(currentRoute) || isUndefined(currentRoute))
Exception call stack:
Uncaught TypeError: Cannot read property 'id' of undefined
at _class._renderRouteItem (ComponentsTreeView.js?c276:1274)
at _class.render (ComponentsTreeView.js?c276:1320)
at finishClassComponent (react-dom.development.js?054f:13193)
at updateClassComponent (react-dom.development.js?054f:13155)
at beginWork (react-dom.development.js?054f:13824)
at performUnitOfWork (react-dom.development.js?054f:15863)
at workLoop (react-dom.development.js?054f:15902)
at renderRoot (react-dom.development.js?054f:15942)
at performWorkOnRoot (react-dom.development.js?054f:16560)
at performWork (react-dom.development.js?054f:16482)
Steps to reproduce:
The text was updated successfully, but these errors were encountered:
Actually, some another flows lead to this exception. But the main reason is near this line
Here is a strict null check which is successfully passed by
undefined
value.Correct code should look like
if (currentRoute == null)
orif(isNull(currentRoute) || isUndefined(currentRoute))
Exception call stack:
Uncaught TypeError: Cannot read property 'id' of undefined
at _class._renderRouteItem (ComponentsTreeView.js?c276:1274)
at _class.render (ComponentsTreeView.js?c276:1320)
at finishClassComponent (react-dom.development.js?054f:13193)
at updateClassComponent (react-dom.development.js?054f:13155)
at beginWork (react-dom.development.js?054f:13824)
at performUnitOfWork (react-dom.development.js?054f:15863)
at workLoop (react-dom.development.js?054f:15902)
at renderRoot (react-dom.development.js?054f:15942)
at performWorkOnRoot (react-dom.development.js?054f:16560)
at performWork (react-dom.development.js?054f:16482)
Steps to reproduce:
The text was updated successfully, but these errors were encountered: