From 5550627f87e5a74b9009820c929a4f27f9bea516 Mon Sep 17 00:00:00 2001
From: anttil <anttil>
Date: Wed, 3 Oct 2012 14:24:13 +0000
Subject: [PATCH] SWE-2 / SP-314 : Fix stale reference problem

SVN: 26975
---
 .../cisd/openbis/uitest/infra/webdriver/PageProxy.java         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ui-test/source/java/ch/systemsx/cisd/openbis/uitest/infra/webdriver/PageProxy.java b/ui-test/source/java/ch/systemsx/cisd/openbis/uitest/infra/webdriver/PageProxy.java
index 667d4fb6444..fe6071bf13e 100644
--- a/ui-test/source/java/ch/systemsx/cisd/openbis/uitest/infra/webdriver/PageProxy.java
+++ b/ui-test/source/java/ch/systemsx/cisd/openbis/uitest/infra/webdriver/PageProxy.java
@@ -64,7 +64,8 @@ public class PageProxy
                     {
                         if (e.getTargetException() instanceof StaleElementReferenceException)
                         {
-                            System.out.println("STALE REFERENCE - RELOADING " + self);
+                            System.out.println("STALE REFERENCE - RELOADING "
+                                    + self.getClass().getSimpleName());
                             init(clazz, (T) self);
                             return proceed.invoke(self, args);
                         } else
-- 
GitLab