-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get "java.util.NoSuchElementException" while reasoning #35
Comments
I'm using version 2.6.4-SNAPSHOT. However, the Pellet reasoner already has this bug. |
That's a reasonable expectation but the issue here is more subtle. There is a .next() on an empty iterator, and from the code I suspect there is an incorrect condition being checked:
I think the
|
Ah ok. So I guess it's a bug that can be easily fixed. |
In fact I spend some weekends on it. It is harder to fix because simple change around this create problems elsewhere. It may need a modern rewrite with less mutable structures. |
Hey.
I get a
NoSuchElementException
while reasoning. It appeared after I changed the datatype of a property fromxsd:decimal
toxsd:float
. It could be, that I made something wrong. Either way, I don't think that the reasoner should throw this exception and at least use atry{...}catch(Exception e){...}
construct.Best regards,
Christian
The text was updated successfully, but these errors were encountered: