| Summary: | [About] 2.0.2 regression: NPE opening About Dialog | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Christophe Elek <celek> |
| Component: | Releng | Assignee: | Sonia Dimitrov <sonia_dimitrov> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | P2 | CC: | daniel, dejan, gunnar |
| Version: | 2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
|
Description
Christophe Elek
The first two entries work, the other entries do not. Looking at the
feature.xml file I noted the following change:
old:
<license url="%licenseURL">
%license
</license>
new:
<license>
%license
</license>
When I put back the "old" code the URL's openned, no NPE.
Sending back to RELENG to determine why changes were made.
Have made the changes in all org.eclipse.platform*-feature projects in 2.0.2 stream. Have requested fix for org.eclipse.pde-feature/feature.xml from owner. also made changes in all org.eclipse.sdk*-feature projects and org.eclipse.team.extras-feature Fix verified in build M20021016. *** Bug 29044 has been marked as a duplicate of this bug. *** *** Bug 29032 has been marked as a duplicate of this bug. *** Mhm, might it be better to generate a LOG message that says the URL is missing instead of throwing a NPE, doesn't it? I know why the ' url="%licenseURL"' was gone in my case because I used the PDE feature.xml editor to change the license plain text content. When the PDE feature.xml editor generates the XML it removes the url attribute o the the <license> tag. This occurs using 2.1 M4. I suggest to reopen this bug or to create a new one to have it fixed in the PDE feature.xml editor and/or to generate at least a nicer log message. Whats your opinion? PDE should not remove the url attribute if it was present in the orinal file. If it does, it is a bug. Please open a separate bug report against PDE UI. done. see #29118 |