Bug #26: Unit tests failed with new Groovy plugin
- Estimated Hours: 0
- State: Closed
- Assigned To:
lars.hoidahl
- Closed: Yes
Bug Details:
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.
Bug has no hours added
You do not have sufficient permissions to add hours to this bug.
You do not have sufficient permissions to comment
| Revision | Author | Commited | Message |
|---|---|---|---|
| 89 |
|
Fri 05 Feb, 2010 22:00:01 +0000 | Use old jdt plugin (without Groovy) for unit testing code generation. Fixes #26 |
State: New → Closed
Closed: No → Yes
View full history
Bug #26: Unit tests failed with new Groovy plugin
lars.hoidahl on Mon 25 Jan, 2010
The underlying error is:
java.lang.ClassNotFoundException: org.codehaus.jdt.groovy.integration.internal.GroovyLanguageSupport