diff --git a/src/client/decorators/SVGDecorator/Core/SVGDecorator.Connections.js b/src/client/decorators/SVGDecorator/Core/SVGDecorator.Connections.js
index <HASH>..<HASH> 100644
--- a/src/client/decorators/SVGDecorator/Core/SVGDecorator.Connections.js
+++ b/src/client/decorators/SVGDecorator/Core/SVGDecorator.Connections.js
@@ -27,7 +27,7 @@ define(['js/Widgets/DiagramDesigner/DiagramDesignerWidget.Constants'],
     };
 
     SVGDecoratorConnections.prototype._getCustomConnectionAreas = function (svgFile) {
-        var connAreas = this.svgCache[svgFile].customConnectionAreas,
+        var connAreas = this.svgCache[svgFile] ? this.svgCache[svgFile].customConnectionAreas : null,
             len = connAreas ? connAreas.length : 0,
             connA;
Fixes #<I> SVGDecorator blocked the UI if port svg was set.


Former-commit-id: 7d<I>b6d<I>be<I>de<I>ab5c<I>d<I>bb2fb<I>