Skip to content

Commit

Permalink
[551315] Register for an URI extension to start Oomph installer by
Browse files Browse the repository at this point in the history
clicking on an URI

Guard against a null installation when processing marketplace entries.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=551315
  • Loading branch information
merks committed Oct 16, 2019
1 parent ad7df6f commit e8ee6db
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -691,7 +691,8 @@ protected String getCorrespondParameterName(Requirement requirement)

protected void applyMarketPlaceListing(Set<Requirement> checkedRequirements)
{
SetupContext setupContext = SetupContext.create(setupWizard.getResourceSet(), setupWizard.getSetupContext().getInstallation().getProductVersion());
Installation installation = setupWizard.getSetupContext().getInstallation();
SetupContext setupContext = SetupContext.create(setupWizard.getResourceSet(), installation == null ? null : installation.getProductVersion());
Installation setupInstallation = setupContext.getInstallation();

applySetupTasks(setupInstallation, checkedRequirements);
Expand Down

0 comments on commit e8ee6db

Please sign in to comment.