Hi Gaspar,

Do you have a complete, minimal example and the relevant par of the server log so that we can investigate this.

Ideally, a git issue -- https://github.com/apache/jena/issues

    Andy

On 06/02/2026 12:10, Gaspar Bartalus wrote:
Hello,

After upgrading to fuseki v6 we are receiving the error for certain SPARQL
queries:

    org.apache.jena.query.QueryExecException:
org.apache.jena.sparql.ARQInternalErrorException: Peek iterator is already
empty

Any hints maybe what could be the cause?

Thanks,
Gaspar

On Thu, Feb 5, 2026 at 12:29 PM Andy Seaborne <[email protected]> wrote:

Andrew,

Glad to see you've got it fixed.

Looks like you were using the deprecated constant
XMLLiteralType.theXMLLiteralType

Jena6 has been an opportunity to prune deprecations. There were a lot,
some going back a long time.

      Andy

On 04/02/2026 23:25, Andrii Berezovskyi via users wrote:
Thank you, Andy,

On 4 Feb 2026, at 23:23, Andy Seaborne <[email protected]> wrote:

It's there - there is a constant. The class is private and has been
since 2024-09

s/private/public/


   XMLLiteralType.rdfXMLLiteral

better accessed as

   RDF.dtXMLLiteral

Thank you, RDF.dtXMLLiteral worked perfectly!

Is this a 5.6.0->6.0.0 upgrade?

Yes.

Is is some aspect of XMLLiteralType?

Our object-graph mapper has special handling of XML literals, we only
need RDF.dtXMLLiteral to obtain its URI.

Are you repackaging Jena in some way?

Not at all.

Best regards,
Andrew






Reply via email to