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

2018-03-23 Thread Alexey Popov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Popov updated IGNITE-7928:
-
Fix Version/s: 2.5

> .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
> Fix For: 2.5
>
>
> 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 
> 

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

2018-03-21 Thread Alexey Popov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Popov updated IGNITE-7928:
-
Labels: .NET  (was: )

> .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 

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

2018-03-21 Thread Alexey Popov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Popov updated IGNITE-7928:
-
Summary: .NET: Exception is not propagated to the C# client and the app 
hangs  (was: 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
>
> 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)
>