You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to create a new repository, I get an error that is ForwardChainingRDFSInferencerFactory not found:
2023-12-12 12:57:43 ERROR SailRegistry - Failed to instantiate service
java.util.ServiceConfigurationError: org.eclipse.rdf4j.sail.config.SailFactory: Provider org.eclipse.rdf4j.sail.inferencer.fc.config.ForwardChainingRDFSInferencerFactory not found
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593) ~[?:?]
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1219) ~[?:?]
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1228) ~[?:?]
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273) ~[?:?]
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309) ~[?:?]
at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393) ~[?:?]
at org.eclipse.rdf4j.common.lang.service.ServiceRegistry.<init>(ServiceRegistry.java:44) ~[rdf4j-common-io-5.0.0-M2.jar:5.0.0-M2]
at org.eclipse.rdf4j.sail.config.SailRegistry.<init>(SailRegistry.java:40) ~[rdf4j-sail-api-5.0.0-M2.jar:5.0.0-M2]
at org.eclipse.rdf4j.sail.config.SailRegistry$SailRegistryHolder.<clinit>(SailRegistry.java:27) ~[rdf4j-sail-api-5.0.0-M2.jar:5.0.0-M2]
at org.eclipse.rdf4j.sail.config.SailRegistry.getInstance(SailRegistry.java:36) ~[rdf4j-sail-api-5.0.0-M2.jar:5.0.0-M2]
at org.eclipse.rdf4j.repository.sail.config.SailRepositoryConfig.lambda$parse$1(SailRepositoryConfig.java:103) ~[rdf4j-repository-sail-5.0.0-M2.jar:5.0.0-M2]
at java.base/java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
at org.eclipse.rdf4j.repository.sail.config.SailRepositoryConfig.parse(SailRepositoryConfig.java:102) ~[rdf4j-repository-sail-5.0.0-M2.jar:5.0.0-M2]
at org.eclipse.rdf4j.repository.config.AbstractRepositoryImplConfig.create(AbstractRepositoryImplConfig.java:118) ~[rdf4j-repository-api-5.0.0-M2.jar:5.0.0-M2]
at org.eclipse.rdf4j.repository.config.RepositoryConfig.lambda$parse$2(RepositoryConfig.java:185) ~[rdf4j-repository-api-5.0.0-M2.jar:5.0.0-M2]
at java.base/java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
at org.eclipse.rdf4j.repository.config.RepositoryConfig.parse(RepositoryConfig.java:185) ~[rdf4j-repository-api-5.0.0-M2.jar:5.0.0-M2]
at org.eclipse.rdf4j.repository.config.RepositoryConfig.create(RepositoryConfig.java:201) ~[rdf4j-repository-api-5.0.0-M2.jar:5.0.0-M2]
at org.eclipse.rdf4j.repository.config.RepositoryConfigUtil.getRepositoryConfig(RepositoryConfigUtil.java:46) ~[rdf4j-repository-api-5.0.0-M2.jar:5.0.0-M2]
at org.eclipse.rdf4j.repository.manager.LocalRepositoryManager.getRepositoryConfig(LocalRepositoryManager.java:278) ~[rdf4j-repository-manager-5.0.0-M2.jar:5.0.0-M2]
at org.eclipse.rdf4j.repository.manager.LocalRepositoryManager.createRepository(LocalRepositoryManager.java:207) ~[rdf4j-repository-manager-5.0.0-M2.jar:5.0.0-M2]
at org.eclipse.rdf4j.repository.manager.RepositoryManager.getRepository(RepositoryManager.java:326) ~[rdf4j-repository-manager-5.0.0-M2.jar:5.0.0-M2]
However, it is referenced in a service loader configuration file located in a dependency that I use rdf4j-sail-inferencer-5.0.0-M2.jar.
It seems this class may have been removed in 5.0.0-M2 because I don't find it in rdf4j-sail-inferencer-5.0.0-M2.jar?
Current Behavior
When trying to create a new repository, I get an error that is
ForwardChainingRDFSInferencerFactory
not found:However, it is referenced in a service loader configuration file located in a dependency that I use
rdf4j-sail-inferencer-5.0.0-M2.jar
.It seems this class may have been removed in 5.0.0-M2 because I don't find it in
rdf4j-sail-inferencer-5.0.0-M2.jar
?It seems to have been in that module in the past according to code search: https://github.com/search?q=repo%3Aeclipse-rdf4j%2Frdf4j+ForwardChainingRDFSInferencerFactory&type=code
Expected Behavior
Service loaders should not reference non-existing factory classes or classes in other JARs.
Steps To Reproduce
No response
Version
5.0.0-M2
Are you interested in contributing a solution yourself?
None
Anything else?
No response
The text was updated successfully, but these errors were encountered: