Summary: | Getting "save failed: null" requester when saving a include file | ||
---|---|---|---|
Product: | [Tools] CDT | Reporter: | Sebastian Bauer <mail> |
Component: | cdt-core | Assignee: | Alain Magloire <alain> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | dave.daoust |
Version: | 2.0 | ||
Target Milestone: | 2.0.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Sebastian Bauer
2004-09-08 12:00:19 EDT
> I get a requester with the contents "Save failed: null" and the file is of
> course not saved.
Do you have write access to the file ?
Yes. I can save it using another texteditor. > Yes. I can save it using another texteditor.
Allright, lets double check the code.
Dave, this is a one liner fix. neglecting to check for null. if (resource == null) { } I would say to take the opportunity to fix this for 2.0.2 also. Risk --> is none advantages --> good. Fix in the head. Fix in the CDT_2_0 branch, if it makes for 2.0.2 cool if not it will be available for the ISV own distributions. |