| Summary: | Opening/closing projects raises ResourceException in PhotranVPG#shouldProcessProject | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Jeffrey Overbey <com-eclipse-dot-org> |
| Component: | Photran.For Internal Use | Assignee: | Jeffrey Overbey <com-eclipse-dot-org> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 7.0 | ||
| Target Milestone: | 7.0.5 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Jeffrey Overbey
Looks like you might have a problem with the plugins in your workspace. Do you have any build errors? I think this invocation is resulting from Photran's dynamic Refactor menu, whose contents depend on the resources in the active selection. This method appears to be seeing the resource change after the project is closed, on e4 at least. Anyway, it makes sense to just return false in this scenario, rather than throw an error. I made this change in ptp_5_0 and master. |