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 insert taxonomy term to blazegraph #14

Open
kylehuynh205 opened this issue Sep 9, 2024 · 0 comments
Open

Error when insert taxonomy term to blazegraph #14

kylehuynh205 opened this issue Sep 9, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@kylehuynh205
Copy link
Contributor

kylehuynh205 commented Sep 9, 2024

Go to triplestore's queue https://islandora.traefik.me/admin/config/system/queues/jobs/triplestore and look at the log of terms being indexed:

INSERT-WITH-BODY: baseURI=http://islandora.traefik.me:8082/bigdata/namespace/islandora/sparql, Content-Type=application/ld+json, context-uri=[] java.util.concurrent.ExecutionException: java.lang.ClassCastException: class java.lang.String cannot be cast to class java.util.Map (java.lang.String and java.util.Map are in module java.base of loader 'bootstrap') at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) at 
java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) at 
com.bigdata.rdf.sail.webapp.BigdataServlet.submitApiTask(BigdataServlet.java:294) at
 com.bigdata.rdf.sail.webapp.InsertServlet.doPostWithBody(InsertServlet.java:206) at 
com.bigdata.rdf.sail.webapp.InsertServlet.doPost(InsertServlet.java:122) at 
com.bigdata.rdf.sail.webapp.RESTServlet.doPost(RESTServlet.java:308) at 
com.bigdata.rdf.sail.webapp.MultiTenancyServlet.doPost(MultiTenancyServlet.java:195) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:555) at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:761) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:388) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:936) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.ClassCastException: class java.lang.String cannot be cast to class java.util.Map (java.lang.String and java.util.Map are in module java.base of loader 'bootstrap') at com.github.jsonldjava.core.JsonLdApi.generateNodeMap(JsonLdApi.java:1013) at com.github.jsonldjava.core.JsonLdApi.generateNodeMap(JsonLdApi.java:1175) at com.github.jsonldjava.core.JsonLdApi.generateNodeMap(JsonLdApi.java:1007) at com.github.jsonldjava.core.JsonLdApi.generateNodeMap(JsonLdApi.java:1175) at com.github.jsonldjava.core.JsonLdApi.generateNodeMap(JsonLdApi.java:1007) at com.github.jsonldjava.core.JsonLdApi.generateNodeMap(JsonLdApi.java:992) at com.github.jsonldjava.core.JsonLdApi.toRDF(JsonLdApi.java:1976) at com.github.jsonldjava.core.JsonLdProcessor.toRDF(JsonLdProcessor.java:475) at com.github.jsonldjava.sesame.SesameJSONLDParser.parse(SesameJSONLDParser.java:65) at com.bigdata.rdf.sail.webapp.InsertServlet$InsertWithBodyTask.call(InsertServlet.java:308) at com.bigdata.rdf.sail.webapp.InsertServlet$InsertWithBodyTask.call(InsertServlet.java:229) at com.bigdata.rdf.task.ApiTaskForIndexManager.call(ApiTaskForIndexManager.java:68) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ... 1 more
image
@kylehuynh205 kylehuynh205 added the good first issue Good for newcomers label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant