<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font face="Helvetica, Arial, sans-serif">Hi OL-Devs,</font></p>
    <p>I have a setup with a VectorTile layer based on Mapbox Vector
      Tiles (created with GeoServer / Geowebcache). To save time at
      transferring the pbf-files to the target environment all empty
      pbf-files were deleted. This results in HTTP 404s (of course) when
      OpenLayers tries to load the missing tiles.<br>
      I expected that this won't bring any problems and that OL is just
      ignoring them. But unfortunately a JS-exception occurs if in the
      current map-exent is one of the missing tiles. <br>
      It seems that the "tileProjection" is undefined for the given
      "sourceTile", so the operation tileProjection.getUnits() fails,
      see here [1]. So it seems that the missing tile is not ignored in
      the code and due to the lack of information the rendering process
      fails.<br>
      If I add an emtpy pbf-file, so no HTTP 404 occurs anymore, the
      exception is gone. Even though no more information is provided
      (from my humble point of view).</p>
    <p>So here are some questions: Can someone confirm this behavior? Is
      this wanted behavior for some reasons? Or is this even a bug or an
      edge case?</p>
    <p>I am using OpenLayers v4.3.4.</p>
    <p>Thanks in advance for any hint / help / clarification.</p>
    <p>Cheers<br>
      Chris<br>
    </p>
    <p>[1]
<a class="moz-txt-link-freetext" href="https://github.com/openlayers/openlayers/blob/v4.3.4/src/ol/renderer/canvas/vectortilelayer.js#L139">https://github.com/openlayers/openlayers/blob/v4.3.4/src/ol/renderer/canvas/vectortilelayer.js#L139</a><br>
    </p>
  </body>
</html>