| Summary: | No need to check for CNature or CCNature in PathEntryManager.getRawPathEntries() | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Santosh Mising name <santoshbmath> |
| Component: | cdt-core | Assignee: | Project Inbox <cdt-core-inbox> |
| Status: | NEW --- | QA Contact: | Jonah Graham <jonah> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Santosh Mising name
Can you give some context for this bug report? What user action triggers the exception? Can you attach the stack trace from .log? (In reply to comment #1) > Can you give some context for this bug report? What user action triggers the > exception? Can you attach the stack trace from .log? This is triggered when you call CProjectNature.removeCNature() to remove the cnature for the project. I am working on a product which extends CDT, in that i will add cnature to the project and sometimes it's required to remove the cnature from the project. So when i call removeCNature(), i get exception "Project does not contain valid configurations" The reason for exception is, in removeCNature(), cnature is removed from the project description first then setDescription() is called to set the new project description. But by this time, cnature will be remvoed from project. So when it comes to PathEntryManager.getRawPathEntries(), it checks for cnature and since its removed, it will throw CModelException. (In reply to comment #1) > Can you give some context for this bug report? What user action triggers the > exception? Can you attach the stack trace from .log? What's the status on this? Need more information? |