fix for null pointer parsing

This commit is contained in:
Kai Boernert committed 2017-12-19 18:54:11 +01:00
1 parent c167eb2b97
commit dd430aa056
1 file changed
+2 -1
@@ -13,7 +13,8 @@ public class ExpeditionDataImportResponse extends AbstractDataImportResponse {
}
public final UUID getEventId() {
return UUID.fromString(getString("eventId"));
String eventId = getString("eventId");
return eventId == null ? null : UUID.fromString(eventId);
}
public final native String getLeaderboardGroupName() /*-{