Maksim Davydov created IGNITE-28362:
---------------------------------------
Summary: Fix CacheTestAsync.TestPutAll after IGNITE-23416
Key: IGNITE-28362
URL: https://issues.apache.org/jira/browse/IGNITE-28362
Project: Ignite
Issue Type: Task
Reporter: Maksim Davydov
Assignee: Maksim Davydov
Currently .Net CacheTestAsync.TestPutAll fails with exception:
{code}
Failed TestPutAll [739 ms]
Error Message:
Expected: <Apache.Ignite.Core.Client.IgniteClientException>
But was: <System.Net.Sockets.SocketException (103): Software caused
connection abort
at Apache.Ignite.Core.Tests.TaskExtensions.WaitResult(Task task) in
/***/ignite/modules/platforms/dotnet/Apache.Ignite.Core.Tests/TaskExtensions.cs:line
40
at
Apache.Ignite.Core.Tests.Client.Cache.CacheClientAsyncWrapper`2.PutAll(IEnumerable`1
vals) in
/***/ignite/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Cache/CacheClientAsyncWrapper.cs:line
239
at
Apache.Ignite.Core.Tests.Client.Cache.CacheTest.<>c__DisplayClass20_0.<TestPutAll>b__6()
in
/***/ignite/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Cache/CacheTest.cs:line
580
at NUnit.Framework.Assert.Throws(IResolveConstraint expression, TestDelegate
code, String message, Object[] args)>
Stack Trace:
at Apache.Ignite.Core.Tests.Client.Cache.CacheTest.TestPutAll() in
/***/ignite/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Cache/CacheTest.cs:line
580
Standard Output Messages:
[15:33:25] [Debug] [ClientSocket] Socket connection attempt: 127.0.0.1:10800
[15:33:25] [Debug] [ClientSocket] Socket connection established:
127.0.0.1:60222 -> 127.0.0.1:10800
[15:33:25] [Debug] [ClientSocket] Handshake completed on 127.0.0.1:10800,
protocol version = 1.7.0
[15:33:25] [Debug] [ClientFailoverSocket] Server binary configuration
retrieved: BinaryConfigurationClientInternal [CompactFooter=True,
NameMapperMode=BasicFull]
{code}
In the server logs we can see
{code}
Failed to parse client request.
java.lang.NullPointerException
at java.base/java.util.Objects.requireNonNull(Objects.java:221)
at
java.base/java.util.ImmutableCollections$List12.<init>(ImmutableCollections.java:372)
at java.base/java.util.List.of(List.java:1036)
at
org.apache.ignite.internal.processors.platform.client.cache.ImmutableArrayMap.<init>(ImmutableArrayMap.java:63)
at
org.apache.ignite.internal.processors.platform.client.cache.ClientCachePutAllRequest.<init>(ClientCachePutAllRequest.java:53)
at
org.apache.ignite.internal.processors.platform.client.ClientMessageParser.decode(ClientMessageParser.java:538)
at
org.apache.ignite.internal.processors.platform.client.ClientMessageParser.decode(ClientMessageParser.java:449)
at
org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:200)
at
org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:58)
at
org.apache.ignite.internal.util.nio.GridNioFilterChain$TailFilter.onMessageReceived(GridNioFilterChain.java:280)
at
org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:110)
at
org.apache.ignite.internal.util.nio.GridNioAsyncNotifyFilter$3.body(GridNioAsyncNotifyFilter.java:98)
at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:125)
at
org.apache.ignite.internal.util.worker.GridWorkerPool$1.run(GridWorkerPool.java:70)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
{code}
This NPE causes System.Net.Sockets.SocketException
--
This message was sent by Atlassian Jira
(v8.20.10#820010)