[
https://issues.jboss.org/browse/ISPN-10675?page=com.atlassian.jira.plugin...
]
Tristan Tarrant updated ISPN-10675:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Query tests don't execute in Intellij due to NoClassDefFoundError
org/antlr/runtime/tree/TreeNodeStream
-------------------------------------------------------------------------------------------------------
Key: ISPN-10675
URL:
https://issues.jboss.org/browse/ISPN-10675
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Query
Affects Versions: 10.0.0.CR2
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Priority: Major
Fix For: 10.0.0.CR3
Not reproducible with maven.
{code:java}
org.infinispan.commons.CacheException: java.lang.NoClassDefFoundError:
org/antlr/runtime/tree/TreeNodeStream
at
org.infinispan.interceptors.impl.InvocationContextInterceptor.rethrowException(InvocationContextInterceptor.java:133)
at
org.infinispan.interceptors.impl.InvocationContextInterceptor.lambda$new$0(InvocationContextInterceptor.java:61)
at
org.infinispan.interceptors.InvocationExceptionFunction.apply(InvocationExceptionFunction.java:25)
at
org.infinispan.interceptors.impl.SimpleAsyncInvocationStage.addCallback(SimpleAsyncInvocationStage.java:70)
at
org.infinispan.interceptors.InvocationStage.andExceptionally(InvocationStage.java:66)
at
org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:133)
at
org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:89)
at
org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:244)
at
org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1835)
at org.infinispan.cache.impl.CacheImpl.computeIfAbsentInternal(CacheImpl.java:370)
at org.infinispan.cache.impl.CacheImpl.computeIfAbsent(CacheImpl.java:360)
at org.infinispan.cache.impl.CacheImpl.computeIfAbsent(CacheImpl.java:340)
at
org.infinispan.cache.impl.AbstractDelegatingCache.computeIfAbsent(AbstractDelegatingCache.java:424)
at org.infinispan.cache.impl.EncoderCache.computeIfAbsent(EncoderCache.java:655)
at org.infinispan.Cache.computeIfAbsent(Cache.java:388)
at org.infinispan.query.dsl.embedded.impl.QueryCache.get(QueryCache.java:73)
at org.infinispan.query.dsl.embedded.impl.QueryEngine.parse(QueryEngine.java:695)
at
org.infinispan.query.dsl.embedded.impl.DelegatingQuery.<init>(DelegatingQuery.java:58)
at
org.infinispan.query.dsl.embedded.impl.EmbeddedQueryBuilder.build(EmbeddedQueryBuilder.java:32)
at org.infinispan.query.dsl.impl.BaseCondition.build(BaseCondition.java:198)
at
org.infinispan.query.dsl.embedded.QueryDslConditionsTest.testSampleDomainQuery22(QueryDslConditionsTest.java:1525)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at
org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
at
org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.privateRun(TestRunner.java:648)
at org.testng.TestRunner.run(TestRunner.java:505)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
at org.testng.SuiteRunner.run(SuiteRunner.java:364)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
at org.testng.TestNG.runSuites(TestNG.java:1049)
at org.testng.TestNG.run(TestNG.java:1017)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
Suppressed: org.infinispan.util.logging.TraceException
at
org.infinispan.interceptors.impl.SimpleAsyncInvocationStage.get(SimpleAsyncInvocationStage.java:41)
at
org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:246)
... 40 more
Caused by: java.lang.NoClassDefFoundError: org/antlr/runtime/tree/TreeNodeStream
at
org.infinispan.objectfilter.impl.syntax.parser.IckleParser.<clinit>(IckleParser.java:11)
at
org.infinispan.query.dsl.embedded.impl.QueryEngine.lambda$parse$1(QueryEngine.java:695)
at
org.infinispan.query.dsl.embedded.impl.QueryCache.lambda$get$ab3121d1$1(QueryCache.java:73)
at org.infinispan.cache.impl.FunctionMapper.apply(FunctionMapper.java:43)
at
org.infinispan.interceptors.impl.CallInterceptor.visitComputeIfAbsentCommand(CallInterceptor.java:412)
at
org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
at
org.infinispan.interceptors.impl.CallInterceptor.visitCommand(CallInterceptor.java:166)
at
org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:81)
at
org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:703)
at
org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitComputeIfAbsentCommand(EntryWrappingInterceptor.java:398)
at
org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
at
org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155)
at
org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308)
at
org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:70)
at
org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303)
at
org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitNonTxDataWriteCommand(AbstractLockingInterceptor.java:128)
at
org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataWriteCommand(NonTransactionalLockingInterceptor.java:40)
at
org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitComputeIfAbsentCommand(AbstractLockingInterceptor.java:97)
at
org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
at
org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59)
at
org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:215)
at
org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitComputeIfAbsentCommand(CacheMgmtInterceptor.java:209)
at
org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
at
org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59)
at
org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53)
at
org.infinispan.interceptors.DDAsyncInterceptor.visitComputeIfAbsentCommand(DDAsyncInterceptor.java:74)
at
org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
at
org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128)
... 42 more
Caused by: java.lang.ClassNotFoundException: org.antlr.runtime.tree.TreeNodeStream
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 70 more
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)