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.
Summary: | Jackpot failed to process any rule on projects from ide cluster | ||
---|---|---|---|
Product: | contrib | Reporter: | Jan Becicka <jbecicka> |
Component: | Jackpot | Assignee: | issues@contrib <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jtulach |
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 78882 | ||
Attachments: |
messages.log
Query and Refactor Log output Different exception And new log |
Description
Jan Becicka
2006-07-03 12:28:08 UTC
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. |