Community
Participate
Working Groups
Build Identifier: I20100129-1300 NPE occurs ~20% of time while running CategoryPublisher: java.lang.NullPointerException at org.eclipse.equinox.p2.publisher.Publisher.loadMetadataRepository(Publisher.java:82) at org.eclipse.equinox.p2.publisher.Publisher.createMetadataRepository(Publisher.java:47) at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.initializeRepositories(AbstractPublisherApplication.java:94) at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.initialize(AbstractPublisherApplication.java:80) at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:271) at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:249) at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.start(AbstractPublisherApplication.java:301) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26) at java.lang.Thread.run(Unknown Source) I will attach sample repositories, bat file to merge, and ant file to run categorypublisher. Reproducible: Sometimes Steps to Reproduce: 1.Create sample repos without category info (I attach two) 2.Run merge.bat to combine repos into one repo 3.Run Ant on build.xml to perform CategoryPublisher 4.Build fails about 20% of time due to NPE.
Created attachment 159927 [details] sample repos and build scripts This contains sample repos and build scripts demonstrating NPE during CategtoryPublisher.
Dup. *** This bug has been marked as a duplicate of bug 301262 ***