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?
    



---

Reply via email to