You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/03/23 10:26:00 UTC

[jira] [Commented] (IGNITE-7928) .NET: Exception is not propagated to the C# client and the app hangs

    [ https://issues.apache.org/jira/browse/IGNITE-7928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16411167#comment-16411167 ] 

ASF GitHub Bot commented on IGNITE-7928:
----------------------------------------

GitHub user apopovgg opened a pull request:

    https://github.com/apache/ignite/pull/3690

    IGNITE-7928 .NET: Exception is not propagated to the C# client and th…

    …e app hangs

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-7928

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/3690.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3690
    
----
commit 7090407889d0ade418167054e7660c1af6cab48e
Author: apopov <ta...@...>
Date:   2018-03-23T10:24:50Z

    IGNITE-7928 .NET: Exception is not propagated to the C# client and the app hangs

----


> .NET: Exception is not propagated to the C# client and the app hangs
> --------------------------------------------------------------------
>
>                 Key: IGNITE-7928
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7928
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>    Affects Versions: 2.3
>            Reporter: Evgenii Zhuravlev
>            Assignee: Alexey Popov
>            Priority: Major
>              Labels: .NET
>
> An exception like https://issues.apache.org/jira/browse/IGNITE-1903 is not propagated to the C# client:
> the issue has happened during JNI call, that is why .NET hung.
> The marshaller is unable to unmarshal CacheStoreFactory class (it is absent on the client node).
>  
> Stack trace:
>  
> {code:java}
> class org.apache.ignite.IgniteException: Platform error:System.ArgumentNullException: Value cannot be null. Parameter name: key    at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)    at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)    at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)    at Apache.Ignite.Core.Impl.Binary.Marshaller.GetDescriptor(Type type)    at Apache.Ignite.Core.Impl.Binary.BinaryReader.ReadFullObject[T](Int32 pos, Type typeOverride)    at Apache.Ignite.Core.Impl.Binary.BinaryReader.TryDeserialize[T](T& res, Type typeOverride)    at Apache.Ignite.Core.Impl.Binary.BinaryReader.Deserialize[T](Type typeOverride)    at Apache.Ignite.Core.Impl.Binary.BinaryReader.ReadBinaryObject[T](Boolean doDetach)    at Apache.Ignite.Core.Impl.Binary.BinaryReader.TryDeserialize[T](T& res, Type typeOverride)    at Apache.Ignite.Core.Impl.Binary.BinaryReader.Deserialize[T](Type typeOverride)    at Apache.Ignite.Core.Impl.Cache.Store.CacheStore.CreateInstance(Int64 memPtr, HandleRegistry registry)    at Apache.Ignite.Core.Impl.Unmanaged.UnmanagedCallbacks.CacheStoreCreate(Int64 memPtr)    at Apache.Ignite.Core.Impl.Unmanaged.UnmanagedCallbacks.InLongOutLong(Void* target, Int32 type, Int64 val)         at org.apache.ignite.internal.processors.platform.PlatformProcessorImpl.loggerLog(PlatformProcessorImpl.java:373)         at org.apache.ignite.internal.processors.platform.PlatformProcessorImpl.processInStreamOutLong(PlatformProcessorImpl.java:423)         at org.apache.ignite.internal.processors.platform.PlatformProcessorImpl.processInStreamOutLong(PlatformProcessorImpl.java:434)         at org.apache.ignite.internal.processors.platform.PlatformTargetProxyImpl.inStreamOutLong(PlatformTargetProxyImpl.java:67)         at org.apache.ignite.internal.processors.platform.callback.PlatformCallbackUtils.inLongOutLong(Native Method)         at org.apache.ignite.internal.processors.platform.callback.PlatformCallbackGateway.cacheStoreCreate(PlatformCallbackGateway.java:65)         at org.apache.ignite.internal.processors.platform.dotnet.PlatformDotNetCacheStore.initialize(PlatformDotNetCacheStore.java:403)         at org.apache.ignite.internal.processors.platform.PlatformProcessorImpl.registerStore0(PlatformProcessorImpl.java:650)         at org.apache.ignite.internal.processors.platform.PlatformProcessorImpl.registerStore(PlatformProcessorImpl.java:293)         at org.apache.ignite.internal.processors.cache.store.CacheOsStoreManager.start0(CacheOsStoreManager.java:60)         at org.apache.ignite.internal.processors.cache.GridCacheManagerAdapter.start(GridCacheManagerAdapter.java:50)         at org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCache(GridCacheProcessor.java:1097)         at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1826)         at org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.processClientCacheStartRequests(CacheAffinitySharedManager.java:428)         at org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.processClientCachesChanges(CacheAffinitySharedManager.java:611)         at org.apache.ignite.internal.processors.cache.GridCacheProcessor.processCustomExchangeTask(GridCacheProcessor.java:338)         at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.processCustomTask(GridCachePartitionExchangeManager.java:2142)         at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2231)         at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)         at java.lang.Thread.run(Thread.java:748){code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)