[JBoss JIRA] (ISPN-9871) Error executing command PutKeyValueCommand when using protobuf
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-9871?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-9871:
-------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/6602, https://github.com/infinispan/infinispan/pull/6603 (was: https://github.com/infinispan/infinispan/pull/6602)
> Error executing command PutKeyValueCommand when using protobuf
> --------------------------------------------------------------
>
> Key: ISPN-9871
> URL: https://issues.jboss.org/browse/ISPN-9871
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.5.Final
> Reporter: Diego Lovison
> Assignee: Dan Berindei
> Priority: Critical
>
> {code:java}
> private final String KEY = "key";
> builder.addServer().host("127.0.0.1").port(11222).marshaller(new ProtoStreamMarshaller());
> ProtobufHelper.register(cacheManager, "/library.proto");
> RemoteCache cache = cacheManager.getCache("DEVICES");
> cache.put(KEY + counter++, new Person("foo" + counter, counter));
> {code}
> Server1 - Stacktrace
> {noformat}
> 10:34:07,799 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (jgroups-6,diegos-macbook-pro) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x4A076B6579333339..[9], hashCode=1989086686}]: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from diegos-macbook-pro, see cause for remote stack trace
> at org.infinispan.remoting.transport.ResponseCollectors.wrapRemoteException(ResponseCollectors.java:27)
> at org.infinispan.remoting.transport.ValidSingleResponseCollector.withException(ValidSingleResponseCollector.java:37)
> at org.infinispan.remoting.transport.ValidSingleResponseCollector.addResponse(ValidSingleResponseCollector.java:21)
> at org.infinispan.remoting.transport.impl.SingleTargetRequest.receiveResponse(SingleTargetRequest.java:52)
> at org.infinispan.remoting.transport.impl.SingleTargetRequest.onResponse(SingleTargetRequest.java:35)
> at org.infinispan.remoting.transport.impl.RequestRepository.addResponse(RequestRepository.java:52)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1372)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1275)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.access$300(JGroupsTransport.java:126)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.up(JGroupsTransport.java:1420)
> at org.jgroups.JChannel.up(JChannel.java:816)
> at org.jgroups.fork.ForkProtocolStack.up(ForkProtocolStack.java:133)
> at org.jgroups.stack.Protocol.up(Protocol.java:340)
> at org.jgroups.protocols.FORK.up(FORK.java:141)
> at org.jgroups.protocols.FRAG3.up(FRAG3.java:171)
> at org.jgroups.protocols.FlowControl.up(FlowControl.java:343)
> at org.jgroups.protocols.FlowControl.up(FlowControl.java:343)
> at org.jgroups.protocols.pbcast.GMS.up(GMS.java:873)
> at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:240)
> at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1003)
> at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:729)
> at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:384)
> at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:600)
> at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:130)
> at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:203)
> at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:253)
> at org.jgroups.protocols.MERGE3.up(MERGE3.java:280)
> at org.jgroups.protocols.Discovery.up(Discovery.java:269)
> at org.jgroups.protocols.TP.passMessageUp(TP.java:1248)
> at org.jgroups.util.SubmitToThreadPool$SingleMessageHandler.run(SubmitToThreadPool.java:87)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.IllegalArgumentException: Descriptor not found : jira_verification.Person
> at org.infinispan.protostream.impl.SerializationContextImpl.getDescriptorByName(SerializationContextImpl.java:334)
> at org.infinispan.query.remote.impl.indexing.WrappedMessageTagHandler.onTag(WrappedMessageTagHandler.java:67)
> at org.infinispan.protostream.ProtobufParser.parseMessage(ProtobufParser.java:75)
> at org.infinispan.protostream.ProtobufParser.parseInternal(ProtobufParser.java:57)
> at org.infinispan.protostream.ProtobufParser.parse(ProtobufParser.java:44)
> at org.infinispan.query.remote.impl.indexing.ProtobufValueWrapperSearchWorkCreator.discoverMessageType(ProtobufValueWrapperSearchWorkCreator.java:90)
> at org.infinispan.query.remote.impl.indexing.ProtobufValueWrapperSearchWorkCreator.interceptValue(ProtobufValueWrapperSearchWorkCreator.java:77)
> at org.infinispan.query.remote.impl.indexing.ProtobufValueWrapperSearchWorkCreator.access$300(ProtobufValueWrapperSearchWorkCreator.java:27)
> at org.infinispan.query.remote.impl.indexing.ProtobufValueWrapperSearchWorkCreator$Delegate.createPerEntityWorks(ProtobufValueWrapperSearchWorkCreator.java:57)
> at org.infinispan.query.backend.QueryInterceptor.performSearchWork(QueryInterceptor.java:377)
> at org.infinispan.query.backend.QueryInterceptor.updateIndexes(QueryInterceptor.java:372)
> at org.infinispan.query.backend.QueryInterceptor.processChange(QueryInterceptor.java:455)
> at org.infinispan.query.backend.QueryInterceptor.lambda$handleDataWriteCommand$0(QueryInterceptor.java:188)
> at org.infinispan.interceptors.InvocationSuccessAction.apply(InvocationSuccessAction.java:22)
> at org.infinispan.interceptors.impl.QueueAsyncInvocationStage.invokeQueuedHandlers(QueueAsyncInvocationStage.java:118)
> at org.infinispan.interceptors.impl.QueueAsyncInvocationStage.accept(QueueAsyncInvocationStage.java:81)
> at org.infinispan.interceptors.impl.QueueAsyncInvocationStage.accept(QueueAsyncInvocationStage.java:30)
> at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)
> at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
> at org.infinispan.remoting.transport.AbstractRequest.complete(AbstractRequest.java:67)
> at org.infinispan.remoting.transport.impl.MultiTargetRequest.onResponse(MultiTargetRequest.java:102)
> ... 28 more
> {noformat}
> Server2
> {noformat}
> 10:34:05,473 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (stateTransferExecutor-thread--p5-t38) ISPN000136: Error executing command PutKeyValueCommand, writing keys [/library.proto]: org.infinispan.commons.CacheException: ISPN028008: The value must be a String : class org.infinispan.container.entries.metadata.MetadataImmortalCacheEntry
> at org.infinispan.query.remote.impl.ProtobufMetadataManagerInterceptor.visitPutKeyValueCommand(ProtobufMetadataManagerInterceptor.java:219)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:69)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:54)
> at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.lambda$new$0(AbstractTxLockingInterceptor.java:34)
> at org.infinispan.interceptors.InvocationSuccessFunction.apply(InvocationSuccessFunction.java:25)
> at org.infinispan.interceptors.SyncInvocationStage.addCallback(SyncInvocationStage.java:42)
> at org.infinispan.interceptors.InvocationStage.thenApply(InvocationStage.java:45)
> at org.infinispan.interceptors.locking.PessimisticLockingInterceptor.acquireLocalLockAndInvokeNext(PessimisticLockingInterceptor.java:283)
> at org.infinispan.interceptors.locking.PessimisticLockingInterceptor.visitDataWriteCommand(PessimisticLockingInterceptor.java:148)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitPutKeyValueCommand(AbstractLockingInterceptor.java:82)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:69)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:150)
> at org.infinispan.interceptors.impl.TxInterceptor.handleWriteCommand(TxInterceptor.java:402)
> at org.infinispan.interceptors.impl.TxInterceptor.visitPutKeyValueCommand(TxInterceptor.java:235)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:69)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:54)
> at org.infinispan.statetransfer.TransactionSynchronizerInterceptor.visitCommand(TransactionSynchronizerInterceptor.java:41)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndHandle(BaseAsyncInterceptor.java:185)
> at org.infinispan.statetransfer.StateTransferInterceptor.handleTxWriteCommand(StateTransferInterceptor.java:260)
> at org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:250)
> at org.infinispan.statetransfer.StateTransferInterceptor.visitPutKeyValueCommand(StateTransferInterceptor.java:96)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:69)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:54)
> at org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:214)
> at org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:179)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:69)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:123)
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:56)
> at org.infinispan.interceptors.impl.BatchingInterceptor.handleDefault(BatchingInterceptor.java:69)
> at org.infinispan.interceptors.impl.BatchingInterceptor.visitPutKeyValueCommand(BatchingInterceptor.java:49)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:69)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:54)
> at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:54)
> at org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:60)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:69)
> at org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:50)
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:248)
> at org.infinispan.statetransfer.StateConsumerImpl.doApplyState(StateConsumerI
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 3 months
[JBoss JIRA] (ISPN-9824) Doclets do not work with JDK11
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-9824?page=com.atlassian.jira.plugin.... ]
Ryan Emerson resolved ISPN-9824.
--------------------------------
Resolution: Done
> Doclets do not work with JDK11
> ------------------------------
>
> Key: ISPN-9824
> URL: https://issues.jboss.org/browse/ISPN-9824
> Project: Infinispan
> Issue Type: Bug
> Components: Build
> Affects Versions: 9.4.3.Final
> Reporter: Vladimir Dosoudil
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 10.0.0.Beta1
>
>
> It's not able to build Infinispan with JDK 11.
> Module infinispan-commons contains JDK specific classes which requires to be built in JDK 9+ (JDK 11 is LTS) but it's not able to build the whole Infinispan project with distribution profile related to fails on missing classes for infinispan-doclets module (referencing com.sun.javadoc*) using tools.jar which are not the part of JDK 9+ anymore. The failure is also on generating javadoc for infinispan-commons which uses sun.reflect.Reflection.getCallerClass which is discontinuing in JDK 11.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 3 months
[JBoss JIRA] (ISPN-9874) Server provisioning version overrides
by Tristan Tarrant (Jira)
Tristan Tarrant created ISPN-9874:
-------------------------------------
Summary: Server provisioning version overrides
Key: ISPN-9874
URL: https://issues.jboss.org/browse/ISPN-9874
Project: Infinispan
Issue Type: Bug
Components: Build, Server
Affects Versions: 9.4.5.Final, 10.0.0.Alpha2
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 10.0.0.Beta1, 9.4.6.Final
The build does not apply the versions for the lucene and gson featurepacks from the build-configuration pom to the parent pom. Also we need to use server provisioning overrides to be able to correctly override imported feature pack versions.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 3 months
[JBoss JIRA] (ISPN-9824) Unable to build Infinispan with JDK 11
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-9824?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-9824:
----------------------------------
Status: Open (was: New)
> Unable to build Infinispan with JDK 11
> --------------------------------------
>
> Key: ISPN-9824
> URL: https://issues.jboss.org/browse/ISPN-9824
> Project: Infinispan
> Issue Type: Bug
> Components: Build
> Affects Versions: 9.4.3.Final
> Reporter: Vladimir Dosoudil
> Assignee: Tristan Tarrant
> Priority: Major
>
> It's not able to build Infinispan with JDK 11.
> Module infinispan-commons contains JDK specific classes which requires to be built in JDK 9+ (JDK 11 is LTS) but it's not able to build the whole Infinispan project with distribution profile related to fails on missing classes for infinispan-doclets module (referencing com.sun.javadoc*) using tools.jar which are not the part of JDK 9+ anymore. The failure is also on generating javadoc for infinispan-commons which uses sun.reflect.Reflection.getCallerClass which is discontinuing in JDK 11.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 3 months
[JBoss JIRA] (ISPN-9824) Unable to build Infinispan with JDK 11
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-9824?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-9824:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/6598
> Unable to build Infinispan with JDK 11
> --------------------------------------
>
> Key: ISPN-9824
> URL: https://issues.jboss.org/browse/ISPN-9824
> Project: Infinispan
> Issue Type: Bug
> Components: Build
> Affects Versions: 9.4.3.Final
> Reporter: Vladimir Dosoudil
> Assignee: Tristan Tarrant
> Priority: Major
>
> It's not able to build Infinispan with JDK 11.
> Module infinispan-commons contains JDK specific classes which requires to be built in JDK 9+ (JDK 11 is LTS) but it's not able to build the whole Infinispan project with distribution profile related to fails on missing classes for infinispan-doclets module (referencing com.sun.javadoc*) using tools.jar which are not the part of JDK 9+ anymore. The failure is also on generating javadoc for infinispan-commons which uses sun.reflect.Reflection.getCallerClass which is discontinuing in JDK 11.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 3 months
[JBoss JIRA] (ISPN-9824) Unable to build Infinispan with JDK 11
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-9824?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant reassigned ISPN-9824:
-------------------------------------
Assignee: Tristan Tarrant
> Unable to build Infinispan with JDK 11
> --------------------------------------
>
> Key: ISPN-9824
> URL: https://issues.jboss.org/browse/ISPN-9824
> Project: Infinispan
> Issue Type: Bug
> Components: Build
> Affects Versions: 9.4.3.Final
> Reporter: Vladimir Dosoudil
> Assignee: Tristan Tarrant
> Priority: Major
>
> It's not able to build Infinispan with JDK 11.
> Module infinispan-commons contains JDK specific classes which requires to be built in JDK 9+ (JDK 11 is LTS) but it's not able to build the whole Infinispan project with distribution profile related to fails on missing classes for infinispan-doclets module (referencing com.sun.javadoc*) using tools.jar which are not the part of JDK 9+ anymore. The failure is also on generating javadoc for infinispan-commons which uses sun.reflect.Reflection.getCallerClass which is discontinuing in JDK 11.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 3 months
[JBoss JIRA] (ISPN-9720) JDK11: An illegal reflective access operation has occurred
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-9720?page=com.atlassian.jira.plugin.... ]
Diego Lovison updated ISPN-9720:
--------------------------------
Tester: Diego Lovison
> JDK11: An illegal reflective access operation has occurred
> ----------------------------------------------------------
>
> Key: ISPN-9720
> URL: https://issues.jboss.org/browse/ISPN-9720
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.4.1.Final
> Reporter: Tomas Hofman
> Assignee: Tomas Hofman
> Priority: Critical
> Labels: Java11
> Fix For: 10.0.0.Alpha2, 9.3.6.Final, 9.4.4.Final
>
>
> server prints infinispan warnings during deploying the deployment or start server with deployment:
> {noformat}
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.infinispan.marshall.exts.SecurityActions (jar:file:/home/mkopecky/playground/eap/7.2.0.GA.CR1/jboss-eap-7.2/modules/system/layers/base/org/infinispan/main/infinispan-core-9.3.3.Final-redhat-00001.jar!/) to field java.util.DoubleSummaryStatistics.count
> WARNING: Please consider reporting this to the maintainers of org.infinispan.marshall.exts.SecurityActions
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> {noformat}
> This is follow up for JBEAP-15475, as [~jamezp] mentioned in [his comment|https://issues.jboss.org/browse/JBEAP-15475?focusedCommentId=1364...].
> cc: [~msvehla], [~rsvoboda]
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 3 months