Hello,

I've just tried your patch and everything seems to work correctly. Thanks for such a quick response and fix!

--
Best regards,
Krzysztof Sielski
Poznan Supercomputing and Networking Center

W dniu 2012-07-25 17:34, Barry Bishop pisze:
Hello Krzysztof,

It is not at all clear how this one slipped through, but I can confirm that it is a bug when using the MINUS operator (in conjunction with a certain kind of optimisation).

We have made an emergency patch, which I will send to you in a separate email.

Sorry for the inconvenience,
barry


On 25/07/12 12:56, Krzysztof Sielski wrote:
Hello,

We tried to use Owlim SE 5.2 but StackOverflowError is now thrown for some SPARQL queries (it was OK for Owlim SE 5.1). Below is the simplified version of query that causes this problem (it seems to be independent of repository content):

select * where {
    {
        ?uri <uri:notExistingPredicate> ?object.
    } UNION {
        ?uri <uri:notExistingPredicate1> ?object2.
        MINUS { ?object2 a <uri:someType> } .
    }
}

Stacktrace:

java.lang.StackOverflowError
    com.ontotext.trree.query.l.if(Unknown Source)
    com.ontotext.trree.query.l.if(Unknown Source)
    com.ontotext.trree.query.l.if(Unknown Source)
    com.ontotext.trree.query.l.if(Unknown Source)
    com.ontotext.trree.query.l.if(Unknown Source)
    com.ontotext.trree.query.l.if(Unknown Source)
    com.ontotext.trree.query.l.if(Unknown Source)
    com.ontotext.trree.query.l.if(Unknown Source)
    com.ontotext.trree.query.l.if(Unknown Source)
    com.ontotext.trree.query.l.if(Unknown Source)
    com.ontotext.trree.query.l.if(Unknown Source)
    com.ontotext.trree.query.l.if(Unknown Source)
    [...]




_______________________________________________
Owlim-discussion mailing list
[email protected]
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion

Reply via email to