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

Addison reassigned GEODE-5410:
------------------------------

    Assignee: Addison

> Throw KeyNotFoundException occurs when using MSTest with NativeClient
> ---------------------------------------------------------------------
>
>                 Key: GEODE-5410
>                 URL: https://issues.apache.org/jira/browse/GEODE-5410
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Masaki Yamakawa
>            Assignee: Addison
>            Priority: Minor
>
>  
> {code:java}
> Exception while receiving subscription event for endpoint 
> {host}:40404::apache::geode::client::Exception:GFCLI_EXCEPTION:System.Collections.Generic.KeyNotFoundException:
>  指定されたキーはディレクトリ内に存在しませんでした。
>    場所 System.ThrowHelper.ThrowKeyNotFoundException()
>    場所 System.Collections.Generic.Dictionary`2.get_Item(TKey key)
>    場所 
> apache.geode.client.ManagedCacheableKeyBytesGeneric.fromData(ManagedCacheableKeyBytesGeneric*
>  , DataInput* input){code}
> NOTE: appdomain-enabled is set to true.
> NOTE: In NUnit, this error is solved by setting appdomain-enabled to true.
> I created a simple application to confirm this issue.
> It exists in the following:
> [https://github.com/masaki-yamakawa/GeodeNativeSample]
>  # Build with java and create a jar file.
>  # Start Locator with gfsh.
>  # Start CacheServer with gfsh. (start server -name=\{Name} 
> --classpath=\{Path}/GeodeNativeSample-1.0.jar)
>  # Build C#.
>  # Execute C# UnitTestProject1 with VSTest.Console.exe. (VSTest.Console.exe 
> UnitTestProject1.dll)



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

Reply via email to