You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by otaviojava <gi...@git.apache.org> on 2018/08/22 14:18:15 UTC
[GitHub] tinkerpop issue #919: String loop to String builder [tp32]
Github user otaviojava commented on the issue:
https://github.com/apache/tinkerpop/pull/919
@spmallette @robertdale When I changed the branch to tp32. When execute this code:
`return new ASTTransformationCustomizer(InterpreterMode.class);` It returns an NPE, I checked the code.
```java
private static CompilePhase findPhase(ASTTransformation transformation) {
if (transformation==null) throw new IllegalArgumentException("Provided transformation must not be null")
final Class<?> clazz = transformation.class//this line returns a NPE
final GroovyASTTransformation annotation = clazz.getAnnotation(GroovyASTTransformation)
if (annotation==null) throw new IllegalArgumentException("Provided ast transformation is not annotated with "+GroovyASTTransformation.name)
annotation.phase()
}
```
The file: ASTTransformationCustomizer.groovy
I did not change the code at this point.
Suggestions?
---