NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore
http://docs.nativescript.org/runtimes/ios
Apache License 2.0
298 stars 59 forks source link

Inspector - Resources tab will thrown an internal error #1235

Open vhristov5555 opened 4 years ago

vhristov5555 commented 4 years ago

If you click on the Resources tab an internal error will be thrown Error:

TypeError:​ undefined is not an object (evaluating 'parentFolderElement.insertChild')​ (at FileSystemRepresentationTreeElement.js:​34:​32)​
    onpopulate @ FileSystemRepresentationTreeElement.js:​34:​32
    expand @ TreeElement.js:​392:​28
    _attach @ TreeElement.js:​270:​24
    insertChild @ TreeOutline.js:​344:​26
    _mainFrameMainResourceDidChange @ ResourceSidebarPanel.js:​303:​44
    initialLayout @ ResourceSidebarPanel.js:​214:​49
    _layoutSubtree @ View.js:​279:​31
    updateLayout @ View.js:​158:​28
    updateLayoutIfNeeded @ View.js:​166:​26
    shown @ SidebarPanel.js:​100:​34
    shown @ NavigationSidebarPanel.js:​469:​20
    selectedSidebarPanel @ Sidebar.js:​146:​49
    _showNavigationSidebarPanelForTabContentView @ TabBrowser.js:​382:​32
    _tabBarItemSelected @ TabBrowser.js:​254:​58
    dispatch @ Object.js:​170:​30
    dispatchEventToListeners @ Object.js:​177:​17
    selectedTabBarItem @ LegacyTabBar.js:​386:​38
    _handleMouseDown @ LegacyTabBar.js:​623:​13
    _handleMouseDown @ [native code]​