Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367353

Summary: An invalid "plugin.xml" causes the automatic "Plug-in dependencies" library to remain silently empty
Product: [Eclipse Project] PDE Reporter: tiphaine.turpin
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug

Description tiphaine.turpin CLA 2011-12-21 11:35:22 EST
Build Identifier: M20100211-1343

I accidentally added an "extension" element inside another one in "plugin.xml" (instead of inside the "plugin" element"). The xml documents was well-formed, though. I only realized the error because the library named "Plug-in dependencies" (in the project configuration, under Java Build Path/Libraries) was not being populated.

Note: with a more recent version of Eclipse (3.7), I got a "stack empty" exception (and later a null pointer).

Conclusion: a torough checking of the plugin.xml would be welcome, to avoid to build on a corrupted basis.

Reproducible: Always

Steps to Reproduce:
1. Break the "plugin.xml" file of a plugin project as described above
2. Clear ~/.eclipse and ~/workspace
3. Import this project (File/Import/General/Existing into workspace)  
4. Open the project's Properties/Java Build Path/Libraries
5. Unfold "Plug-in dependencies" -> should be empty
Comment 1 Eclipse Genie CLA 2019-09-02 13:04:57 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.