]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #1631
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 8 May 2008 13:29:24 +0000 (13:29 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 8 May 2008 13:29:24 +0000 (13:29 +0000)
svn changeset:4396/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/server/WebApplicationContext.java

index 79eae4b4848c0fff799cc666e3e8274c69faa9ac..65587890ab81986bf1b4713c0ae65e8de5bed89e 100644 (file)
@@ -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");