[JBoss JIRA] (ISPN-3575) Can not create new cache with LIKE with deployed application inside EAP server
by Vitalii Chepeliuk (JIRA)
Vitalii Chepeliuk created ISPN-3575:
---------------------------------------
Summary: Can not create new cache with LIKE with deployed application inside EAP server
Key: ISPN-3575
URL: https://issues.jboss.org/browse/ISPN-3575
Project: Infinispan
Issue Type: Bug
Components: CLI
Affects Versions: 6.0.0.Beta1
Reporter: Vitalii Chepeliuk
Assignee: Mircea Markus
After deploying carmart-tx application on EAP server and running create command with like paramer, ISPN019016 error occurs
[remoting://localhost:9999/DefaultCacheManager/]> create newCache like carcache
ISPN019016: No such cache: 'carcache'
[remoting://localhost:9999/DefaultCacheManager/]> cache
___defaultcache carcache
[remoting://localhost:9999/DefaultCacheManager/]> cache carcache
[remoting://localhost:9999/DefaultCacheManager/carcache]> create newCache like carcache
ISPN019016: No such cache: 'carcache'
[remoting://localhost:9999/DefaultCacheManager/carcache]> create newCache like carcache
ISPN019016: No such cache: 'carcache'
[remoting://localhost:9999/DefaultCacheManager/carcache]> cache carcache
[remoting://localhost:9999/DefaultCacheManager/carcache]> get carnumbers
{"java.util.ArrayList":["FML 23-25","1P3 2632","1B2 1111","6T4 2526","2B2 4946"]}
[remoting://localhost:9999/DefaultCacheManager/carcache]> get "6T4+2526"
{"org.jboss.as.quickstarts.datagrid.carmart.model.Car":{"brand":"Mazda MX-5","displacement":1.8,"type":"CABRIO","color":"red","numberPlate":"6T4 2526","country":"USA"}}
[remoting://localhost:9999/DefaultCacheManager/carcache]> create newCache like carcache
ISPN019016: No such cache: 'carcache'
[remoting://localhost:9999/DefaultCacheManager/carcache]> cache newCache
ISPN019016: No such cache: 'newCache'
[remoting://localhost:9999/DefaultCacheManager/carcache]> cache
___defaultcache carcache
[remoting://localhost:9999/DefaultCacheManager/carcache]> cache ___defaultcache
[remoting://localhost:9999/DefaultCacheManager/___defaultcache]> cache
___defaultcache
[remoting://localhost:9999/DefaultCacheManager/___defaultcache]> create newCache like ___defaultcache
ISPN019016: No such cache: '___defaultcache'
-------------------------------------------------------------------------------------------------------
Here is stack trace from server
13:47:00,970 ERROR [org.infinispan.cli.interpreter.Interpreter] (pool-1-thread-1) ISPN019003: Interpreter error: java.lang.IllegalArgumentException: ISPN019016: No such cache: 'carcache'
at org.infinispan.cli.interpreter.session.SessionImpl.createCache(SessionImpl.java:93) [infinispan-cli-server-6.0.0.Beta1.jar:6.0.0.Beta1]
at org.infinispan.cli.interpreter.statement.CreateStatement.execute(CreateStatement.java:25) [infinispan-cli-server-6.0.0.Beta1.jar:6.0.0.Beta1]
at org.infinispan.cli.interpreter.Interpreter.execute(Interpreter.java:150) [infinispan-cli-server-6.0.0.Beta1.jar:6.0.0.Beta1]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]
at org.infinispan.jmx.ResourceDMBean.invoke(ResourceDMBean.java:271) [infinispan-core-6.0.0.Beta1.jar:6.0.0.Beta1]
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [rt.jar:1.7.0_25]
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [rt.jar:1.7.0_25]
at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:1475)
at org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:731)
at org.jboss.remotingjmx.protocol.v2.ServerProxy$InvokeHandler.handle(ServerProxy.java:952)
at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1$1.run(ServerCommon.java:153)
at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$2.run(ServerInterceptorFactory.java:100)
at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$2.run(ServerInterceptorFactory.java:96)
at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_25]
at javax.security.auth.Subject.doAs(Subject.java:415) [rt.jar:1.7.0_25]
at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor.handleEvent(ServerInterceptorFactory.java:96)
at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:149)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (ISPN-3321) NPE in MapReduceTask reduce phase
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-3321?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-3321:
-------------------------------
Priority: Critical (was: Major)
> NPE in MapReduceTask reduce phase
> ---------------------------------
>
> Key: ISPN-3321
> URL: https://issues.jboss.org/browse/ISPN-3321
> Project: Infinispan
> Issue Type: Bug
> Components: Distributed Execution and Map/Reduce
> Affects Versions: 5.3.0.Final
> Reporter: Alan Field
> Assignee: Dan Berindei
> Priority: Critical
> Labels: jdg62GAblocker
> Fix For: 6.0.0.CR1
>
>
> During the execution of a MapReduce word count job with 6 nodes, the following NPE is thrown:
> 11:19:37,870 ERROR [org.infinispan.remoting.InboundInvocationHandlerImpl] (remote-thread-2) Exception executing command
> java.lang.NullPointerException
> at org.infinispan.distexec.mapreduce.MapReduceManagerImpl.reduce(MapReduceManagerImpl.java:153)
> at org.infinispan.commands.read.ReduceCommand.perform(ReduceCommand.java:88)
> at org.infinispan.remoting.InboundInvocationHandlerImpl.handleInternal(InboundInvocationHandlerImpl.java:122)
> at org.infinispan.remoting.InboundInvocationHandlerImpl.access$000(InboundInvocationHandlerImpl.java:68)
> at org.infinispan.remoting.InboundInvocationHandlerImpl$2.run(InboundInvocationHandlerImpl.java:194)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
> The full log is here - https://jenkins.mw.lab.eng.bos.redhat.com/hudson/user/afield@REDHAT.COM/m...'s%20jobs/job/jdg-radargun-mapreduce-test/181/console-edg-perf06/
> Looking at the code to see if I can figure out what happened.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (ISPN-2050) Query is attempting to run a KeyTransformer on types which are not meant to be indexed
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-2050?page=com.atlassian.jira.plugin.... ]
Adrian Nistor commented on ISPN-2050:
-------------------------------------
And if you do not register a transformer for it:
{code}
2013-09-30 14:12:31,843 TRACE [AbstractCacheTransaction] (main) Transaction GlobalTransaction:<null>:1:local has completed, notifying listening threads.
2013-09-30 14:12:31,844 ERROR [InvocationContextInterceptor] (main) ISPN000136: Execution error
java.lang.IllegalArgumentException: Indexing only works with entries keyed on Strings, primitives and classes that have the @Transformable annotation - you passed in a class org.infinispan.query.backend.Dummy. Alternatively, see org.infinispan.query.SearchManager#registerKeyTransformer
at org.infinispan.query.backend.KeyTransformationHandler.keyToString(KeyTransformationHandler.java:164)
at org.infinispan.query.backend.QueryInterceptor.keyToString(QueryInterceptor.java:290)
at org.infinispan.query.backend.QueryInterceptor.updateIndexes(QueryInterceptor.java:220)
at org.infinispan.query.backend.QueryInterceptor.visitPutKeyValueCommand(QueryInterceptor.java:126)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:76)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitPutKeyValueCommand(OptimisticLockingInterceptor.java:139)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:76)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130)
at org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:61)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:76)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.infinispan.interceptors.TxInterceptor.enlistWriteAndInvokeNext(TxInterceptor.java:211)
at org.infinispan.interceptors.TxInterceptor.visitPutKeyValueCommand(TxInterceptor.java:149)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:76)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:130)
at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:89)
at org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:61)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:76)
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:345)
at org.infinispan.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:944)
at org.infinispan.CacheImpl.put(CacheImpl.java:657)
at org.infinispan.CacheImpl.put(CacheImpl.java:649)
at org.infinispan.CacheSupport.put(CacheSupport.java:52)
at org.infinispan.query.backend.NonIndexedEntityTest.testNonIndexedEntity(NonIndexedEntityTest.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:846)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1170)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.runWorkers(TestRunner.java:1147)
at org.testng.TestRunner.privateRun(TestRunner.java:749)
at org.testng.TestRunner.run(TestRunner.java:600)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:312)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:274)
at org.testng.SuiteRunner.run(SuiteRunner.java:223)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1039)
at org.testng.TestNG.runSuitesLocally(TestNG.java:964)
at org.testng.TestNG.run(TestNG.java:900)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:110)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:205)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:174)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
{code}
> Query is attempting to run a KeyTransformer on types which are not meant to be indexed
> --------------------------------------------------------------------------------------
>
> Key: ISPN-2050
> URL: https://issues.jboss.org/browse/ISPN-2050
> Project: Infinispan
> Issue Type: Bug
> Components: Querying
> Affects Versions: 5.1.3.FINAL
> Reporter: Sanne Grinovero
> Assignee: Adrian Nistor
> Labels: stable_embedded_query
> Fix For: 6.0.0.CR1
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months