[infinispan-issues] [JBoss JIRA] (ISPN-3869) Cannot put key with "like" value via CLI
Divya Mehra (JIRA)
issues at jboss.org
Thu Mar 6 13:49:33 EST 2014
[ https://issues.jboss.org/browse/ISPN-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Divya Mehra updated ISPN-3869:
------------------------------
Labels: 630 (was: )
> Cannot put key with "like" value via CLI
> ----------------------------------------
>
> Key: ISPN-3869
> URL: https://issues.jboss.org/browse/ISPN-3869
> Project: Infinispan
> Issue Type: Bug
> Components: CLI
> Affects Versions: 6.0.1.Final
> Reporter: Vitalii Chepeliuk
> Assignee: Mircea Markus
> Labels: 630
>
> Run following commands in CLI
> [remoting://localhost:9999/local/default]> put key1 like
> line 1:4 no viable alternative at input 'key1'
> line 1:9 mismatched input 'like' expecting set null
> [remoting://localhost:9999/local/default]> get key1
> null
> [remoting://localhost:9999/local/default]> put key1 like1
> [remoting://localhost:9999/local/default]> get key1
> like1
> [remoting://localhost:9999/local/default]> put key1 LIKE
> [remoting://localhost:9999/local/default]> get key1
> LIKE
> [remoting://localhost:9999/local/default]> put key1 Like
> [remoting://localhost:9999/local/default]> get key1
> Like
> --- Server log
> 10:33:42,290 ERROR [org.infinispan.cli.interpreter.Interpreter] (pool-1-thread-4) ISPN019003: Interpreter error: org.infinispan.cli.interpreter.ParseException: line 1:4 no viable alternative at input 'key1'
> line 1:9 mismatched input 'like' expecting set null
> at org.infinispan.cli.interpreter.Interpreter.execute(Interpreter.java:145) [infinispan-cli-server-6.0.1.Final-redhat-1.jar:6.0.1.Final-redhat-1]
> at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.7.0_45]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
> at org.infinispan.jmx.ResourceDMBean.invoke(ResourceDMBean.java:271) [infinispan-core-6.0.1.Final-redhat-1.jar:6.0.1.Final-redhat-1]
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [rt.jar:1.7.0_45]
> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [rt.jar:1.7.0_45]
> at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:527) [jboss-as-jmx-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:263) [jboss-as-jmx-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.remotingjmx.protocol.v2.ServerProxy$InvokeHandler.handle(ServerProxy.java:915)
> at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:152)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
--
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
More information about the infinispan-issues
mailing list