Bug 196804 - Web Inspector: Uncaught Exception: null is not an object (evaluating 'this.selectedTreeElement.reveal')
Summary: Web Inspector: Uncaught Exception: null is not an object (evaluating 'this.se...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Devin Rousso
URL: https://webkit.org/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-04-10 20:09 PDT by Devin Rousso
Modified: 2019-04-15 10:31 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.73 KB, patch)
2019-04-10 20:15 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2019-04-10 20:09:52 PDT
-------
Inspected URL:        https://webkit.org/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko)
Dispatch Source:      Protocol Event

Protocol Event:
{"method":"Target.dispatchMessageFromTarget","params":{"targetId":"page-1","message":"{\"result\":{\"root\":{\"nodeId\":903,\"nodeType\":9,\"nodeName\":\"#document\",\"localName\":\"\",\"nodeValue\":\"\",\"childNodeCount\":2,\"children\":[{\"nodeId\":904,\"nodeType\":10,\"nodeName\":\"html\",\"localName\":\"\",\"nodeValue\":\"\",\"publicId\":\"\",\"systemId\":\"\"},{\"nodeId\":905,\"nodeType\":1,\"nodeName\":\"HTML\",\"localName\":\"html\",\"nodeValue\":\"\",\"childNodeCount\":2,\"children\":[{\…
Dispatch Source:      Protocol Command Response

Protocol Command Response:
{"result":{"root":{"nodeId":903,"nodeType":9,"nodeName":"#document","localName":"","nodeValue":"","childNodeCount":2,"children":[{"nodeId":904,"nodeType":10,"nodeName":"html","localName":"","nodeValue":"","publicId":"","systemId":""},{"nodeId":905,"nodeType":1,"nodeName":"HTML","localName":"html","nodeValue":"","childNodeCount":2,"children":[{"nodeId":906,"nodeType":1,"nodeName":"HEAD","localName":"head","nodeValue":"","childNodeCount":42,"attributes":[]},{"nodeId":907,"nodeType":1,"nodeName":"B…

Protocol Command Request:
{"id":522,"method":"DOM.getDocument"}

Uncaught Exceptions:
 - null is not an object (evaluating 'this.selectedTreeElement.reveal') (at DOMTreeOutline.js:201:33)
    update @ DOMTreeOutline.js:201:33
    rootDOMNode @ DOMTreeOutline.js:109:20
    _rootDOMNodeAvailable @ FrameDOMTreeContentView.js:65:28
    _rootDOMNodeAvailable @ [native code]
    dispatchCallbacks @ DOMTree.js:179:52
    mainDocumentAvailable @ DOMTree.js:169:35
    mainDocumentAvailable @ [native code]
    ? @ DOMManager.js:115:25
    _dispatchResponseToCallback @ Connection.js:148:27
    _dispatchResponse @ Connection.js:118:45
    dispatch @ Connection.js:70:35
    dispatchMessageFromTarget @ TargetManager.js:101:35
    dispatchMessageFromTarget @ TargetObserver.js:42:51
    dispatchEvent @ InspectorBackend.js:340:42
    _dispatchEvent @ Connection.js:195:32
    dispatch @ Connection.js:72:32
    dispatch @ InspectorBackend.js:178:52
    dispatchNextQueuedMessageFromBackend @ MessageDispatcher.js:42:34

Additional Details:
    cause --> An uncaught exception was thrown while dispatching response callback for comman
Comment 1 Radar WebKit Bug Importer 2019-04-10 20:10:18 PDT
<rdar://problem/49800708>
Comment 2 Devin Rousso 2019-04-10 20:15:00 PDT
Created attachment 367194 [details]
Patch
Comment 3 WebKit Commit Bot 2019-04-15 10:31:52 PDT
Comment on attachment 367194 [details]
Patch

Clearing flags on attachment: 367194

Committed r244271: <https://trac.webkit.org/changeset/244271>
Comment 4 WebKit Commit Bot 2019-04-15 10:31:54 PDT
All reviewed patches have been landed.  Closing bug.