title: Titan Retrieving Vertex Properties
body: <p>I am creating a graph in a highly multithreaded environment and I am encountering a strange error. Whilst running I sometimes get an error that the property I am trying to access does not exist. </p>
  
  <pre><code>java.lang.IllegalStateException: The property does not exist as it has no key, value, or associated element
  </code></pre>
  
  <p>To try and figure this out I put a break point when that error occurred and found some strange behaviour.</p>
  
  <p>When I run :</p>
  
  <pre><code>Vertex vertex = graph.traversal().V(123).next();
  vertex.properties();
  </code></pre>
  
  <p>I see the list of all the properties I am expecting, for example <code>"PROP1"</code>, <code>"PROP2"</code>, and <code>"PROP3"</code>. However when I run the following:</p>
  
  <pre><code>vertex.property("PROP1").value();
  </code></pre>
  
  <p>I get an error that the property does not exist. Even more strange is that <code>vertex.property(xxx).value();</code> works for the other properties <code>"PROP2"</code> and <code>"PROP3"</code>. What can lead to this strange behaviour ?</p>