Community
Participate
Working Groups
I ran a test build with the I20110126-1800 bundles this morning and saw the following error. The build is failing when trying to fetch the ecf bundles from the repository BUILD FAILED... /master-ecf/customTargets.xml:10: The following error occurred while executing this line: /builds/N201101270937/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.100.v20110121-1730/scripts/genericTargets.xml:59: The following error occurred while executing this line: /builds/N201101270937/src/fetch_master-ecf.xml:10: The following error occurred while executing this line: /builds/N201101270937/src/fetch_master-ecf.xml:27: The following error occurred while executing this line: /builds/N201101270937/src/fetch_master-ecf.xml:34: java.lang.NullPointerException Here is line 34 in /builds/N201101270937/src/fetch_master-ecf.xml <p2.repo2runnable source="http://archive.eclipse.org/rt/ecf/integration/platform/v2010-09-06_07-22-05" destination="${transformedRepoLocation}"> <iu id="org.eclipse.ecf" version="3.1.0.v20100906-1425"/> <iu id="org.eclipse.ecf.source" version="3.1.0.v20100906-1425"/> <iu id="org.eclipse.ecf.filetransfer" There is NPE here in the .log --- Nested Exception --- java.lang.NullPointerException at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadIndexFile(AbstractRepositoryManager.java:719) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:641) at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:100) at org.eclipse.equinox.p2.internal.repository.tools.AbstractApplication.addRepository(AbstractApplication.java:147) at org.eclipse.equinox.p2.internal.repository.tools.AbstractApplication.initializeRepos(AbstractApplication.java:116) at org.eclipse.equinox.p2.internal.repository.tools.tasks.Repo2RunnableTask.execute(Repo2RunnableTask.java:52) The build runs fine with 3.7M4 bundles against the same ECF repo.
According to the code, this means that the Transport service is not available. I believe this is registered by DS in the new org.eclipse.equinox.p2.transport.ecf bundle that Pascal added a few weeks ago. Does the configuration that you are running include this bundle?
ah...no, just added it and will try another build :-)
Okay, that was me. I should have started the osgi console and verified that bundle resolved before opening a bug. p2 is awesome, how could I doubt it?
Thanks, Kim. Tell your friends. Spread the love.