<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>145071</bug_id>
          
          <creation_ts>2015-05-15 14:08:07 -0700</creation_ts>
          <short_desc>Web Inspector: Uncaught exception in inspector page while handling event Console.messageAdded:  TypeError: null is not an object (evaluating &apos;sourceCodeLocation.sourceCode&apos;)</short_desc>
          <delta_ts>2015-05-21 19:49:28 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=144982</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Timothy Hatcher">timothy</reporter>
          <assigned_to name="Nikita Vasilyev">nvasilyev</assigned_to>
          <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>jonowells</cc>
    
    <cc>mattbaker</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1095237</commentid>
    <comment_count>0</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2015-05-15 14:08:07 -0700</bug_when>
    <thetext>Uncaught exception in inspector page while handling event Console.messageAdded:  TypeError: null is not an object (evaluating &apos;sourceCodeLocation.sourceCode&apos;)

CallFrameView@Views/CallFrameView.js:40:46
_appendLocationLink@Views/ConsoleMessageView.js:307:61
ConsoleMessageView@Views/ConsoleMessageView.js:85:33
appendConsoleMessage@Controllers/JavaScriptLogViewController.js:142:69
_messageAdded@Views/LogContentView.js:321:71
dispatch@Base/Object.js:124:55
dispatchEventToListeners@Base/Object.js:131:17
messageWasAdded@Controllers/LogManager.js:48:38
messageAdded@Protocol/ConsoleObserver.js:47:48
dispatchEvent@Protocol/InspectorBackend.js:353:42
_dispatchEvent@Protocol/InspectorBackend.js:233:32
dispatch@Protocol/InspectorBackend.js:88:32
dispatchNextQueuedMessageFromBackend@Protocol/MessageDispatcher.js:42:34

It also triggers:

Views/CallFrameView.js:30:23: CONSOLE ERROR
Base/Main.js:1782:19: CONSOLE ERROR</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1095238</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-05-15 14:08:29 -0700</bug_when>
    <thetext>&lt;rdar://problem/20980732&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1095239</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2015-05-15 14:08:43 -0700</bug_when>
    <thetext>I hit this opening the Inspector on cnn.com. I can&apos;t reproduce right now though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1095240</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-05-15 14:09:06 -0700</bug_when>
    <thetext>&lt;rdar://problem/20980743&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1095291</commentid>
    <comment_count>4</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2015-05-15 16:21:08 -0700</bug_when>
    <thetext>&gt; Console.messageAdded:  TypeError: null is not an object (evaluating &apos;sourceCodeLocation.sourceCode&apos;)

I&apos;ve seen this a couple of times, but the exact steps to reproduce the problem are still unclear to me. 

However, it should fixed with https://bugs.webkit.org/show_bug.cgi?id=144982 as I added  &quot;if (sourceCodeLocation)&quot; in WebInspector.CallFrameView.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1096759</commentid>
    <comment_count>5</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2015-05-21 19:49:28 -0700</bug_when>
    <thetext>Fixed with https://bugs.webkit.org/show_bug.cgi?id=144982.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>