[infinispan-issues] [JBoss JIRA] (ISPN-7457) Serialization Error while Remote Query

Kamesh Sampath (JIRA) issues at jboss.org
Thu Feb 9 06:51:00 EST 2017


Kamesh Sampath created ISPN-7457:
------------------------------------

             Summary: Serialization Error while Remote Query
                 Key: ISPN-7457
                 URL: https://issues.jboss.org/browse/ISPN-7457
             Project: Infinispan
          Issue Type: Bug
          Components: Remote Querying
            Reporter: Kamesh Sampath
            Priority: Critical


When doing remote query with JDG 7.0 cluster, the cluster throws 
{quote}
16:19:10,983 ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (async-thread--p5-t2) ISPN000073: Unexpected error while replicating: org.infinispan.commons.marshall.NotSerializableException: org.infinispan.query.dsl.embedded.impl.EmbeddedQuery$$Lambda$155/1009367336
Caused by: an exception which occurred:
	in object org.infinispan.query.dsl.embedded.impl.EmbeddedQuery$$Lambda$155/1009367336 at 6811e01d
	in object java.util.ArrayDeque at 514699bf
	in object org.infinispan.stream.impl.termop.object.MapIteratorOperation at 4667caae
	in object org.infinispan.stream.impl.StreamRequestCommand at 436d42d0
{quote}

When doing the following query:

{code:java}

QueryFactory queryFactory = Search.getQueryFactory(remoteCache);
Query query = queryFactory.from(User.class)
    .build();
List<User> users = query.list();
{code}

At the time doing this query the users cache is empty. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list