diff --git a/src/main/java/ui/TGComponent.java b/src/main/java/ui/TGComponent.java
index 393da7a6efa76617bbc5ae109f1dd2d1f22943b1..5576a0745fb8034b30154b440a38bcb95ee4396f 100755
--- a/src/main/java/ui/TGComponent.java
+++ b/src/main/java/ui/TGComponent.java
@@ -310,8 +310,11 @@ public abstract class TGComponent implements CDElement, GenericTree {
 
     public String getStatusInformation() {
 
-        if (this instanceof WithAttributes)
-            return ((WithAttributes)(this)).getAttributes().replaceAll("\n", " / ");
+        if (this instanceof WithAttributes) {
+            String tmp = ((WithAttributes) (this)).getAttributes();
+            if (tmp != null)
+                return tmp.replaceAll("\n", " / ");
+        }
 
         return " ";
     }