Community
Participate
Working Groups
eclipse.buildId=I20090217-2200 * I attempted to export and install plug-ins into the running host and got this NPE: java.lang.NullPointerException at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:173) at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:153) at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:94) at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:502) at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifacts(SimpleArtifactRepository.java:558) at org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch(DownloadManager.java:108) at org.eclipse.equinox.internal.p2.engine.DownloadManager.start(DownloadManager.java:96) at org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect.completePhase(Collect.java:72) at org.eclipse.equinox.internal.provisional.p2.engine.Phase.postPerform(Phase.java:162) at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:68) at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44) at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:51) at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:274) at org.eclipse.pde.internal.ui.build.RuntimeInstallJob.run(RuntimeInstallJob.java:154) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Created attachment 126076 [details] MirrorRequest Patch It looks like the cause of this problem was that we have an instance of MultiStatus which contains an Error substatus which does not have an Exception. This prevented us from finding the 'root' cause of the Status, this problem will prevent the NullPointerException from occurring. Unfortunately there may be another bug here as well, when I tested the fix exporting into the current host still failed because of the Error substatus: An error occurred while collecting items to be installed session context was:(profile=SDKProfile, phase=, operand=, action=). Problems downloading artifact: osgi.bundle,Aasdf,1.0.0. OK OK Error while processing stream. MD5 hash is not as expected. Expected: 44d8c961fbc409377d79d038a6fa3744 and found 6c4076dbdcfb1480e8bad939608aac60. OK OK
When I tried last week, I also got the MD5 checksum error.
I have released the patch. Thx. I have opened bug 265385 to track the MD5 issue.
*** Bug 265567 has been marked as a duplicate of this bug. ***
*** Bug 266445 has been marked as a duplicate of this bug. ***