-
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
ArrayIndexOutOfBoundsException for listStatements() in Inferred Model #33
Comments
There is no currently open issue for this kind of bug. |
Hello,
It doesn't happen with every ontology, so it may have something to do with the vocabulary used. Thanks in advance. |
So to show the bug we may use another strategy, we have small program that take an ontology that cause a crash/exception and search for a minimal set of axioms that produce the crash/exception; and it rename every entities in it. This program can be use the following way : git clone https://github.com/Galigator/openllet.git (it use maven compile then run) The program use a random strategy and all yours cpu to search a sub-ontology that create the crash. The program is 'any-time' (aka it can be stop any time with an ontology that is smaller that your original ontology, once it have check consistency at least one time); because it is random based, you can run it on many computer as you have. Even if you find a small ontology, right now I don't have time to spend on debuging, sorry. |
Hello! A hypothesis is that the problem is not in the ontology, but in the code. Look at the class
Explanation. Possibly I do not properly understand the algorithm so I give some explanations. Thank you! |
Nice catch ! 347d802 Thank you @DramaticallyDecayed |
Morning Galigator,
I'm using openllet 2.6.3 snapshot in my new Jena application and
InfModel.listStatements();
seems to work oddly.After creating and reading my ontology and inferring it, I'm a not able to list the statements. A simple request on a special unique statement works.
The error happens directly in Openllet so I ask you if you ever met such an issue.
Thx in advance,
GA
Here is the log of the Exception :
The text was updated successfully, but these errors were encountered: