From 3c2e81350f6ea3a66850a7692c89d60b6e277986 Mon Sep 17 00:00:00 2001
From: tcarver <tjc>
Date: Tue, 20 Nov 2012 12:33:23 +0000
Subject: [PATCH] catch SVG graphics exception

---
 uk/ac/sanger/artemis/components/EntryGroupDisplay.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/uk/ac/sanger/artemis/components/EntryGroupDisplay.java b/uk/ac/sanger/artemis/components/EntryGroupDisplay.java
index 02e02dc71..426b11bf8 100644
--- a/uk/ac/sanger/artemis/components/EntryGroupDisplay.java
+++ b/uk/ac/sanger/artemis/components/EntryGroupDisplay.java
@@ -109,7 +109,10 @@ public class EntryGroupDisplay extends JPanel
   protected void printComponent(Graphics g)
   {
     super.paintComponent(g);
-    super.printChildren(g);
+    try
+    {
+      super.printChildren(g);
+    }catch(Exception e){}
   }
 
   /**
-- 
GitLab