refs #7689
Change-Id: If7c4cad3b5ae238d90dd03e1d40f2aec2f597276
if (!graph.hasStatement(parameter))
return null;
- Variable componentVariable = Variables.getVariable(graph, parameter);
+ Variable componentVariable = Variables.getPossibleVariable(graph, parameter);
+ if (componentVariable == null) {
+ // Resource might be deleted already and therefore no URI available for variable building
+ return null;
+ }
Variable propertyVariable = componentVariable.getProperty(graph, parameter2);
Variable typeVariable = Variables.getVariable(graph, type);