Image asset URI returning null I have entries that contain a single graphic asset. I'm trying to use the graphic as a background image in my template. However, I'm unable to output the URI for the asset. I'm using entry.graphic.first().url but I get an error that the property is null. I'm using the dbug plugin to look at the properties and can see that the asset is being returned, however the URI property is null.

I am looping through entries and am unable to return the URI for any of the graphics. Any ideas?

Thanks!

EDIT: Sorry for the lack of code, guys! Below is my whole content block for the page so far.

&lt;div class="container archive"&gt;
  &lt;h1&gt;Video Archives&lt;/h1&gt;

  {% for entry in craft.entries.section('watch').order('seriesStart desc').type('series') %}
    {% set thumb = entry.graphic.first() %}
    &lt;div class="col-md-3 seriesthumb" style="background-image: url('{{thumb.url}}');"&gt;&lt;/div&gt;
  {% endfor %}

&lt;/div&gt;


Thanks for the help!
Through Pixel and Tonic's support email, I figured out what the issue was. It turns out one of my entries didn't have a thumbnail and that was why the image was null. Stupid user error! I thought I had checked to make sure everything was good but I guess not. Thanks for the help @BradBell.