Skip to content

Commit

Permalink
Fixed NPE in options processing
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Oct 21, 2015
1 parent 1581f14 commit 52e4044
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -1153,6 +1153,11 @@ private GetOperationOptions findLookupTableGetOption(Collection<SelectorOptions<
Collection<SelectorOptions<GetOperationOptions>> filtered = SelectorOptions.filterRetrieveOptions(options);
for (SelectorOptions<GetOperationOptions> option : filtered) {
ObjectSelector selector = option.getSelector();
if (selector == null) {
// Ignore this. These are top-level options. There will not
// apply to lookup table
continue;
}
ItemPath selected = selector.getPath();

if (tablePath.equivalent(selected)) {
Expand Down

0 comments on commit 52e4044

Please sign in to comment.