Return-Path: Delivered-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Received: (qmail 31015 invoked from network); 22 Sep 2010 12:20:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Sep 2010 12:20:56 -0000 Received: (qmail 65465 invoked by uid 500); 22 Sep 2010 12:20:56 -0000 Delivered-To: apmail-incubator-clerezza-dev-archive@incubator.apache.org Received: (qmail 65407 invoked by uid 500); 22 Sep 2010 12:20:54 -0000 Mailing-List: contact clerezza-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: clerezza-dev@incubator.apache.org Delivered-To: mailing list clerezza-dev@incubator.apache.org Received: (qmail 65392 invoked by uid 99); 22 Sep 2010 12:20:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 12:20:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 12:20:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8MCKWfe008218 for ; Wed, 22 Sep 2010 12:20:33 GMT Message-ID: <6416174.340361285158032660.JavaMail.jira@thor> Date: Wed, 22 Sep 2010 08:20:32 -0400 (EDT) From: =?utf-8?Q?Reto_Bachmann-Gm=C3=BCr_=28JIRA=29?= To: clerezza-dev@incubator.apache.org Subject: [jira] Commented: (CLEREZZA-306) ConcurrentModificationException with org.apache.clerezza.rdf.scala.utils.CollectedIter In-Reply-To: <3680175.310871285052792569.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLEREZZA-306?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12= 913512#action_12913512 ]=20 Reto Bachmann-Gm=C3=BCr commented on CLEREZZA-306: --------------------------------------------- I coudn't yet reproduce the problem added 3 lines to testSlash so that it now is a follows: @Test =09def testSlash =3D { =09=09val rNode =3D new RichGraphNode(node) =09=09Assert.assertEquals(new PlainLiteralImpl("johny"), (rNode/FOAF.nick)(= 0).getNode) =09=09Assert.assertEquals(2, (rNode/FOAF.name).length(20)) =09=09Assert.assertEquals(2, (rNode/FOAF.name).length) =09=09val names: CollectedIter[RichGraphNode] =3D rNode/FOAF.name =09=09Assert.assertEquals(2, names.length) =09=09val stringNames =3D (for(name <- (rNode/FOAF.name).elements) yield { =09=09=09name.toString =09=09}).toList =09=09Assert.assertTrue(stringNames.contains("\"Johnathan Guller\"")) =09=09Assert.assertTrue(stringNames.contains("\"John\"")) =09} is your problem reproducible? do you have a concurrency situation? > ConcurrentModificationException with org.apache.clerezza.rdf.scala.utils.= CollectedIter > -------------------------------------------------------------------------= ------------- > > Key: CLEREZZA-306 > URL: https://issues.apache.org/jira/browse/CLEREZZA-306 > Project: Clerezza > Issue Type: Bug > Reporter: Reto Bachmann-Gm=C3=BCr > Assignee: Reto Bachmann-Gm=C3=BCr > > CollectedIter lazily exapnds an underlying iterator, if the mGraph from w= hich the iteartor originates from is modified a ConcurrentModificationExcep= tion occurs. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.