You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2010/09/21 09:06:32 UTC
[jira] Created: (CLEREZZA-306) ConcurrentModificationException with
org.apache.clerezza.rdf.scala.utils.CollectedIter
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ür
Assignee: Reto Bachmann-Gmür
CollectedIter lazily exapnds an underlying iterator, if the mGraph from which the iteartor originates from is modified a ConcurrentModificationException occurs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CLEREZZA-306) ConcurrentModificationException
with org.apache.clerezza.rdf.scala.utils.CollectedIter
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913504#action_12913504 ]
Reto Bachmann-Gmür commented on CLEREZZA-306:
---------------------------------------------
this is really weird! one explanation would be that the explicit type setting of page forces dynamic conversion to something else than the simple call of "length", but I don't see any dynamic that applies.
> 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ür
> Assignee: Reto Bachmann-Gmür
>
> CollectedIter lazily exapnds an underlying iterator, if the mGraph from which the iteartor originates from is modified a ConcurrentModificationException occurs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CLEREZZA-306) ConcurrentModificationException
with org.apache.clerezza.rdf.scala.utils.CollectedIter
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913512#action_12913512 ]
Reto Bachmann-Gmür commented on CLEREZZA-306:
---------------------------------------------
I coudn't yet reproduce the problem
added 3 lines to testSlash so that it now is a follows:
@Test
def testSlash = {
val rNode = new RichGraphNode(node)
Assert.assertEquals(new PlainLiteralImpl("johny"), (rNode/FOAF.nick)(0).getNode)
Assert.assertEquals(2, (rNode/FOAF.name).length(20))
Assert.assertEquals(2, (rNode/FOAF.name).length)
val names: CollectedIter[RichGraphNode] = rNode/FOAF.name
Assert.assertEquals(2, names.length)
val stringNames = (for(name <- (rNode/FOAF.name).elements) yield {
name.toString
}).toList
Assert.assertTrue(stringNames.contains("\"Johnathan Guller\""))
Assert.assertTrue(stringNames.contains("\"John\""))
}
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ür
> Assignee: Reto Bachmann-Gmür
>
> CollectedIter lazily exapnds an underlying iterator, if the mGraph from which the iteartor originates from is modified a ConcurrentModificationException occurs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (CLEREZZA-306) ConcurrentModificationException with
org.apache.clerezza.rdf.scala.utils.CollectedIter
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reto Bachmann-Gmür closed CLEREZZA-306.
---------------------------------------
Resolution: Fixed
> 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ür
> Assignee: Reto Bachmann-Gmür
>
> CollectedIter lazily exapnds an underlying iterator, if the mGraph from which the iteartor originates from is modified a ConcurrentModificationException occurs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (CLEREZZA-306) ConcurrentModificationException
with org.apache.clerezza.rdf.scala.utils.CollectedIter
Posted by "Tsuyoshi Ito (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsuyoshi Ito reopened CLEREZZA-306:
-----------------------------------
the following is not working anymore:
A page is conntected to the current resource:
val page: CollectedIter[RichGraphNode] = res/publishing("page");
but page.length returns NOT 1 instead the length is greater than 1
(if I use ( res/publishing("page")).length the correct value is returned.
before that fix, the correct result was returned when using page.length
> 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ür
> Assignee: Reto Bachmann-Gmür
>
> CollectedIter lazily exapnds an underlying iterator, if the mGraph from which the iteartor originates from is modified a ConcurrentModificationException occurs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CLEREZZA-306) ConcurrentModificationException
with org.apache.clerezza.rdf.scala.utils.CollectedIter
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reto Bachmann-Gmür resolved CLEREZZA-306.
-----------------------------------------
Resolution: Fixed
> 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ür
> Assignee: Reto Bachmann-Gmür
>
> CollectedIter lazily exapnds an underlying iterator, if the mGraph from which the iteartor originates from is modified a ConcurrentModificationException occurs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.