You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by GitBox <gi...@apache.org> on 2022/06/22 04:48:21 UTC

[GitHub] [jena] Aklakan opened a new issue, #1393: [Bug] QueryExecutionAdapter.adapt returns null

Aklakan opened a new issue, #1393:
URL: https://github.com/apache/jena/issues/1393

   ### Version
   
   4.6.0-SNAPSHOT
   
   ### What happened?
   
   There is another bug in the Exec/Execution machinery that QueryExecAdapter.adapt returns null as shown in the example below.
   I keep this bug report separate from #1390  which is about adding to (rather fixing) infrastructure.
   
   ```java
       @Test
       public void testQueryExecAdapter() {
           try (QueryExecution qExec = QueryExecutionFactory.create("SELECT * { ?s ?p ?o }", DatasetFactory.empty())) {
               QueryExec qe  = QueryExecAdapter.adapt(qExec);
               Assert.assertNotNull(qe); // FAILS!
           }
       }
   ```
   
   QueryExecAdapter attempts to do certain things lazily; I can look into it but probably @afs knows better how to fix it w.r.t. what he had in mind :)
   
   
   ### Which environment is running?
   
   - [ ] macOS
   - [ ] Windows
   - [ ] Linux
   - [ ] other
   
   ### Relevant output and stacktrace
   
   _No response_
   
   ### Are you interested in making a pull request?
   
   Maybe


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


[GitHub] [jena] afs closed issue #1393: [Bug] QueryExecutionAdapter.adapt returns null

Posted by GitBox <gi...@apache.org>.
afs closed issue #1393: [Bug] QueryExecutionAdapter.adapt returns null
URL: https://github.com/apache/jena/issues/1393


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org