ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Izhikov (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-14320) .NET: Collections can't be used as service method parameters
Date Mon, 15 Mar 2021 17:46:00 GMT
Nikolay Izhikov created IGNITE-14320:

             Summary: .NET: Collections can't be used as service method parameters
                 Key: IGNITE-14320
                 URL: https://issues.apache.org/jira/browse/IGNITE-14320
             Project: Ignite
          Issue Type: Improvement
            Reporter: Nikolay Izhikov

Currently, collections (list, map) can't be used as a service method parameter in case of

.Net (client node) -> .Net (server node) call.

This can be reproduced my one line modification of {{ServicesTypeAutoResolveTest#DoTestPlatformService}}

        /// <summary>
        /// Tests .Net service invocation.
        /// </summary>
        public void DoTestPlatformService(IServices svcsForProxy)
            const string platformSvcName = "PlatformTestService";

            _grid1.GetServices().DeployClusterSingleton(platformSvcName, new PlatformTestService());

            var svc = svcsForProxy.GetServiceProxy<IJavaService>(platformSvcName);


            DoTestCollections(svc); // This line was added.




Apache.Ignite.Core.Services.ServiceInvocationException : Proxy method invocation failed with
an exception. Examine InnerException for details.
  ----> Apache.Ignite.Core.Common.IgniteException : No matching type found for object [typeId=1552553483,
apache.ignite.core.testDepartment]]]. This usually indicates that assembly with specified
type is not loaded on a node. When using Apache.Ignite.exe, make sure to load assemblies with
-assembly parameter. Alternatively, set IgniteConfiguration.PeerAssemblyLoadingMode to CurrentAppDomain.

This message was sent by Atlassian Jira

View raw message