From: Matti Tahvonen Date: Thu, 8 May 2008 13:29:24 +0000 (+0000) Subject: fixes #1631 X-Git-Tag: 6.7.0.beta1~4796 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=994cdd0a70c9758a625e0519959154fd92cb0b48;p=vaadin-framework.git fixes #1631 svn changeset:4396/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/terminal/gwt/server/WebApplicationContext.java b/src/com/itmill/toolkit/terminal/gwt/server/WebApplicationContext.java index 79eae4b484..65587890ab 100644 --- a/src/com/itmill/toolkit/terminal/gwt/server/WebApplicationContext.java +++ b/src/com/itmill/toolkit/terminal/gwt/server/WebApplicationContext.java @@ -195,7 +195,7 @@ public class WebApplicationContext implements ApplicationContext, // If any runtime exceptions occurred, throw a combined exception if (exceptions != null) { final StringBuffer msg = new StringBuffer(); - for (final Iterator i = listeners.iterator(); i.hasNext();) { + for (final Iterator i = exceptions.iterator(); i.hasNext();) { final RuntimeException e = (RuntimeException) i.next(); if (msg.length() == 0) { msg.append("\n\n--------------------------\n\n");