[JBoss JIRA] (ISPN-8666) Off Heap Data Container compute doesn't present expired entries
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8666?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-8666:
--------------------------------
Fix Version/s: 9.2.0.CR1
9.1.5.Final
> Off Heap Data Container compute doesn't present expired entries
> ---------------------------------------------------------------
>
> Key: ISPN-8666
> URL: https://issues.jboss.org/browse/ISPN-8666
> Project: Infinispan
> Issue Type: Bug
> Components: Off Heap
> Affects Versions: 9.2.0.Beta2, 9.1.4.Final
> Reporter: William Burns
> Fix For: 9.2.0.CR1, 9.1.5.Final
>
>
> With ISPN-8500 we no longer return expired entries from the data container. This change also affected compute method on the Data Container. The DataContainer method should always present expired entries as stated in its documentation. This is causing issues with notifications and others when an entry expires as it seems it was never there to begin with.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (ISPN-8692) java.lang.IllegalArgumentException: No marshaller registered for java.lang.String when using org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-8692?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-8692:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.2.0.CR1
Resolution: Done
Integrated in master. Thanks [~gustavonalle]!
> java.lang.IllegalArgumentException: No marshaller registered for java.lang.String when using org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-8692
> URL: https://issues.jboss.org/browse/ISPN-8692
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 9.2.0.Beta2
> Reporter: Dmitrii Puzikov
> Assignee: Gustavo Fernandes
> Fix For: 9.2.0.CR1
>
>
> When executing test from [PR|https://github.com/infinispan/infinispan/pull/5681/files#diff-87106d85...] got an exception:
> {code}
> java.lang.IllegalArgumentException: No marshaller registered for java.lang.String
> at org.infinispan.protostream.impl.SerializationContextImpl.getMarshallerDelegate(SerializationContextImpl.java:301)
> at org.infinispan.protostream.ProtobufUtil.readFrom(ProtobufUtil.java:122)
> at org.infinispan.protostream.ProtobufUtil.fromByteArray(ProtobufUtil.java:131)
> at org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder.transcode(ProtostreamTextTranscoder.java:38)
> at org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoderTest.testTranscoderTranscode(ProtostreamTextTranscoderTest.java:36)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 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)
> {code}
> If I change ProtostreamTextTranscoder::transcode line 38 to
> {code}
> return ProtobufUtil.fromWrappedByteArray(ctx, (byte[]) content);
> {code}
> then test passes.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (ISPN-8692) java.lang.IllegalArgumentException: No marshaller registered for java.lang.String when using org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8692?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8692:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5682
> java.lang.IllegalArgumentException: No marshaller registered for java.lang.String when using org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-8692
> URL: https://issues.jboss.org/browse/ISPN-8692
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 9.2.0.Beta2
> Reporter: Dmitrii Puzikov
> Assignee: Gustavo Fernandes
>
> When executing test from [PR|https://github.com/infinispan/infinispan/pull/5681/files#diff-87106d85...] got an exception:
> {code}
> java.lang.IllegalArgumentException: No marshaller registered for java.lang.String
> at org.infinispan.protostream.impl.SerializationContextImpl.getMarshallerDelegate(SerializationContextImpl.java:301)
> at org.infinispan.protostream.ProtobufUtil.readFrom(ProtobufUtil.java:122)
> at org.infinispan.protostream.ProtobufUtil.fromByteArray(ProtobufUtil.java:131)
> at org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder.transcode(ProtostreamTextTranscoder.java:38)
> at org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoderTest.testTranscoderTranscode(ProtostreamTextTranscoderTest.java:36)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 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)
> {code}
> If I change ProtostreamTextTranscoder::transcode line 38 to
> {code}
> return ProtobufUtil.fromWrappedByteArray(ctx, (byte[]) content);
> {code}
> then test passes.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (ISPN-8692) java.lang.IllegalArgumentException: No marshaller registered for java.lang.String when using org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8692?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes reassigned ISPN-8692:
---------------------------------------
Assignee: Gustavo Fernandes
> java.lang.IllegalArgumentException: No marshaller registered for java.lang.String when using org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-8692
> URL: https://issues.jboss.org/browse/ISPN-8692
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 9.2.0.Beta2
> Reporter: Dmitrii Puzikov
> Assignee: Gustavo Fernandes
>
> When executing test from [PR|https://github.com/infinispan/infinispan/pull/5681/files#diff-87106d85...] got an exception:
> {code}
> java.lang.IllegalArgumentException: No marshaller registered for java.lang.String
> at org.infinispan.protostream.impl.SerializationContextImpl.getMarshallerDelegate(SerializationContextImpl.java:301)
> at org.infinispan.protostream.ProtobufUtil.readFrom(ProtobufUtil.java:122)
> at org.infinispan.protostream.ProtobufUtil.fromByteArray(ProtobufUtil.java:131)
> at org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder.transcode(ProtostreamTextTranscoder.java:38)
> at org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoderTest.testTranscoderTranscode(ProtostreamTextTranscoderTest.java:36)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 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)
> {code}
> If I change ProtostreamTextTranscoder::transcode line 38 to
> {code}
> return ProtobufUtil.fromWrappedByteArray(ctx, (byte[]) content);
> {code}
> then test passes.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (ISPN-8692) java.lang.IllegalArgumentException: No marshaller registered for java.lang.String when using org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8692?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8692:
------------------------------------
Status: Open (was: New)
> java.lang.IllegalArgumentException: No marshaller registered for java.lang.String when using org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-8692
> URL: https://issues.jboss.org/browse/ISPN-8692
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 9.2.0.Beta2
> Reporter: Dmitrii Puzikov
>
> When executing test from [PR|https://github.com/infinispan/infinispan/pull/5681/files#diff-87106d85...] got an exception:
> {code}
> java.lang.IllegalArgumentException: No marshaller registered for java.lang.String
> at org.infinispan.protostream.impl.SerializationContextImpl.getMarshallerDelegate(SerializationContextImpl.java:301)
> at org.infinispan.protostream.ProtobufUtil.readFrom(ProtobufUtil.java:122)
> at org.infinispan.protostream.ProtobufUtil.fromByteArray(ProtobufUtil.java:131)
> at org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder.transcode(ProtostreamTextTranscoder.java:38)
> at org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoderTest.testTranscoderTranscode(ProtostreamTextTranscoderTest.java:36)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 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)
> {code}
> If I change ProtostreamTextTranscoder::transcode line 38 to
> {code}
> return ProtobufUtil.fromWrappedByteArray(ctx, (byte[]) content);
> {code}
> then test passes.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (ISPN-8692) java.lang.IllegalArgumentException: No marshaller registered for java.lang.String when using org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder
by Dmitrii Puzikov (JIRA)
Dmitrii Puzikov created ISPN-8692:
-------------------------------------
Summary: java.lang.IllegalArgumentException: No marshaller registered for java.lang.String when using org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder
Key: ISPN-8692
URL: https://issues.jboss.org/browse/ISPN-8692
Project: Infinispan
Issue Type: Bug
Components: Remote Querying
Affects Versions: 9.2.0.Beta2
Reporter: Dmitrii Puzikov
When executing test from [PR|https://github.com/infinispan/infinispan/pull/5681/files#diff-87106d85...] got an exception:
{code}
java.lang.IllegalArgumentException: No marshaller registered for java.lang.String
at org.infinispan.protostream.impl.SerializationContextImpl.getMarshallerDelegate(SerializationContextImpl.java:301)
at org.infinispan.protostream.ProtobufUtil.readFrom(ProtobufUtil.java:122)
at org.infinispan.protostream.ProtobufUtil.fromByteArray(ProtobufUtil.java:131)
at org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoder.transcode(ProtostreamTextTranscoder.java:38)
at org.infinispan.query.remote.impl.dataconversion.ProtostreamTextTranscoderTest.testTranscoderTranscode(ProtostreamTextTranscoderTest.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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)
{code}
If I change ProtostreamTextTranscoder::transcode line 38 to
{code}
return ProtobufUtil.fromWrappedByteArray(ctx, (byte[]) content);
{code}
then test passes.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months