--- a/tool/run/plugins/spdx/show.java
+++ b/tool/run/plugins/spdx/show.java
@@ -68,6 +68,21 @@
counterLicensesDeclared = 0
;
+ // no products found..
+ if(core.products.isEmpty()){
+ String result = ""
+ + html.div()
+ + html.br
+ + "It seems that no SPDX files were yet added."
+ + html.br
+ + html.br
+ + "Would you like to "
+ + html.link("create one", "/spdx/create")
+ + " right now?"
+ + html._div;
+ request.setAnswer(result);
+ return;
+ }
// get some statistical data
for(Object object : core.products){