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

Crash: Exception has been thrown by the target of an invocation. #295

Closed
vegardlarsen opened this Issue Dec 5, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@vegardlarsen
Member

vegardlarsen commented Dec 5, 2018

MaxTo crashes when being started with an instance already running.

These entries may be in the log:

Message: Exception has been thrown by the target of an invocation.
System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor):-1
System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture):244
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark):507
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes):175
System.Activator.CreateInstance(Type type, Object[] args):0
Caliburn.Micro.SimpleContainer.ActivateInstance(Type type, Object[] args):12
Caliburn.Micro.SimpleContainer+<>c__DisplayClass7_0.<RegisterSingleton>b__0(SimpleContainer container):10
Caliburn.Micro.ContainerExtensions.GetInstance[TService](SimpleContainer container, String key):0
MaxTo.Core.MainForm+<OnLoad>d__24.MoveNext():478
Message: All pipe instances are busy.
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath):581
System.IO.Pipes.NamedPipeServerStream.Create(String fullPipeName, PipeDirection direction, Int32 maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options, Int32 inBufferSize, Int32 outBufferSize, PipeAccessRights rights, SECURITY_ATTRIBUTES secAttrs):82
System.IO.Pipes.NamedPipeServerStream..ctor(String pipeName, PipeDirection direction, Int32 maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options, Int32 inBufferSize, Int32 outBufferSize, PipeSecurity pipeSecurity, HandleInheritability inheritability, PipeAccessRights additionalAccessRights):300
System.IO.Pipes.NamedPipeServerStream..ctor(String pipeName, PipeDirection direction, Int32 maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options, Int32 inBufferSize, Int32 outBufferSize, PipeSecurity pipeSecurity):21
MaxTo.Core.Communication.NamedPipeServer.ResetStream():109
MaxTo.Core.Communication.NamedPipeServer..ctor(String pipeName, Int32 maximumServers):26
MaxTo.Core.Communication.NamedPipeServerManager.EnsureMinimumAvailable(Int32 count):47

Raygun report https://app.raygun.com/crashreporting/16323dg/errors/3068672309 has more details about the error

@vegardlarsen vegardlarsen self-assigned this Dec 5, 2018

@vegardlarsen vegardlarsen added the bug label Dec 5, 2018

@vegardlarsen vegardlarsen added this to the 2.0.0-beta.4 milestone Dec 5, 2018

@vegardlarsen vegardlarsen changed the title from Exception has been thrown by the target of an invocation. to Crash: Exception has been thrown by the target of an invocation. Dec 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment