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

BackgroundTupleResult overrides final method close

    Details

      Description

      I think I have run into a bug using a basic tuple query and using version 2.7.3 of Sesame. While trying to execute a few basic tests, to query the triplestore, I get the following error:

      "class com.bigdata.rdf.sail.webapp.client.BackgroundTupleResult overrides final method close.()V"

      .

      Here is the fragment of a simple Unit test that triggers it,

      "IPreparedTupleQuery query;
      try {
      query = instance.getRemoteRepository().prepareTupleQuery(queryStr);
      query.evaluate();

      } catch (Exception ex) {
      Logger.getLogger(RemoteRepositoryClientTest.class.getName()).log(Level.SEVERE, null, ex);
      }"

      I have looked into what is causing this and found out that the class that BackgroundTupleResult extends. TupleQueryResultImpl , has changed with a new version of Sesame. In 2.6 the close method was explicitly declared in that class and was not final, while in 2.7 it inherits a final version of close() from the class info.aduna.iteration.CloseableIterationBase instead which is probably what is causing the problems.

      If I go back to version 2.6.10 of Sesame the error disappears.

        Activity

        Hide
        bryanthompson bryanthompson added a comment -

        Yes, Sesame 2.7 introduces some API issues. This is one that has already been identified. I will cross link this issue to BLZG-805 (migrate to openrdf 2.7).

        Show
        bryanthompson bryanthompson added a comment - Yes, Sesame 2.7 introduces some API issues. This is one that has already been identified. I will cross link this issue to BLZG-805 (migrate to openrdf 2.7).
        Hide
        bryanthompson bryanthompson added a comment -

        Assigning to MikeP. He has indicated that he will take on the 2.7 migration.

        Show
        bryanthompson bryanthompson added a comment - Assigning to MikeP. He has indicated that he will take on the 2.7 migration.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: