[Helma-user] java.util.ConcurrentModificationException on app.addRepository
Axel Zuzek
axel.zuzek at knallgrau.at
Thu Jul 17 14:39:22 CEST 2008
hi hannes,
your patch changed something, but didn't solve the problem (the error
occours now (reproduceable) at a later repository dir, see logmessages below
...
[2008/07/17 14:36:13] [INFO] START INFO load widgets [Application
twoday_w1_s2]
[2008/07/17 14:36:13] [INFO] ---- adding repository
C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\0_rss\code
[2008/07/17 14:36:13] [INFO] ---- adding repository
C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\amazon\code
[2008/07/17 14:36:13] [INFO] ---- adding repository
C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\archive\code
[2008/07/17 14:36:13] [INFO] ---- adding repository
C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\credits\code
[2008/07/17 14:36:13] [INFO] ---- adding repository
C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\delicious\code
[2008/07/17 14:36:13] [INFO] ---- adding repository
C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\feeds\code
[2008/07/17 14:36:13] [INFO] ---- adding repository
C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\flickr\code
[2008/07/17 14:36:13] [INFO] ---- adding repository
C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\linkList\code
[2008/07/17 14:36:13] [ERROR] null:
java.util.ConcurrentModificationException
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at java.util.HashMap$ValueIterator.next(HashMap.java:821)
at
java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010)
at
helma.scripting.rhino.RhinoCore.updatePrototypes(RhinoCore.java:348)
at
helma.scripting.rhino.RhinoEngine.enterContext(RhinoEngine.java:174)
at
helma.framework.core.RequestEvaluator.run(RequestEvaluator.java:172)
at java.lang.Thread.run(Thread.java:619)
[2008/07/17 14:36:13] [INFO] ---- adding repository
C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\meebo\code
[2008/07/17 14:36:13] [INFO] ---- adding repository
C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\plazes\code
...
2008/7/17 Hannes Wallnoefer <hannes at helma.at>:
> I just committed more synchronization into the TypeManager class:
>
> http://dev.helma.org/trac/helma/changeset/9157
>
> this is quite experimental as I have only done minimal testing, but if
> it works, your problem should be fixed. Please tell me if it helps.
>
> hannes
>
> 2008/7/17 Axel Zuzek <axel.zuzek at knallgrau.at>:
> >
> >>
> >> > the error is reproduceable on some machines (windows, linux) under
> >> > helma1.6.0 and helma 1.6.2, java1.6.0_01 and java1.6.0_06. it seems to
> >> > be a
> >> > racing condition?
> >>
> >> Just to make sure: it happens each time or just sometimes?
> >> and always when the application starts up, or at different points in
> time?
> >>
> >> hannes
> >
> > It happens each time on the same machines (on other machines with same
> code,
> > helma and java setup (other hardware) it never happens)
> > we trigger modWidgetsLoadWidgets at onStart()
> >
> > lg axel
> >
> >
> > _______________________________________________
> > Helma-user mailing list
> > Helma-user at helma.org
> > http://helma.org/mailman/listinfo/helma-user
> >
> >
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
>
--
mit besten Grüßen
Dipl.-Ing. Axel Zuzek
Technischer Leiter
--------------------------------------
knallgrau new media solutions gmbh
pezzlgasse 7|1, A-1170 wien
mobile: +43 - 650 - 678 11 11
phone: +43 - 1 - 522 76 37 - 15
fax: +43 - 1 - 522 76 38
http://www.knallgrau.at
weitere News im Knallgrau Weblog: http://www.knallgrau.at/company/weblog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://helma.org/pipermail/helma-user/attachments/20080717/84a09db1/attachment-0001.html
More information about the Helma-user
mailing list