tinkerpop/rexster — Issue #180: Transactions via the Gremlin Extension
Author: espeed
Created: 2011-11-12 19:50:36+00:00
State: open

I'm getting a "Missing Method" exception when trying to execute a transaction via the Gremlin extension...

```bash
curl -H "Content-Type: application/json" -X POST -d '{"script":"g.setMaxBufferSize(0);g.startTransaction();g.V;tx.stopTransaction(TransactionalGraph.Conclusion.SUCCESS)"}' http://localhost:8182/graphs/tinkergraph/tp/gremlin
```
{"message":"","error":"javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: groovy.lang.MissingMethodException.setMaxBufferSize() is applicable for argument types: () values: []","api":{"description":"evaluate an ad-hoc Gremlin script for a graph.","parameters":{"rexster.returnKeys":"an array of element property keys to return (default is to return all element properties)","rexster.showTypes":"displays the properties of the elements with their native data type (default is false)","rexster.offset.end":"end index for a paged set of data to be returned","rexster.offset.start":"start index for a paged set of data to be returned","script":"the Gremlin script to be evaluated"}},"success":false}

See https://groups.google.com/d/topic/gremlin-users/r5pPMvHcEcY/discussion