Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-423

Iterator not closed warning when application pulsl only one row and aggregating over the empty group

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 2.10.0
    • Jena 2.10.1
    • ARQ
    • None

    Description

      From : http://mail-archives.apache.org/mod_mbox/jena-users/201303.mbox/%3CCAD_aa-9YT%2BmZVD60oK%3DXWOiYLe9iXCfXmhuTQRRawOHS1B-4LA%40mail.gmail.com%3E

      Example:

      SELECT (count as ?n)

      { FILTER(false) }

      App code:

      ResultSet results = exec.execSelect();
      if (results.hasNext()) {
      QuerySolution solution = results.nextSolution();
      ...
      }
      exec.close()

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            andy Andy Seaborne
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment