Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-861

ConcurrentModificationException in ASTComplexOptionalOptimizer

    Details

      Description

      The presence of a named subquery can cause a ConcurrentModificationException in ASTComplexOptionalOptimizer.

      Caused by: java.util.ConcurrentModificationException: null
             at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) ~[na:1.6.0_45]
             at java.util.AbstractList$Itr.next(AbstractList.java:343) ~[na:1.6.0_45]
             at com.bigdata.bop.ModifiableBOpBase$NotifyingListIterator.next(ModifiableBOpBase.java:540) ~[bigdata-1.2.3.jar:na]
             at com.bigdata.rdf.sparql.ast.optimizers.ASTComplexOptionalOptimizer.optimize(ASTComplexOptionalOptimizer.java:168) ~[bigdata-1.2.3.jar:na]
             at com.bigdata.rdf.sparql.ast.optimizers.ASTOptimizerList.optimize(ASTOptimizerList.java:92) ~[bigdata-1.2.3.jar:na]
             at com.bigdata.rdf.sparql.ast.eval.AST2BOpUtility.convert(AST2BOpUtility.java:211) ~[bigdata-1.2.3.jar:na]
             at com.bigdata.rdf.sparql.ast.eval.ASTEvalHelper.evaluateGraphQuery(ASTEvalHelper.java:458) ~[bigdata-1.2.3.jar:na]
             at com.bigdata.rdf.sail.BigdataSailGraphQuery.evaluate(BigdataSailGraphQuery.java:115) ~[bigdata-1.2.3.jar:na]
             at com.bigdata.rdf.sail.BigdataSailGraphQuery.evaluate(BigdataSailGraphQuery.java:97) ~[bigdata-1.2.3.jar:na]
      

      This was originally fixed in r7216. The issue later appeared for another customer and is being incorporated in a patched release based on bigdata 1.2.3.

        Activity

        Hide
        bryanthompson bryanthompson added a comment -

        Bug fix for customer patch for final QA leading up to their release. This commit incorporates r7216 which is a bug fix for a ConcurrentModificationException in the ASTComplexOptionalOptimizer.

        I have applied that one bug fix to the 1.2.3 maintenance branch: branches/BIGDATA_RELEASE_1_2_3/. That branch r7185. Due to a goof in the release process, tags/BIGDATA_RELEASE_1_2_3/ is r7188. However, both r7185 and r7188 are for exactly the same SVN commit point, which is r7184.

        See https://sourceforge.net/apps/trac/bigdata/ticket/777 (ConcurrentModificationException in ASTComplexOptionalOptimizer)

        The head of branches/BIGDATA_RELEASE_1_2_3/ is at r7564 and is now in CI prior to tagging this as bigdata v1.2.4.

        Committed revision r7564 (against https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_2_3)

        Show
        bryanthompson bryanthompson added a comment - Bug fix for customer patch for final QA leading up to their release. This commit incorporates r7216 which is a bug fix for a ConcurrentModificationException in the ASTComplexOptionalOptimizer. I have applied that one bug fix to the 1.2.3 maintenance branch: branches/BIGDATA_RELEASE_1_2_3/. That branch r7185. Due to a goof in the release process, tags/BIGDATA_RELEASE_1_2_3/ is r7188. However, both r7185 and r7188 are for exactly the same SVN commit point, which is r7184. See https://sourceforge.net/apps/trac/bigdata/ticket/777 (ConcurrentModificationException in ASTComplexOptionalOptimizer) The head of branches/BIGDATA_RELEASE_1_2_3/ is at r7564 and is now in CI prior to tagging this as bigdata v1.2.4. Committed revision r7564 (against https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_2_3 )
        Hide
        bryanthompson bryanthompson added a comment -

        Tagging the 1.2.4 release for a customer. This release contains a single bug fix for ticket BLZG-861 (ConcurrentModificationException in ASTComplexOptionalOptimizer) over the 1.2.3 release.

        Committed revision r7564.


        - Adding the release notes to tags/BIGDATA_RELEASE_1_2_4.
        - Bumped the bigdata version number to 1.2.4.

        Committed revision r7568.

        Changing the maven POM to deploy the 1.2.4 artifact (bump version, removed -SNAPSHOT, and update the scp target for the recent site hosting change).

        Committed revision r7570.

        Show
        bryanthompson bryanthompson added a comment - Tagging the 1.2.4 release for a customer. This release contains a single bug fix for ticket BLZG-861 (ConcurrentModificationException in ASTComplexOptionalOptimizer) over the 1.2.3 release. Committed revision r7564. - Adding the release notes to tags/BIGDATA_RELEASE_1_2_4. - Bumped the bigdata version number to 1.2.4. Committed revision r7568. Changing the maven POM to deploy the 1.2.4 artifact (bump version, removed -SNAPSHOT, and update the scp target for the recent site hosting change). Committed revision r7570.

          People

          • Assignee:
            bryanthompson bryanthompson
            Reporter:
            bryanthompson bryanthompson
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: