Commit 5b4ba06a authored by Marco Descher's avatar Marco Descher

[15349] Fix NPE in Provisioner#update

parent 8c69b382
Pipeline #10464 passed with stages
in 2 minutes and 22 seconds
......@@ -167,8 +167,7 @@ public class Provisioner implements IProvisioner {
ProvisioningSession session = new ProvisioningSession(agent);
List<IInstallableUnit> effectiveUpdates = -> ii.toUpdate).collect(Collectors.toList());
UpdateOperation updateOperation = new UpdateOperation(session, effectiveUpdates);
IStatus result = updateOperation.getResolutionResult();
IStatus result = updateOperation.resolveModal(monitor);
StatusUtil.logStatus("updateResolutionResult", log, result);
if (result.isOK()) {
ProvisioningJob job = updateOperation.getProvisioningJob(monitor);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment