DataFabricRus / scylla-rdf

An RDF store based on ScyllaDB and Eclipse RDF4J
MIT License
8 stars 1 forks source link

Failure while adding RDF #7

Closed DramaticallyDecayed closed 5 years ago

DramaticallyDecayed commented 5 years ago

Got the following error (console output) when tried to file through the "Add RDF" functionality:

com.datastax.driver.core.exceptions.InvalidQueryException: Key may not be empty scylla-rdf_1 ```scylla-rdf_1 | com.datastax.driver.core.exceptions.InvalidQueryException: Key may not be empty scylla-rdf_1 | at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:49) scylla-rdf_1 | at com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:35) scylla-rdf_1 | at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:293) scylla-rdf_1 | at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:58) scylla-rdf_1 | at cc.datafabric.scyllardf.dao.impl.ScyllaRDFIndexDAO.setNamespace(ScyllaRDFIndexDAO.kt:137) scylla-rdf_1 | at cc.datafabric.scyllardf.sail.ScyllaRDFSailConnection.setNamespaceInternal(ScyllaRDFSailConnection.kt:40) scylla-rdf_1 | at org.eclipse.rdf4j.sail.helpers.AbstractSailConnection.setNamespace(AbstractSailConnection.java:621) scylla-rdf_1 | at org.eclipse.rdf4j.repository.sail.SailRepositoryConnection.setNamespace(SailRepositoryConnection.java:354) scylla-rdf_1 | at org.eclipse.rdf4j.repository.util.RDFInserter.addNamespace(RDFInserter.java:54) scylla-rdf_1 | at org.eclipse.rdf4j.repository.util.AbstractRDFInserter.endRDF(AbstractRDFInserter.java:138) scylla-rdf_1 | at org.eclipse.rdf4j.rio.turtle.TurtleParser.parse(TurtleParser.java:186) scylla-rdf_1 | at org.eclipse.rdf4j.rio.turtle.TurtleParser.parse(TurtleParser.java:130) scylla-rdf_1 | at org.eclipse.rdf4j.repository.util.RDFLoader.loadInputStreamOrReader(RDFLoader.java:241) scylla-rdf_1 | at org.eclipse.rdf4j.repository.util.RDFLoader.load(RDFLoader.java:168) scylla-rdf_1 | at org.eclipse.rdf4j.repository.base.AbstractRepositoryConnection.add(AbstractRepositoryConnection.java:289) scylla-rdf_1 | at org.eclipse.rdf4j.http.server.repository.statements.StatementsController.getAddDataResult(StatementsController.java:398) scylla-rdf_1 | at org.eclipse.rdf4j.http.server.repository.statements.StatementsController.handleRequestInternal(StatementsController.java:117) scylla-rdf_1 | at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174) scylla-rdf_1 | at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50) scylla-rdf_1 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967) scylla-rdf_1 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901) scylla-rdf_1 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) scylla-rdf_1 | at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872) scylla-rdf_1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) scylla-rdf_1 | at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) scylla-rdf_1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) scylla-rdf_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) scylla-rdf_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) scylla-rdf_1 | at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) scylla-rdf_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) scylla-rdf_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) scylla-rdf_1 | at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) scylla-rdf_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) scylla-rdf_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) scylla-rdf_1 | at com.github.ziplet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:300) scylla-rdf_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) scylla-rdf_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) scylla-rdf_1 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) scylla-rdf_1 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) scylla-rdf_1 | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) scylla-rdf_1 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) scylla-rdf_1 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) scylla-rdf_1 | at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678) scylla-rdf_1 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) scylla-rdf_1 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) scylla-rdf_1 | at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) scylla-rdf_1 | at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) scylla-rdf_1 | at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:836) scylla-rdf_1 | at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1839) scylla-rdf_1 | at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) scylla-rdf_1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) scylla-rdf_1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) scylla-rdf_1 | at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) scylla-rdf_1 | at java.lang.Thread.run(Thread.java:748) scylla-rdf_1 | Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: Key may not be empty scylla-rdf_1 | at com.datastax.driver.core.Responses$Error.asException(Responses.java:181) scylla-rdf_1 | at com.datastax.driver.core.DefaultResultSetFuture.onSet(DefaultResultSetFuture.java:215) scylla-rdf_1 | at com.datastax.driver.core.RequestHandler.setFinalResult(RequestHandler.java:228) scylla-rdf_1 | at com.datastax.driver.core.RequestHandler.access$2600(RequestHandler.java:62) scylla-rdf_1 | at com.datastax.driver.core.RequestHandler$SpeculativeExecution.setFinalResult(RequestHandler.java:1005) scylla-rdf_1 | at com.datastax.driver.core.RequestHandler$SpeculativeExecution.onSet(RequestHandler.java:808) scylla-rdf_1 | at com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:1233) scylla-rdf_1 | at com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:1151) scylla-rdf_1 | at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) scylla-rdf_1 | at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) scylla-rdf_1 | at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) scylla-rdf_1 | at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) scylla-rdf_1 | at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) scylla-rdf_1 | at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) scylla-rdf_1 | at com.datastax.driver.core.InboundTrafficMeter.channelRead(InboundTrafficMeter.java:38) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) scylla-rdf_1 | at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) scylla-rdf_1 | at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) scylla-rdf_1 | at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965) scylla-rdf_1 | at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) scylla-rdf_1 | at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644) scylla-rdf_1 | at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:579) scylla-rdf_1 | at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:496) scylla-rdf_1 | at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458) scylla-rdf_1 | at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897) scylla-rdf_1 | at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) scylla-rdf_1 | ... 1 common frames omitted ```