Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glacier2 SessionHelper Unhandled CommunicatorDestroyedException #744

Closed
pepone opened this issue Mar 11, 2020 · 0 comments
Closed

Glacier2 SessionHelper Unhandled CommunicatorDestroyedException #744

pepone opened this issue Mar 11, 2020 · 0 comments
Assignees

Comments

@pepone
Copy link
Member

pepone commented Mar 11, 2020

We get this failure with the latest ice-ci-centos-el7-dev-3.7

testing SessionHelper connect with wrong userid/password... ok
testing SessionHelper connect interrupt... Unhandled exception. Ice.CommunicatorDestroyedException
   at IceInternal.Instance.proxyFactory() in /home/vagrant/workspace/ice/3.7/csharp/src/Ice/Instance.cs:line 146
   at Ice.CommunicatorI.stringToProxy(String s) in /home/vagrant/workspace/ice/3.7/csharp/src/Ice/CommunicatorI.cs:line 59
   at Glacier2.SessionHelper.<>c__DisplayClass15_0.<connectImpl>b__0() in /home/vagrant/workspace/ice/3.7/csharp/src/Glacier2/SessionHelper.cs:line 392
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Seems like a bug, we should move the uncheckedCast inside the try/catch block bellow

Ice.RouterFinderPrx finder =
Ice.RouterFinderPrxHelper.uncheckedCast(_communicator.stringToProxy(_finderStr));

@pepone pepone self-assigned this Apr 30, 2020
@pepone pepone closed this as completed Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant