diff --git a/src/main/java/dax/walker_engine/navigation_utils/Charter.java b/src/main/java/dax/walker_engine/navigation_utils/Charter.java index d0da122..1b3a659 100644 --- a/src/main/java/dax/walker_engine/navigation_utils/Charter.java +++ b/src/main/java/dax/walker_engine/navigation_utils/Charter.java @@ -62,8 +62,13 @@ private static HashMap getCharterLocations(){ && !rsInterface.isHidden()) .collect(Collectors.toList()) - .forEach(rsInterface -> locations.put( - LocationProperty.stringToLocation(rsInterface.getActions()[0]), new Location(rsInterface))); + .forEach(rsInterface -> { + String[] actions = rsInterface.getActions(); + if(actions == null || actions.length == 0) + return; + locations.put( + LocationProperty.stringToLocation(actions[0]), new Location(rsInterface)) + }); return locations; }