This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Todays NetBeans build, with fresh jackpot module from AU. JDK 1.6.0-beta2-b86, Widnows XP, -Xmx1024m I tried to remove ErrorManager from all modules within ide cluster. I opened all these modules and tried to run Jarda's rules (apisupport/jackpotrules). Unfortunately Jackpot failed with attached message. The problem is probably not in Jarda's rules, because I cannot run any rule on these projects.
Created attachment 31577 [details] messages.log
Created attachment 31584 [details] Query and Refactor Log output
This issue appears to be due to compilation errors in some of the ide module's test files. The test source editor\test\qa-functional\src\org\netbeans\test\editor\suites\abbrevs\data\testfiles\JavaAbbreviationsTest\Test.java should be renamed to have a different suffix, since it not valid Java source. I'm not blaming those source files, of course, but they cause Jackpot errors to surface. A bigger issue the Retouche team needs to decide is how Jackpot should handle projects which contain Java sources which don't compile. Currently Jackpot allows errors which works for queries, but transformations on ASTs with errors are likely to be incorrect. It would be easy to block transformation if any errors are found, but that can prevent use with projects that have test files which intentionally have errors. Some sort of file selection should be possible, so that these error-containing files can be excluded from a Jackpot query.
I renamed extension of editor\test\qa-functional\src\org\netbeans\test\editor\suites\abbrevs\data\testfiles\JavaAbbreviationsTest\Test.java and now I'm getting different exception.
Created attachment 31622 [details] Different exception
Created attachment 31623 [details] And new log
Fixed the exceptions from both logs, both due to poor ErroneousTree support.