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

Serialization Error while Remote Query

    XMLWordPrintable

Details

    • Hide

      1. Create a protofile like https://gist.github.com/kameshsampath/b5b9014967bede93b47ba8047c3bf295
      2. Add the marshallers and model ( model objects are not implementing Serializable)
      3. Register the proto file via JMX
      4. Don't load any data on to the cache
      5. Execute a simple query like mentioned in the description

      Show
      1. Create a protofile like https://gist.github.com/kameshsampath/b5b9014967bede93b47ba8047c3bf295 2. Add the marshallers and model ( model objects are not implementing Serializable) 3. Register the proto file via JMX 4. Don't load any data on to the cache 5. Execute a simple query like mentioned in the description

    Description

      When doing remote query with JDG 7.0 cluster, the cluster throws

      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@6811e01d
      in object java.util.ArrayDeque@514699bf
      in object org.infinispan.stream.impl.termop.object.MapIteratorOperation@4667caae
      in object org.infinispan.stream.impl.StreamRequestCommand@436d42d0

      When doing the following query:

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

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

      Attachments

        Issue Links

          Activity

            People

              anistor Adrian Nistor (Inactive)
              ksampath@redhat.com Kamesh Sampath (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: