diff --git a/qtquickdesigner-components b/qtquickdesigner-components
index 59721758afe9d7034ca76f1a19c3c5c97610ceaa..5f115ed120adb58972ac3a0a2b80ec42cf3769a1 160000
--- a/qtquickdesigner-components
+++ b/qtquickdesigner-components
@@ -1 +1 @@
-Subproject commit 59721758afe9d7034ca76f1a19c3c5c97610ceaa
+Subproject commit 5f115ed120adb58972ac3a0a2b80ec42cf3769a1
diff --git a/www/scripts/script.js b/www/scripts/script.js
index 4f3e9e6e40880890f4be3815fa78f6287a8ad061..21c438bdc1fb6dcae08d7d445c634853930dbc0f 100644
--- a/www/scripts/script.js
+++ b/www/scripts/script.js
@@ -118,7 +118,8 @@ function listExamples() {
     request.responseType = "json";
     request.onload = function (oEvent) {
         var json = request.response;
-        if (json.length > 0) {
+        // check if json is not null
+        if (json !== null && json.length > 0) {
             var projectsmenulist = document.querySelector("#projectsmenulist");
             for (project in json) {
                 var li = document.createElement("li");