1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Ticket #379 (closed defect: fixed)

Opened 21 months ago

Last modified 21 months ago

NotSerializableException for SPOAccessPath

Reported by: thompsonbry Owned by: thompsonbry
Priority: major Milestone: Query
Component: Bigdata Federation Version: TERMS_REFACTOR_BRANCH
Keywords: Cc:

Description

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

The query is just a scan for

(?a,?a,?b)

Change History

Changed 21 months ago by thompsonbry

  • status changed from new to accepted

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.

Changed 21 months ago by thompsonbry

  • status changed from accepted to closed
  • resolution set to fixed

Fix verified against the dev-branch.

Note: See TracTickets for help on using tickets.