Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10763

Spotless flake (NullPointerException)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Triage Needed
    • Priority: P1
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: test-failures
    • Labels:

      Description

      https://ci-beam.apache.org/job/beam_PreCommit_Spotless_Commit/10940/

      16:03:39 > Task :beam-test-jenkins:spotlessGroovy FAILED
      16:03:39 Cannot format, probably due to compilation errors. Please fix and try again.
      16:03:39 java.lang.NullPointerException
      16:03:39 at java.util.TreeMap.deleteEntry(TreeMap.java:2342)
      16:03:39 at java.util.TreeMap.remove(TreeMap.java:608)
      16:03:39 at java.util.TreeSet.remove(TreeSet.java:276)
      16:03:39 at org.codehaus.groovy.transform.ASTTransformationVisitor.ensureGlobalTransformsAllowedInReconcileInitialized(ASTTransformationVisitor.java:393)
      16:03:39 at org.codehaus.groovy.transform.ASTTransformationVisitor.doAddGlobalTransforms(ASTTransformationVisitor.java:271)
      16:03:39 at org.codehaus.groovy.transform.ASTTransformationVisitor.addGlobalTransforms(ASTTransformationVisitor.java:265)
      16:03:39 at org.codehaus.groovy.transform.ASTTransformationVisitor.addPhaseOperations(ASTTransformationVisitor.java:229)
      16:03:39 at org.codehaus.groovy.control.CompilationUnit.addPhaseOperations(CompilationUnit.java:260)
      16:03:39 at org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:189)
      16:03:39 at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.lambda$0(GroovyParser.java:117)
      16:03:39 at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:165)
      16:03:39 at org.codehaus.groovy.eclipse.core.compiler.GroovySnippetParser.dietParse(GroovySnippetParser.java:103)
      16:03:39 at org.codehaus.groovy.eclipse.core.compiler.GroovySnippetParser.parse(GroovySnippetParser.java:63)
      16:03:39 at org.codehaus.groovy.eclipse.refactoring.core.utils.ASTTools.getASTNodeFromSource(ASTTools.java:207)
      16:03:39 at org.codehaus.groovy.eclipse.refactoring.formatter.DefaultGroovyFormatter.initCodebase(DefaultGroovyFormatter.java:106)
      16:03:39 at org.codehaus.groovy.eclipse.refactoring.formatter.DefaultGroovyFormatter.format(DefaultGroovyFormatter.java:119)
      16:03:39 at com.diffplug.spotless.extra.eclipse.groovy.GrEclipseFormatterStepImpl.format(GrEclipseFormatterStepImpl.java:77)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ibzib Kyle Weaver
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: