<p dir="auto">The HeroDetailComponent (code not shown) presents facts about a particular hero, the hero that the user selects from the list presented by the the HeroListComponent. The HeroDetailComponent is a child of the the HeroListComponent.<br>
Search for the two 'the the' in the text.</p>
<p dir="auto">After upgrading to 2.2.0 ( and router 3.2.0) I am getting a runtime error on navigation with queryParams.</p>
<p dir="auto"><code class="notranslate">EXCEPTION: Cannot read property 'appendChild' of null</code></p>
<p dir="auto">The weird thing is that the error does not occur while in development mode, nor does the AoT compiler throw any error.</p>
<p dir="auto">Angular: 2.2.0<br>
Angular router: 3.2.0</p>
<p dir="auto">Example:</p>
<p dir="auto">router.navigate( [ 'home'], { queryParams: { test: 'test' }})</p>
<p dir="auto">Anyone got this error as well?</p>
<p dir="auto">Angular 2.1.2 works fine with precisely the same code.</p>
<p dir="auto">// Update<br>
So I tried only to update Angular to 2.2.0 and keep Angular-Router on 3.1.2, and the issue remains.</p>