Open todis21 opened 4 months ago
用下最新的tabby版本生成下新的csv
就是用最新的tabby 1.3.2
相同的问题:
java.lang.IllegalStateException: Failed to execute CommandLineRunner
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) ~[spring-boot-2.7.9.jar!/:2.7.9]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:752) ~[spring-boot-2.7.9.jar!/:2.7.9]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) ~[spring-boot-2.7.9.jar!/:2.7.9]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) ~[spring-boot-2.7.9.jar!/:2.7.9]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) ~[spring-boot-2.7.9.jar!/:2.7.9]
at tabby.vul.finder.App.main(App.java:46) ~[classes!/:0.0.1-SNAPSHOT]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[tabby-vul-finder.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) ~[tabby-vul-finder.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[tabby-vul-finder.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) ~[tabby-vul-finder.jar:0.0.1-SNAPSHOT]
Caused by: org.springframework.dao.InvalidDataAccessResourceUsageException: Failed to invoke procedure `apoc.periodic.iterate`: Caused by: java.io.IOException: (line 20) invalid char between encapsulated token and delimiter; Error code 'Neo.ClientError.Procedure.ProcedureCallFailed'; nested exception is org.neo4j.driver.exceptions.ClientException: Failed to invoke procedure `apoc.periodic.iterate`: Caused by: java.io.IOException: (line 20) invalid char between encapsulated token and delimiter
at org.springframework.data.neo4j.core.Neo4jPersistenceExceptionTranslator.translateImpl(Neo4jPersistenceExceptionTranslator.java:107) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.neo4j.core.Neo4jPersistenceExceptionTranslator.translateExceptionIfPossible(Neo4jPersistenceExceptionTranslator.java:91) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.neo4j.core.DefaultNeo4jClient.potentiallyConvertRuntimeException(DefaultNeo4jClient.java:233) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.neo4j.core.DefaultNeo4jClient.access$600(DefaultNeo4jClient.java:62) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.neo4j.core.DefaultNeo4jClient$DefaultRecordFetchSpec.one(DefaultNeo4jClient.java:461) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at java.base/java.util.Optional.flatMap(Optional.java:289) ~[na:na]
at org.springframework.data.neo4j.core.Neo4jTemplate$DefaultExecutableQuery.getSingleResult(Neo4jTemplate.java:1118) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.neo4j.repository.query.Neo4jQueryExecution$DefaultQueryExecution.execute(Neo4jQueryExecution.java:53) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.neo4j.repository.query.AbstractNeo4jQuery.execute(AbstractNeo4jQuery.java:94) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.repository.core.support.RepositoryMethodInvoker.doInvoke(RepositoryMethodInvoker.java:137) ~[spring-data-commons-2.7.8.jar!/:2.7.8]
at org.springframework.data.repository.core.support.RepositoryMethodInvoker.invoke(RepositoryMethodInvoker.java:121) ~[spring-data-commons-2.7.8.jar!/:2.7.8]
at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:160) ~[spring-data-commons-2.7.8.jar!/:2.7.8]
at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:139) ~[spring-data-commons-2.7.8.jar!/:2.7.8]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.25.jar!/:5.3.25]
at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:81) ~[spring-data-commons-2.7.8.jar!/:2.7.8]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.25.jar!/:5.3.25]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) ~[spring-tx-5.3.25.jar!/:5.3.25]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) ~[spring-tx-5.3.25.jar!/:5.3.25]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) ~[spring-tx-5.3.25.jar!/:5.3.25]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.25.jar!/:5.3.25]
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) ~[spring-tx-5.3.25.jar!/:5.3.25]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.25.jar!/:5.3.25]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.25.jar!/:5.3.25]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.25.jar!/:5.3.25]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) ~[spring-aop-5.3.25.jar!/:5.3.25]
at jdk.proxy2/jdk.proxy2.$Proxy54.loadClassRefFromCSV(Unknown Source) ~[na:na]
at tabby.vul.finder.dal.service.ClassService.importClassRef(ClassService.java:41) ~[classes!/:0.0.1-SNAPSHOT]
at tabby.vul.finder.core.Loader.load(Loader.java:30) ~[classes!/:0.0.1-SNAPSHOT]
at tabby.vul.finder.App.lambda$run$0(App.java:55) ~[classes!/:0.0.1-SNAPSHOT]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) ~[spring-boot-2.7.9.jar!/:2.7.9]
... 13 common frames omitted
Caused by: org.neo4j.driver.exceptions.ClientException: Failed to invoke procedure `apoc.periodic.iterate`: Caused by: java.io.IOException: (line 20) invalid char between encapsulated token and delimiter
at org.neo4j.driver.internal.util.Futures.blockingGet(Futures.java:111) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.InternalResult.blockingGet(InternalResult.java:107) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.InternalResult.hasNext(InternalResult.java:53) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.springframework.data.neo4j.core.DefaultNeo4jClient$DefaultRecordFetchSpec.one(DefaultNeo4jClient.java:455) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
... 38 common frames omitted
Suppressed: org.neo4j.driver.internal.util.ErrorUtil$InternalExceptionCause: null
at org.neo4j.driver.internal.util.ErrorUtil.newNeo4jError(ErrorUtil.java:76) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.async.inbound.InboundMessageDispatcher.handleFailureMessage(InboundMessageDispatcher.java:107) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.messaging.common.CommonMessageReader.unpackFailureMessage(CommonMessageReader.java:75) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.messaging.common.CommonMessageReader.read(CommonMessageReader.java:53) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.async.inbound.InboundMessageHandler.channelRead0(InboundMessageHandler.java:81) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.async.inbound.InboundMessageHandler.channelRead0(InboundMessageHandler.java:37) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.async.inbound.MessageDecoder.channelRead(MessageDecoder.java:42) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at java.base/java.lang.Thread.run(Thread.java:842) ~[na:na]
重新build一下哈,直接下release的版本不太行
重新build一下哈,直接下release的版本不太行
我的就是重新build的,还是一样报错
那得提供下csv文件来排查下,重新build tabby后,用vul-finder导入应该是没有问题的
解决了嘛,一样的报错😭
发布了tabby的新版本,下了之后重新生成csv文件,然后再用vul-finder来导入
还是一样的问题没解决
java.lang.IllegalStateException: Failed to execute CommandLineRunner
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) ~[spring-boot-2.7.9.jar!/:2.7.9]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:752) ~[spring-boot-2.7.9.jar!/:2.7.9]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) ~[spring-boot-2.7.9.jar!/:2.7.9]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) ~[spring-boot-2.7.9.jar!/:2.7.9]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) ~[spring-boot-2.7.9.jar!/:2.7.9]
at tabby.vul.finder.App.main(App.java:47) ~[classes!/:0.0.1-SNAPSHOT]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[tabby-vul-finder.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) ~[tabby-vul-finder.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[tabby-vul-finder.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) ~[tabby-vul-finder.jar:0.0.1-SNAPSHOT]
Caused by: org.springframework.dao.InvalidDataAccessResourceUsageException: Failed to invoke procedure `apoc.periodic.iterate`: Caused by: java.io.IOException: Cannot open file /var/lib/neo4j/import/GRAPHDB_PUBLIC_METHODS.csv for reading.; Error code 'Neo.ClientError.Procedure.ProcedureCallFailed'; nested exception is org.neo4j.driver.exceptions.ClientException: Failed to invoke procedure `apoc.periodic.iterate`: Caused by: java.io.IOException: Cannot open file /var/lib/neo4j/import/GRAPHDB_PUBLIC_METHODS.csv for reading.
at org.springframework.data.neo4j.core.Neo4jPersistenceExceptionTranslator.translateImpl(Neo4jPersistenceExceptionTranslator.java:107) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.neo4j.core.Neo4jPersistenceExceptionTranslator.translateExceptionIfPossible(Neo4jPersistenceExceptionTranslator.java:91) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.neo4j.core.DefaultNeo4jClient.potentiallyConvertRuntimeException(DefaultNeo4jClient.java:233) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.neo4j.core.DefaultNeo4jClient.access$600(DefaultNeo4jClient.java:62) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.neo4j.core.DefaultNeo4jClient$DefaultRecordFetchSpec.one(DefaultNeo4jClient.java:461) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at java.base/java.util.Optional.flatMap(Optional.java:289) ~[na:na]
at org.springframework.data.neo4j.core.Neo4jTemplate$DefaultExecutableQuery.getSingleResult(Neo4jTemplate.java:1118) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.neo4j.repository.query.Neo4jQueryExecution$DefaultQueryExecution.execute(Neo4jQueryExecution.java:53) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.neo4j.repository.query.AbstractNeo4jQuery.execute(AbstractNeo4jQuery.java:94) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
at org.springframework.data.repository.core.support.RepositoryMethodInvoker.doInvoke(RepositoryMethodInvoker.java:137) ~[spring-data-commons-2.7.8.jar!/:2.7.8]
at org.springframework.data.repository.core.support.RepositoryMethodInvoker.invoke(RepositoryMethodInvoker.java:121) ~[spring-data-commons-2.7.8.jar!/:2.7.8]
at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:160) ~[spring-data-commons-2.7.8.jar!/:2.7.8]
at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:139) ~[spring-data-commons-2.7.8.jar!/:2.7.8]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.25.jar!/:5.3.25]
at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:81) ~[spring-data-commons-2.7.8.jar!/:2.7.8]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.25.jar!/:5.3.25]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) ~[spring-tx-5.3.25.jar!/:5.3.25]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) ~[spring-tx-5.3.25.jar!/:5.3.25]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) ~[spring-tx-5.3.25.jar!/:5.3.25]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.25.jar!/:5.3.25]
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) ~[spring-tx-5.3.25.jar!/:5.3.25]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.25.jar!/:5.3.25]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-5.3.25.jar!/:5.3.25]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.25.jar!/:5.3.25]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) ~[spring-aop-5.3.25.jar!/:5.3.25]
at jdk.proxy2/jdk.proxy2.$Proxy56.loadMethodRefFromCSV(Unknown Source) ~[na:na]
at tabby.vul.finder.dal.service.MethodService.importMethodRef(MethodService.java:23) ~[classes!/:0.0.1-SNAPSHOT]
at tabby.vul.finder.core.Loader.load(Loader.java:29) ~[classes!/:0.0.1-SNAPSHOT]
at tabby.vul.finder.App.lambda$run$0(App.java:56) ~[classes!/:0.0.1-SNAPSHOT]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) ~[spring-boot-2.7.9.jar!/:2.7.9]
... 13 common frames omitted
Caused by: org.neo4j.driver.exceptions.ClientException: Failed to invoke procedure `apoc.periodic.iterate`: Caused by: java.io.IOException: Cannot open file /var/lib/neo4j/import/GRAPHDB_PUBLIC_METHODS.csv for reading.
at org.neo4j.driver.internal.util.Futures.blockingGet(Futures.java:111) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.InternalResult.blockingGet(InternalResult.java:107) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.InternalResult.hasNext(InternalResult.java:53) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.springframework.data.neo4j.core.DefaultNeo4jClient$DefaultRecordFetchSpec.one(DefaultNeo4jClient.java:455) ~[spring-data-neo4j-6.3.8.jar!/:6.3.8]
... 38 common frames omitted
Suppressed: org.neo4j.driver.internal.util.ErrorUtil$InternalExceptionCause: null
at org.neo4j.driver.internal.util.ErrorUtil.newNeo4jError(ErrorUtil.java:76) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.async.inbound.InboundMessageDispatcher.handleFailureMessage(InboundMessageDispatcher.java:107) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.messaging.common.CommonMessageReader.unpackFailureMessage(CommonMessageReader.java:75) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.messaging.common.CommonMessageReader.read(CommonMessageReader.java:53) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.async.inbound.InboundMessageHandler.channelRead0(InboundMessageHandler.java:81) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.async.inbound.InboundMessageHandler.channelRead0(InboundMessageHandler.java:37) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.async.inbound.MessageDecoder.channelRead(MessageDecoder.java:42) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at org.neo4j.driver.internal.shaded.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[neo4j-java-driver-4.4.11.jar!/:4.4.11-7d3fdc18543dae49c0c337b2885771b4f38a288d]
at java.base/java.lang.Thread.run(Thread.java:842) ~[na:na]```
@0v3rW4tch neo4j 没有读取的权限或者docker配置没配置好
我build的是JDK17.0.5,当load的时候报错了 报错内容如下: