tinkerpop/rexster — Issue #177: Intermittent PUT Errors
Author: espeed
Created: 2011-11-08 06:36:07+00:00
State: open

Here's the error that's output in the Rexster console...

```bash
[ERROR] VertexResource - java.util.ConcurrentModificationException
[ERROR] VertexResource - java.util.ConcurrentModificationException
```

An error occurs on every other request if you run the same PUT request in succession...

```bash
$ curl -H "Content-Type: application/json" -X PUT -d '{"age": 28, "name": "Julie"}' http://localhost:8182/graphs/tinkergraph/vertices/26
{"message":null,"error":null}

$ curl -H "Content-Type: application/json" -X PUT -d '{"age": 28, "name": "Julie"}' http://localhost:8182/graphs/tinkergraph/vertices/26
{"version":"0.7-SNAPSHOT","results":{"age":"28","name":"Julie","_id":"26","_type":"vertex"},"queryTime":0.474501}

$ curl -H "Content-Type: application/json" -X PUT -d '{"age": 28, "name": "Julie"}' http://localhost:8182/graphs/tinkergraph/vertices/26
{"message":null,"error":null}

$ curl -H "Content-Type: application/json" -X PUT -d '{"age": 28, "name": "Julie"}'
curl -H "Content-Type: applicat28, "name": "Julie"}' http://localhost:8182/graphs/tinkergraph/vertices/26
{"version":"0.7-SNAPSHOT","results":{"age":"28","name":"Julie","_id":"26","_type":"vertex"},"queryTime":0.476946}(

```