Re: java.util.ConcurrentModificationException on app.addRepository
"Axel Zuzek" <[email protected]> Thu, 17 Jul 2008 14:44:08 +0200
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
--===============1353937822== Content-Type: multipart/alternative; boundary="----=_Part_53986_30239665.1216298648699" ------=_Part_53986_30239665.1216298648699 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2008/7/17 Axel Zuzek <[email protected]>: > 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 > update: it seems to be a race condition, because the occurrence of the error varies now between delicious and places widget > > ... > [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 <[email protected]>: > > ------=_Part_53986_30239665.1216298648699 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div dir="ltr"><br><br><div class="gmail_quote">2008/7/17 Axel Zuzek <<a href="mailto:[email protected]">[email protected]</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div dir="ltr">hi hannes,<br><br>your patch changed something, but didn't solve the problem (the error occours now (reproduceable) at a later repository dir, see logmessages below<br></div></blockquote><div><br>update: it seems to be a race condition, because the occurrence of the error varies now between delicious and places widget <br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr"><br>...<br>[2008/07/17 14:36:13] [INFO] START INFO load widgets [Application twoday_w1_s2]<br> [2008/07/17 14:36:13] [INFO] ---- adding repository C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\0_rss\code<br>[2008/07/17 14:36:13] [INFO] ---- adding repository C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\amazon\code<br> [2008/07/17 14:36:13] [INFO] ---- adding repository C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\archive\code<br>[2008/07/17 14:36:13] [INFO] ---- adding repository C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\credits\code<br> [2008/07/17 14:36:13] [INFO] ---- adding repository C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\delicious\code<br>[2008/07/17 14:36:13] [INFO] ---- adding repository C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\feeds\code<br> [2008/07/17 14:36:13] [INFO] ---- adding repository C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\flickr\code<br>[2008/07/17 14:36:13] [INFO] ---- adding repository C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\linkList\code<br> [2008/07/17 14:36:13] [ERROR] null: java.util.ConcurrentModificationException<div class="Ih2E3d"><br>java.util.ConcurrentModificationException<br> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)<br> at java.util.HashMap$ValueIterator.next(HashMap.java:821)<br> </div> at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010)<br> at helma.scripting.rhino.RhinoCore.updatePrototypes(RhinoCore.java:348)<div class="Ih2E3d"><br> at helma.scripting.rhino.RhinoEngine.enterContext(RhinoEngine.java:174)<br> at helma.framework.core.RequestEvaluator.run(RequestEvaluator.java:172)<br> at java.lang.Thread.run(Thread.java:619)<br></div>[2008/07/17 14:36:13] [INFO] ---- adding repository C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\meebo\code<br> [2008/07/17 14:36:13] [INFO] ---- adding repository C:\helma-1.6.2\apps\twoday_w1_1_1\core\widgets\plazes\code<br>...<br><br><div class="gmail_quote">2008/7/17 Hannes Wallnoefer <<a href="mailto:[email protected]" target="_blank">[email protected]</a>>:<div> <div></div><div class="Wj3C7c"><br></div></div></div></div></blockquote></div><br></div> ------=_Part_53986_30239665.1216298648699-- --===============1353937822== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Helma-user mailing list [email protected] http://helma.org/mailman/listinfo/helma-user --===============1353937822==--