TypeError: Cannot read property 'originStackTrace' of null

Team,

I am working on the electron application. I see few error message as below in the command window. Attached the screen shot as well. This issue is coming after upgrading the electron framework to 6.0.5

[21824:0830/162254.189:ERROR:CONSOLE(983)] “TypeError: Cannot read property ‘originStackTrace’ of null TypeError: Cannot read property ‘originStackTrace’ of null
at Function._script (devtools://devtools/bundled/sources/sources_module.js:1623:197)
at Sources.ScriptOriginPlugin.rightToolbarItems (devtools://devtools/bundled/sources/sources_module.js:1621:41)
at Sources.UISourceCodeFrame.syncToolbarItems (devtools://devtools/bundled/sources/sources_module.js:362:215)
at Sources.SourcesView._updateScriptViewToolbarItems (devtools://devtools/bundled/sources/sources_module.js:1337:168)
at Sources.SourcesView._editorClosed (devtools://devtools/bundled/sources/sources_module.js:1353:60)
at Sources.TabbedEditorContainer.dispatchEventToListeners (devtools://devtools/bundled/shell.js:500:23)
at Sources.TabbedEditorContainer._tabClosed (devtools://devtools/bundled/sources/sources_module.js:1114:114)
at UI.TabbedPane.dispatchEventToListeners (devtools://devtools/bundled/shell.js:500:23)
at UI.TabbedPane._innerCloseTab (devtools://devtools/bundled/shell.js:2851:99)
at UI.TabbedPane.closeTabs (devtools://devtools/bundled/shell.js:2844:6)”, source: devtools://devtools/bundled/shell.js (983)

[21824:0830/143632.928:ERROR:CONSOLE(109)] “Uncaught (in promise) Error: C

ould not instantiate: ProductRegistryImpl.Registry”, source: devtools://devtools/bundled/shell.js (109)

Thanks