Lots of unit tests started to fail after I installed the new Groovy plugin.
The problem is in ASTBuilder:
protected void analyzeCode(Document doc)
{
ASTParser parser = ASTParser.newParser(javaLevel);
parser.setSource(doc.get().toCharArray());
compilationUnit = (CompilationUnit) parser.createAST(null);
compilationUnit.recordModifications();
ast = compilationUnit.getAST();
}
parser.createAST gives a NullPointerException. Perhaps because it calls JavaCore.getPlugin() to get a log object.
| Estimated Hours | 0 | State | Closed |
|---|---|---|---|
| Assigned To |
|
Closed |
![]() |
Bug #26: Unit tests failed with new Groovy plugin
Bug and Comments #26: Unit tests failed with new Groovy plugin