Date: 2012-07-25 12:56:01
From: sielski@man.poznan.pl
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)
[...]
-- 
Best regards,
Krzysztof Sielski

asked 03 Apr '13, 10:39

Discussion-Board-Archive's gravatar image

Discussion-B...
6.1k136156214
accept rate: 30%


Date: 2012-07-25 17:34:14
From: barry.bishop@ontotext.com
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
link

answered 03 Apr '13, 10:39

Discussion-Board-Archive's gravatar image

Discussion-B...
6.1k136156214
accept rate: 30%

Date: 2012-07-26 10:45:08
From: sielski@man.poznan.pl
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
link

answered 03 Apr '13, 10:39

Discussion-Board-Archive's gravatar image

Discussion-B...
6.1k136156214
accept rate: 30%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×261
×242
×38

Asked: 03 Apr '13, 10:39

Seen: 808 times

Last updated: 03 Apr '13, 10:39

powered by BitNami OSQA