| Summary: | parseSdkContent failed at startup: NullpointerException in ProjectDescription.hasPublicChanges() | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | public |
| Component: | Resources | Assignee: | Szymon Brandys <Szymon.Brandys> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | amj87.iitr |
| Version: | 3.8 | ||
| Target Milestone: | 3.8 M4 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
public
OK, I found out after a long search that the <name> tag got lost in the .project file of one of the projects. This probably happened when we moved and renamed the folder of our project on the subversion server. This name tag is required when creating a new project, but won't be checked for if the project got moved outside Eclipse? Isn't there a way that Eclipse will automatically validate these kind of files? Just like finding warnings/errors in code. Moving to Platform/Resource Adding a validator with errors/warnings is way too much. We just need to log it in the error log and maybe fall back to the empty string if the name is null. I just log the problem and do not fall back to the empty string. Fixed with http://git.eclipse.org/c/platform/eclipse.platform.resources.git/commit/?id=8a988a6bc8c326a87b95eb8899561221b910deef |