java.util.ConcurrentModificationException after installing GWT 2.2

85 views
Skip to first unread message

tdk

unread,
Mar 9, 2011, 4:59:51 AM3/9/11
to Google Web Toolkit
After installing GWT 2.2.0 I keep getting the following error when
trying to start my app in Dev Mode:

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
Compiling 2 source files to C:\Development\IcsContinuity\Webinterface
\build\web\WEB-INF\classes
compile:
compile-jsps:
debug-connect-gwt-shell-hosted:
GWT4NB https://gwt4nb.dev.java.net
GWT installation directory: C:\opt\gwt\gwt-2.2.0
init:
debug-connect-gwt-shell-hosted-15:
init:
debug-connect-gwt-shell-hosted-16:
init:
debug-connect-gwt-shell-hosted-17:
init:
debug-connect-gwt-shell-hosted-20:
Waiting for the output from the GWT dev mode...
Waiting for the output from the GWT dev mode...
Waiting for the output from the GWT dev mode...
Browsing: http://127.0.0.1:8888/Portal.html?Obj=98895029.13@team128&Act=894.1256@0001?gwt.codesvr=127.0.0.1:9997
java.util.ConcurrentModificationException
java.util.ConcurrentModificationException
at java.util.LinkedHashMap
$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
at java.util.LinkedHashMap
$ValueIterator.next(LinkedHashMap.java:388)
at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:386)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:
1086)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:800)
at com.google.gwt.dev.DevMode.main(DevMode.java:304)
BUILD SUCCESSFUL (total time: 38 seconds)


I'm using NetBeans 6.9.1, GWT 2.2, SmartGWT 2.4, Firefox 3.6.15 on
Vista Business x64

Juan Pablo Gardella

unread,
Mar 9, 2011, 6:37:23 AM3/9/11
to google-we...@googlegroups.com
Is SmartGWT compatible with GWT 2.2? See http://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/3171958b76f90ddb

Juan

2011/3/9 tdk <klo...@ics.de>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


tdk

unread,
Mar 10, 2011, 2:59:36 AM3/10/11
to Google Web Toolkit
Juan,

On 9 Mrz., 12:37, Juan Pablo Gardella <gardellajuanpa...@gmail.com>
wrote:
> Is SmartGWT compatible with GWT 2.2? Seehttp://groups.google.com/group/google-web-toolkit-contributors/browse...

thanx for the link, good point!

But, alas, it doesn't apply for my case. I don't get any error as
listed and my app actually works with both versions.

The error in my OP appears only every now and then. I start my app in
Dev Mode and get the error, I restart it, say 3 or 4 times, with the
same error, and then, on the next restart it all of a sudden works
just fine.
Until now, I have not been able to figure out under which
circumstances/conditions it either works or doesn't.

Being a ConcurrentModificationException it points to a timing problem,
which could be caused by tons of things...

Flueras Bogdan

unread,
Mar 10, 2011, 11:11:18 AM3/10/11
to Google Web Toolkit
Hello,
Is this the whole stacktrace?
Are you sure it's not your code who modifies some map while iterating
over it?

tdk

unread,
Mar 14, 2011, 7:12:31 AM3/14/11
to Google Web Toolkit


On 10 Mrz., 17:11, Flueras Bogdan <flueras.bog...@gmail.com> wrote:
>
> Is this the whole stacktrace?
> Are you sure it's not your code who modifies some map while iterating
> over it?
yes, this is the whole stack trace.
yes, I'm sure I'm not modifing some map while iterating.
Reply all
Reply to author
Forward
0 new messages