Subgraph Strategy with vertexProperties + project().by("field name") = crash

Running the following query:
g.withStrategies(new SubgraphStrategy(vertexProperties: constant(true))).V().project("example").by("example")
Results in a crash with obscure error:
org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The provided traverser does not map to a value: v[122908680][CacheVertex]->[PropertiesStep([example],property), TraversalFilterStep([ConstantStep(true)]), OrStep([[ClassFilterStep(VertexProperty)], [TraversalFilterStep([ConstantStep(true)])]]), PropertyValueStep][DefaultTraversal] parent[[CoalesceStep([value([PropertiesStep([example],property), TraversalFilterStep([ConstantStep(true)]), OrStep([[ClassFilterStep(VertexProperty)], [TraversalFilterStep([ConstantStep(true)])]]), PropertyValueStep]), (null)])]]

At the same time, running it with by(values("example")) finishes just fine. Why?
Was this page helpful?