Github user spmallette commented on the pull request:
https://github.com/apache/incubator-tinkerpop/commit/49e2b35aeca726e38cd3a7f7d9a9db8c2fef42f9#commitcomment-14332356
In
gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/GroovyGroupCountTest.groovy:
In
gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/GroovyGroupCountTest.groovy
on line 83:
note that the issue is with the return of a `next()`'d result - so actually
this:
```java
TraversalScriptHelper.compute("g.V.groupCount.by(bothE().count).next()", g)
```
@rjbriody indicated the traversal you have currently works fine.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---