summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/openslx/virtualization/configuration/VirtualizationConfiguration.java6
-rw-r--r--src/main/java/org/openslx/virtualization/virtualizer/VirtualizerVmware.java3
2 files changed, 7 insertions, 2 deletions
diff --git a/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfiguration.java b/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfiguration.java
index 165b80b..d3b0191 100644
--- a/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfiguration.java
+++ b/src/main/java/org/openslx/virtualization/configuration/VirtualizationConfiguration.java
@@ -150,7 +150,11 @@ public abstract class VirtualizationConfiguration
@Override
public boolean isActive()
{
- return getVirtualizerVersion().equals( version );
+ try {
+ return getVirtualizerVersion().equals( version );
+ } catch (NullPointerException e) {
+ return false;
+ }
}
@Override
diff --git a/src/main/java/org/openslx/virtualization/virtualizer/VirtualizerVmware.java b/src/main/java/org/openslx/virtualization/virtualizer/VirtualizerVmware.java
index 9fe31a5..e6255e8 100644
--- a/src/main/java/org/openslx/virtualization/virtualizer/VirtualizerVmware.java
+++ b/src/main/java/org/openslx/virtualization/virtualizer/VirtualizerVmware.java
@@ -46,7 +46,8 @@ public class VirtualizerVmware extends Virtualizer
new Version( Short.valueOf( "15" ), "Workstation/Player 15, Fusion 11" ),
new Version( Short.valueOf( "16" ), "Workstation/Player 15.1, Fusion 11.1" ),
new Version( Short.valueOf( "17" ), "Workstation/Player 16, Fusion 12" ),
- new Version( Short.valueOf( "18" ), "Workstation/Player 16.1, Fusion 12.1" ) ) );
+ new Version( Short.valueOf( "18" ), "Workstation/Player 16.1, Fusion 12.1" ),
+ new Version( Short.valueOf( "19" ), "Workstation/Player 16.2, Fusion 12.2" ) ) );
/**
* Creates a new VMware virtualizer.