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

Error when checking for orphaned KBs #5092

Open
reckart opened this issue Oct 15, 2024 · 0 comments
Open

Error when checking for orphaned KBs #5092

reckart opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
🐛Bug Something isn't working Module: Knowledge Base
Milestone

Comments

@reckart
Copy link
Member

reckart commented Oct 15, 2024

Describe the bug
Error when checking for orphaned KBs.

To Reproduce
Not sure. Probably a legacy problem. I do not think we use the ForwardChainingRDFSInferencer at the moment.

Expected behavior
Should at least print which of the repositories is affected so the user may be directed to delete it.

Screenshots

2024-10-15 17:27:54 ERROR [SYSTEM] KnowledgeBaseServiceImpl - Unable to enumerate KB repositories. This may not be a critical issue, but it means that I cannot check if there are orphaned repositories. I will continue loading the application. Please try to fix the problem.
org.eclipse.rdf4j.repository.config.RepositoryConfigException: Unsupported Sail type: openrdf:ForwardChainingRDFSInferencer
        at org.eclipse.rdf4j.repository.sail.config.SailRepositoryConfig.lambda$parse$0(SailRepositoryConfig.java:106) ~[rdf4j-repository-sail-5.0.2.jar!/:5.0.2]
        at java.base/java.util.Optional.orElseThrow(Optional.java:403) ~[?:?]
        at org.eclipse.rdf4j.repository.sail.config.SailRepositoryConfig.lambda$parse$1(SailRepositoryConfig.java:105) ~[rdf4j-repository-sail-5.0.2.jar!/:5.0.2]
        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.2.jar!/:5.0.2]
        at org.eclipse.rdf4j.repository.config.AbstractRepositoryImplConfig.create(AbstractRepositoryImplConfig.java:122) ~[rdf4j-repository-api-5.0.2.jar!/:5.0.2]
        at org.eclipse.rdf4j.repository.config.RepositoryConfig.lambda$parse$2(RepositoryConfig.java:186) ~[rdf4j-repository-api-5.0.2.jar!/:5.0.2]
        at java.base/java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
        at org.eclipse.rdf4j.repository.config.RepositoryConfig.parse(RepositoryConfig.java:186) ~[rdf4j-repository-api-5.0.2.jar!/:5.0.2]
        at org.eclipse.rdf4j.repository.config.RepositoryConfig.create(RepositoryConfig.java:202) ~[rdf4j-repository-api-5.0.2.jar!/:5.0.2]
        at org.eclipse.rdf4j.repository.config.RepositoryConfigUtil.getRepositoryConfig(RepositoryConfigUtil.java:46) ~[rdf4j-repository-api-5.0.2.jar!/:5.0.2]
        at org.eclipse.rdf4j.repository.manager.LocalRepositoryManager.getRepositoryConfig(LocalRepositoryManager.java:278) ~[rdf4j-repository-manager-5.0.2.jar!/:5.0.2]
        at org.eclipse.rdf4j.repository.manager.LocalRepositoryManager.getRepositoryInfo(LocalRepositoryManager.java:306) ~[rdf4j-repository-manager-5.0.2.jar!/:5.0.2]
        at org.eclipse.rdf4j.repository.manager.LocalRepositoryManager.getAllRepositoryInfos(LocalRepositoryManager.java:335) ~[rdf4j-repository-manager-5.0.2.jar!/:5.0.2]
        at org.eclipse.rdf4j.repository.manager.LocalRepositoryManager.getAllRepositoryInfos(LocalRepositoryManager.java:65) ~[rdf4j-repository-manager-5.0.2.jar!/:5.0.2]
        at org.eclipse.rdf4j.repository.manager.RepositoryManager.getRepositoryIDs(RepositoryManager.java:225) ~[rdf4j-repository-manager-5.0.2.jar!/:5.0.2]
        at de.tudarmstadt.ukp.inception.kb.KnowledgeBaseServiceImpl.onContextRefreshed(KnowledgeBaseServiceImpl.java:244) [inception-kb-34.1.jar!/:?]
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
        at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:355) [spring-aop-6.1.12.jar!/:6.1.12]
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:716) [spring-aop-6.1.12.jar!/:6.1.12]
        at de.tudarmstadt.ukp.inception.kb.KnowledgeBaseServiceImpl$$SpringCGLIB$$0.onContextRefreshed(<generated>) [inception-kb-34.1.jar!/:?]
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
        at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
        at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:365) [spring-context-6.1.12.jar!/:6.1.12]
        at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:237) [spring-context-6.1.12.jar!/:6.1.12]
        at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:168) [spring-context-6.1.12.jar!/:6.1.12]
        at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:185) [spring-context-6.1.12.jar!/:6.1.12]
        at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:178) [spring-context-6.1.12.jar!/:6.1.12]
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:156) [spring-context-6.1.12.jar!/:6.1.12]
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:452) [spring-context-6.1.12.jar!/:6.1.12]
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:385) [spring-context-6.1.12.jar!/:6.1.12]
        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:993) [spring-context-6.1.12.jar!/:6.1.12]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:628) [spring-context-6.1.12.jar!/:6.1.12]
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) [spring-boot-3.3.2.jar!/:3.3.2]
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) [spring-boot-3.3.2.jar!/:3.3.2]
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) [spring-boot-3.3.2.jar!/:3.3.2]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) [spring-boot-3.3.2.jar!/:3.3.2]
        at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:149) [spring-boot-3.3.2.jar!/:3.3.2]
        at de.tudarmstadt.ukp.inception.INCEpTION.start(INCEpTION.java:185) [!/:?]
        at de.tudarmstadt.ukp.inception.INCEpTION.run(INCEpTION.java:143) [!/:?]
        at de.tudarmstadt.ukp.inception.INCEpTION.main(INCEpTION.java:197) [!/:?]
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
        at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
        at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91) [inception.jar:?]
        at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53) [inception.jar:?]
        at de.tudarmstadt.ukp.inception.bootloader.ExtensibleClasspathEnabledWarLauncher.main(ExtensibleClasspathEnabledWarLauncher.java:152) [inception.jar:?]

Please complete the following information:

  • Version and build ID: 34.1
@reckart reckart added 🐛Bug Something isn't working Module: Knowledge Base labels Oct 15, 2024
@reckart reckart added this to the 34.2 milestone Oct 15, 2024
@reckart reckart self-assigned this Oct 15, 2024
@reckart reckart added this to Kanban Oct 15, 2024
@github-project-automation github-project-automation bot moved this to 🔖 To do in Kanban Oct 15, 2024
@reckart reckart modified the milestones: 34.2, 34.3 Oct 29, 2024
@reckart reckart modified the milestones: 34.3, 34.4 Nov 12, 2024
@reckart reckart modified the milestones: 34.4, 34.5 Nov 26, 2024
@reckart reckart modified the milestones: 34.5, 34.6 Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Something isn't working Module: Knowledge Base
Projects
Status: 🔖 To do
Development

No branches or pull requests

1 participant