Community
Participate
Working Groups
org.eclipse.pde.internal.core.bundle.BundleModel#load iterates over a bundle's headers. In the iteration loop, it calls Bundle#setHeader, which if its value parameter is null or empty removes the key from the headers map. This causes a ConcurrentModificationException: java.util.ConcurrentModificationException at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1031) at java.util.TreeMap$EntryIterator.next(TreeMap.java:1052) at java.util.TreeMap$EntryIterator.next(TreeMap.java:1050) at org.eclipse.pde.internal.core.bundle.BundleModel.load(BundleModel.java:66) at org.eclipse.pde.internal.core.WorkspaceModelManager.loadModel(WorkspaceModelManager.java:247) at org.eclipse.pde.internal.core.WorkspacePluginModelManager.createModel(WorkspacePluginModelManager.java:65) at org.eclipse.pde.internal.core.WorkspaceModelManager.visit(WorkspaceModelManager.java:147) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68) ... This happens if you happen to have an empty section in a MANIFEST.MF. For example, I had: "Bundle-Vendor: " I think this is a regression from the previous milestone, since it worked for me in 3.6M5.
*** This bug has been marked as a duplicate of bug 305429 ***