Navigation Menu

Skip to content
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

Class loading exception in Protege 5 and Windows 7 #27

Closed
GoogleCodeExporter opened this issue Oct 16, 2015 · 4 comments
Closed

Class loading exception in Protege 5 and Windows 7 #27

GoogleCodeExporter opened this issue Oct 16, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

There seems to be a problem using the Protege plugin with P5 on Win 7. An 
attempt to start the reasoner leads to the following:

Error logged
org.semanticweb.elk.util.concurrent.computation.ComputationRuntimeException: 
Uncaught exception in a worker thread:
        at org.semanticweb.elk.util.concurrent.computation.ComputationExecutor$W
orker.run(ComputationExecutor.java:188)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.InterruptedException
        at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findCla
ss(BundleWiringImpl.java:2102)
        at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDele
gation(BundleWiringImpl.java:1501)
        at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringIm
pl.java:75)
        at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadCla
ss(BundleWiringImpl.java:1955)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at org.semanticweb.elk.reasoner.saturation.properties.ReflexivePropertyC
omputationFactory.getEngine(ReflexivePropertyComputationFactory.java:61)
        at org.semanticweb.elk.reasoner.saturation.properties.ReflexivePropertyC
omputationFactory.getEngine(ReflexivePropertyComputationFactory.java:44)
        at org.semanticweb.elk.util.concurrent.computation.ConcurrentComputation
WithInputs$Worker.run(ConcurrentComputationWithInputs.java:151)
        at org.semanticweb.elk.util.concurrent.computation.ComputationExecutor$W
orker.run(ComputationExecutor.java:186)
        ... 3 more
Caused by: java.lang.InterruptedException
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:503)
        at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findCla
ss(BundleWiringImpl.java:2097)
        ... 11 more
Property Saturation Initialization started
Property Saturation Initialization using 8 workers
Property Saturation Initialization finished in 0 ms
Reflexive Property Computation started
Reflexive Property Computation using 8 workers
...

Original issue reported on code.google.com by pavel.kl...@gmail.com on 28 Jul 2014 at 2:51

@GoogleCodeExporter
Copy link
Author

A small follow-up: on the same system ELK 0.5 works fine with P4.3

Original comment by pavel.kl...@gmail.com on 28 Jul 2014 at 3:15

@GoogleCodeExporter
Copy link
Author

IIRC, the issue was caused by an unfortunate interaction between exceptions 
thrown out of Felix and the use of InterruptedExceptions in ELK. Must be fixed 
in master now.

Original comment by pavel.kl...@gmail.com on 7 Jan 2015 at 6:39

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

I wasn't the original reporter, but I had the same issue with P5build15 plus 
Elk 0.4.1

I can confirm this is fixed by using the nightly build of Elk (0.5 SNAPSHOT)

Original comment by cmung...@gmail.com on 7 Jan 2015 at 7:02

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision 9e61b9233a22.

Original comment by pavel.kl...@gmail.com on 28 Jan 2015 at 12:01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant