fix NPE in requirements renderer
This commit is contained in:
parent
138a8cdb2d
commit
0188fcedd1
|
@ -174,7 +174,7 @@ public class RequirementsRenderer extends ResourceRenderer {
|
|||
}
|
||||
Resource r = context.getWorker().fetchResource(Resource.class, url, req);
|
||||
ResourceWithReference t = null;
|
||||
if (r == null) {
|
||||
if (r == null && context.getResolver() != null) {
|
||||
t = context.getResolver().resolve(context, url);
|
||||
}
|
||||
if (r != null) {
|
||||
|
|
Loading…
Reference in New Issue