Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10008

ScriptingTest.testNonSupportedScript failures

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 9.4.9.Final, 10.0.0.Final
    • 9.4.8.Final, 10.0.0.Final
    • Test Suite
    • None

      Error Message

      The exception was thrown with the wrong message: expected ".Cannot find an appropriate script engine for script." but got "java.lang.Error: unimplemented"

      Stacktrace

      org.testng.TestException:
      The exception was thrown with the wrong message: expected ".Cannot find an appropriate script engine for script." but got "java.lang.Error: unimplemented"
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: org.infinispan.commons.CacheException: java.lang.Error: unimplemented
      at org.infinispan.interceptors.impl.InvocationContextInterceptor.rethrowException(InvocationContextInterceptor.java:134)
      at org.infinispan.interceptors.impl.InvocationContextInterceptor.lambda$new$0(InvocationContextInterceptor.java:62)
      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:55)
      at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128)
      at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90)
      at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:248)
      at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1918)
      at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1433)
      at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:2043)
      at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.put(AbstractDelegatingAdvancedCache.java:351)
      at org.infinispan.cache.impl.EncoderCache.put(EncoderCache.java:427)
      at org.infinispan.scripting.impl.ScriptingManagerImpl.addScript(ScriptingManagerImpl.java:135)
      at org.infinispan.scripting.ScriptingTest.testNonSupportedScript(ScriptingTest.java:204)
      at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
      ... 14 more
      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:250)
      ... 30 more
      Caused by: java.lang.Error: unimplemented
      at bsh.engine.BshScriptEngine.compile(BshScriptEngine.java:175)
      at bsh.engine.BshScriptEngine.compile(BshScriptEngine.java:154)
      at org.infinispan.scripting.impl.ScriptingManagerImpl.compileScript(ScriptingManagerImpl.java:117)
      at org.infinispan.scripting.impl.ScriptingInterceptor.visitPutKeyValueCommand(ScriptingInterceptor.java:32)
      at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:61)
      at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:54)
      at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53)
      at org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:59)
      at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:61)
      at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:123)
      ... 32 more
      ... Removed 21 stack frames

              ttarrant@redhat.com Tristan Tarrant
              ttarrant@redhat.com Tristan Tarrant
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: