Uncaught TypeError: Cannot read property 'tagName' of null
<p>We've been seeing this error in our web app the last couple of months:</p>

<pre><code>Uncaught TypeError: Cannot read property 'tagName' of null
</code></pre>

<p>First I noticed it was only happening on android phones with 4.0.X, no other OS or version.</p>

<p>To debug this I started by removing code and markup to try and find the culprit.<br>
I did this until I had completely emptied the document of everything and the problem is still there.</p>

<p>The only clue is the console line before:</p>

<pre><code>Reader :: Recognize :: INFO - Script is evaluating. recognizeArticle Start
</code></pre>

<p>Does anyone have any clue of why this is happening?<br>
The problem is we get notified on errors and we can't ignore this since it's happening on a random line and page every time.</p>

<hr>

<p>I can add that this happens on all our web apps.</p>

<hr>

<p>To clarify, this is not a problem with our web app, the problem is with android.<br>
I've removed ALL our code and markup and the problem is still there, android is doing something that causes this error.</p>

<p>The phone I've tested on was a galaxy S3.</p>

<hr>

<p>Since people don't seem to believe me when I say the source is empty:</p>

<pre><code>(develop✗) $ curl -v localhost:3000/us/app
* About to connect() to localhost port 3000 (#0)
*   Trying 127.0.0.1...
* connected
* Connected to localhost (127.0.0.1) port 3000 (#0)
&gt; GET /us/app HTTP/1.1
&gt; User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5
&gt; Host: localhost:3000
&gt; Accept: */*
&gt; 
&lt; HTTP/1.1 200 OK
&lt; Content-Type: text/html; charset=utf-8
&lt; X-UA-Compatible: IE=Edge
&lt; Cache-Control: no-cache
&lt; X-Request-Id: c7d96d6898017b5efa7659028008a8b8
&lt; X-Runtime: 0.011019
&lt; Vary: Accept-Encoding
&lt; Content-Length: 0
&lt; Connection: keep-alive
&lt; Server: thin 1.3.1 codename Triple Espresso
&lt; 
* Connection #0 to host localhost left intact
* Closing connection #0
</code></pre>
