<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Bug #26: Unit tests failed with new Groovy plugin</title>
    <link>http://www.xp-dev.com/bug/14047</link>
    <description />
    <pubDate>Fri, 05 Feb 2010 22:00:01 GMT</pubDate>
    <dc:creator>lars.hoidahl</dc:creator>
    <dc:date>2010-02-05T22:00:01Z</dc:date>
    <item>
      <title>Bug #26: Unit tests failed with new Groovy plugin</title>
      <link>http://www.xp-dev.com/bug/14047</link>
      <description>&lt;p&gt;Lots of unit tests started to fail after I installed the new Groovy plugin.&lt;br/&gt;The problem is in ASTBuilder:&lt;br/&gt;  protected void analyzeCode(Document doc)&lt;br/&gt;  {&lt;br/&gt;     ASTParser parser = ASTParser.newParser(javaLevel);&lt;br/&gt;     parser.setSource(doc.get().toCharArray());&lt;br/&gt;     compilationUnit = (CompilationUnit) parser.createAST(null);&lt;br/&gt;     compilationUnit.recordModifications();&lt;br/&gt;     ast = compilationUnit.getAST();&lt;br/&gt;  }&lt;br/&gt;parser.createAST gives a NullPointerException. Perhaps because it calls JavaCore.getPlugin() to get a log object.&lt;/p&gt;</description>
      <pubDate>Fri, 05 Feb 2010 22:00:01 GMT</pubDate>
      <guid>http://www.xp-dev.com/bug/14047</guid>
      <dc:creator>lars.hoidahl</dc:creator>
      <dc:date>2010-02-05T22:00:01Z</dc:date>
    </item>
  </channel>
</rss>

