Community
Participate
Working Groups
Trying to install the Asciidoc editor into latest I-Build from the following update site results in an error: https://de-jcup.github.io/update-site-eclipse-asciidoctor-editor/update-site/ Worked fine in 4.22. An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). NullPointerException java.lang.NullPointerException
(In reply to Lars Vogel from comment #0) > An error occurred during the > org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. > session context was:(profile=SDKProfile, > phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, > action=). > NullPointerException > java.lang.NullPointerException Can you provide a stack trace please?
Stack trace: java.lang.NullPointerException at org.eclipse.equinox.internal.p2.engine.phases.CertificateChecker.checkCertificates(CertificateChecker.java:226) at org.eclipse.equinox.internal.p2.engine.phases.CertificateChecker.start(CertificateChecker.java:73) at org.eclipse.equinox.internal.p2.engine.phases.CheckTrust.completePhase(CheckTrust.java:63) at org.eclipse.equinox.internal.p2.engine.Phase.postPerform(Phase.java:254) at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:105) at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:50) at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:80) at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:48) at org.eclipse.equinox.p2.operations.ProvisioningSession.performProvisioningPlan(ProvisioningSession.java:181) at org.eclipse.equinox.p2.operations.ProfileModificationJob.runModal(ProfileModificationJob.java:76) at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:188) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Regression from bug 577193. "trustedKeys" is null because it only initialized if code is not signed. Obviously we have signed code only? I guess trustedKeys must be initialized to something useful if still is null after the big first "for" loop in org.eclipse.equinox.internal.p2.engine.phases.CertificateChecker.checkCertificates(SignedContentFactory)
New Gerrit change created: https://git.eclipse.org/r/c/equinox/rt.equinox.p2/+/188689
This should now be fixed.
Gerrit change https://git.eclipse.org/r/c/equinox/rt.equinox.p2/+/188689 was merged to [master]. Commit: http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=556f831a5bcb586a01761cb80b1efd51472ef48a
Thanks Mickael for the fast fix, verified in the latest I-build.