You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by "Ostrzyciel (via GitHub)" <gi...@apache.org> on 2026/10/22 21:37:16 UTC

[I] rset command throws NPE in ResultsFormat.guessSyntax [jena]

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

   ### Version
   
   6.2.0
   
   ### What happened?
   
   `ResultsFormat.guessSyntax` calls `rsFmt.resultSetLang().equals(rsLang)`, but several ResultsFormat entries (e.g., TTL) return null from resultSetLang(). Any filename whose extension maps to a registered Lang that isn’t a built-in SPARQL format throws a NullPointerException.
   
   This happens with Turtle files (which is not very fascinating, I know), but also with Jelly-SPARQL (.jellys) files, when I register such a format with a Jena plugin.
   
   ### Relevant output and stacktrace
   
   ```shell
   
   ```
   
   ### Are you interested in making a pull request?
   
   Yes


-- 
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


Re: [I] rset command throws NPE in ResultsFormat.guessSyntax [jena]

Posted by "afs (via GitHub) via issues" <is...@jena.apache.org>.
afs closed issue #4349: rset command throws NPE in ResultsFormat.guessSyntax
URL: https://github.com/apache/jena/issues/4349


-- 
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