title: FreeMarker error with Iterable in <#list>
body: <p>In a FreeMarker template, I pass a variable to <code>&lt;#list&gt;</code>:</p>
  
  <pre><code>&lt;#list sectorTags as sector&gt;
       &lt;td colspan="${sector.designatedTags!?size}"&gt;${sector.name}&lt;/td&gt;
  &lt;#else&gt;
       &lt;td&gt;No technology sectors defined.&lt;/td&gt;
  &lt;/#list&gt;
  </code></pre>
  
  <p>However that fails:</p>
  
  <pre><code>06:25:03,733 SEVERE freemarker.core.NonSequenceOrCollectionException: Expected a sequence or collection, but this has evaluated to an extended_hash+string (com.tinkerpop.frames.structures.FramedVertexIterable wrapped into f.e.b.StringModel):
  ==&gt; sectorTags  [in template "reports/templates/techReport-punchCard.ftl" at line 105, column 32]
  ----
  FTL stack trace ("~" means nesting-related):
      - Failed at: #list-#else-container  [in template "reports/templates/techReport-punchCard.ftl" at line 105, column 25]
  ----
      at freemarker.core.IteratorBlock$IterationContext.executeNestedBlockInner(IteratorBlock.java:295)
  ...
  </code></pre>
  
  <p>What's going on?</p>
  
  <p>(I am covering this issue with a Q&amp;A if someone else ran into that - I haven't found it here)</p>