You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Claude Warren (JIRA)" <ji...@apache.org> on 2012/06/19 12:58:42 UTC

[jira] [Updated] (JENA-261) QueryIterService returns an empty solution on exception

     [ https://issues.apache.org/jira/browse/JENA-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claude Warren updated JENA-261:
-------------------------------

    Attachment: JENA-261_patch.txt

Patch file that changes the QueryIterSingleton to a QueryIterNullIterator
                
> QueryIterService returns an empty solution on exception
> -------------------------------------------------------
>
>                 Key: JENA-261
>                 URL: https://issues.apache.org/jira/browse/JENA-261
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: ARQ 2.9.0, ARQ 2.9.1
>            Reporter: Claude Warren
>         Attachments: JENA-261_patch.txt
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> in nextStage() when a RuntimeException is caught and the 'silent' parameter has been set, a QueryIterSingleton is created.  This results in an empty solution being returned. I think the proper action would be to return a QueryIterNullIterator so that the empty result is not returned.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira