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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to