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

NotSerializableException for SPOAccessPath

    Details

      Description

      java.io.NotSerializableException in dawg-triple-pattern-003.

      The query is just a scan for

      (?a,?a,?b)
      

        Activity

        Hide
        bryanthompson bryanthompson added a comment -

        The SameVariableConstraint was being attached to the AccessPath by an inline TupleFilter subclass. This was causing the SPOAccessPath reference to be dragged in, which resulted in the not serializable exception.

        A top-level SameVariableConstraintTupleFilter class was created to replace the inline class. The AccessPath constructor was modified to use this top-level class and thus avoid dragging in the AccessPath instance when the filter is serialized.

        This issue was observed in the development branch (TERMS_REFACTOR_BRANCH). However, it seems likely that the same exception could appear in the 1.0.x release.

        The changes were applied to both the 1.0.x maintenance branch and the development branch.

        Committed revision r5234.

        Show
        bryanthompson bryanthompson added a comment - The SameVariableConstraint was being attached to the AccessPath by an inline TupleFilter subclass. This was causing the SPOAccessPath reference to be dragged in, which resulted in the not serializable exception. A top-level SameVariableConstraintTupleFilter class was created to replace the inline class. The AccessPath constructor was modified to use this top-level class and thus avoid dragging in the AccessPath instance when the filter is serialized. This issue was observed in the development branch (TERMS_REFACTOR_BRANCH). However, it seems likely that the same exception could appear in the 1.0.x release. The changes were applied to both the 1.0.x maintenance branch and the development branch. Committed revision r5234.
        Hide
        bryanthompson bryanthompson added a comment -

        Fix verified against the dev-branch.

        Show
        bryanthompson bryanthompson added a comment - Fix verified against the dev-branch.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: