Vasilisa Sidorova created IGNITE-2000:
------------------------------------------
Summary: .Net: MessagingExample get exception after second
execution
Key: IGNITE-2000
URL: https://issues.apache.org/jira/browse/IGNITE-2000
Project: Ignite
Issue Type: Bug
Components: interop
Affects Versions: 1.5
Environment: Win7 64bit, MS Visual C++ 2010 Professional, Apache
Ignite 1.5.0 build #83
Reporter: Vasilisa Sidorova
Fix For: 1.5
---------------------------------------------
STEPS FOR REPRODUCE
---------------------------------------------
# Build .Net project
# Run Apache.Ignite.exe remote node:
{noformat}
Apache.Ignite.exe -IgniteHome="%IGNITE_HOME%"
-springConfigUrl=platforms\dotnet\examples\config\example-compute.xml
-assembly=[path_to_Apache.Ignite.ExamplesDll.dll]
{noformat}
# Run MessagingExample
# Run MessagingExample once again
---------------------------------------------
ACTUAL RESULT
---------------------------------------------
The exception appears after example running:
{noformat}
System.InvalidOperationException was unhandled by user code
HResult=-2146233079
Message=Invalid attempt made to decrement the event's count below zero.
Source=mscorlib
StackTrace:
at System.Threading.CountdownEvent.Signal()
at Apache.Ignite.ExamplesDll.Messaging.LocalListener.Invoke(Guid nodeId,
Int32 message) in
C:\work_vsidorova\Ignite\ignite-last\platforms\dotnet\examples\Apache.Ignite.ExamplesDll\Messaging\LocalListener.cs:line
54
at
Apache.Ignite.Core.Impl.Messaging.MessageListenerHolder.<>c__DisplayClass1`1.<CreateLocal>b__0(Guid
id, Object msg)
at
Apache.Ignite.Core.Impl.Messaging.MessageListenerHolder.Invoke(IBinaryStream
input)
at
Apache.Ignite.Core.Impl.Unmanaged.UnmanagedCallbacks.<>c__DisplayClass80.<MessagingFilterApply>b__7f()
at
Apache.Ignite.Core.Impl.Unmanaged.UnmanagedCallbacks.SafeCall[T](Func`1 func,
Boolean allowUnitialized)
InnerException:
{noformat}
---------------------------------------------
EXPECTED RESULT
---------------------------------------------
Example execute without any exception any times
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)