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

Unable to start NETworkManager #83

Closed
egnirra opened this issue Apr 23, 2018 · 15 comments
Closed

Unable to start NETworkManager #83

egnirra opened this issue Apr 23, 2018 · 15 comments
Labels

Comments

@egnirra
Copy link

egnirra commented Apr 23, 2018

Describe your issue or feature request:
Program crashes before it starts/shows anything on screen.
Had to check event logs before i knew what was going on.

Steps to reproduce the issue:

  1. Download latest release
  2. Start NETworkManager.exe
  3. Nothing happens

NETworkManager version: 1.6.0.0

Windows version: 10 pro

.NET-Framework version: .NET Framework 4.7.1 release 461308

Screenshots
image
image

Application: NETworkManager.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException at NETworkManager.ViewModels.NetworkInterfaceViewModel.set_SelectedNetworkInterface(NETworkManager.Models.Network.NetworkInterfaceInfo) at NETworkManager.ViewModels.NetworkInterfaceViewModel+d__160.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_0(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunDispatcher(System.Object) at System.Windows.Application.RunInternal(System.Windows.Window) at System.Windows.Application.Run(System.Windows.Window) at NETworkManager.App.Main()

Faulting application name: NETworkManager.exe, version: 1.6.0.0, time stamp: 0x5adc0a1e
Faulting module name: KERNELBASE.dll, version: 10.0.16299.371, time stamp: 0xee297154
Exception code: 0xe0434352
Fault offset: 0x00103ef2
Faulting process id: 0x774
Faulting application start time: 0x01d3db00de1c411e
Faulting application path: C:\Users\thomas.arringe\Downloads\NETworkManager_v1.6.0.0\NETworkManager\NETworkManager.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 881ab1ea-f819-4d20-b37d-883e165abe09
Faulting package full name:
Faulting package-relative application ID:

@BornToBeRoot
Copy link
Owner

Can you post me screenshot from your network adapters in windows?

I got another report via Reddit, but i can't reproduce.

@egnirra
Copy link
Author

egnirra commented Apr 23, 2018

Sure.

image
image

@deaquino
Copy link
Contributor

I attach mine, I have the same issue.

image

@BornToBeRoot
Copy link
Owner

BornToBeRoot commented Apr 23, 2018

I installed some of these tools to add network interfaces to my virtual machine, but without success... i still can't reproduce.
The execption is thrown when selecting a network interface on start, but i don't know in which line / property.

I changed the version here, that the error is intercepted and one or two MessageBoxes are displayed.
Just open the NETworkManager.exe and you should see a MessageBox.

NETworkManager_v1.6.0.0_DEBUG.zip

Maybe someone with the problem has installed Visual Studio 2017 and could also debug it ?!

@deaquino
Copy link
Contributor

I'll try it in few hours.
Thanks

@egnirra
Copy link
Author

egnirra commented Apr 24, 2018

The debug version starts for me.. strange.
The normal version does not work still.

image

@BornToBeRoot
Copy link
Owner

Indeed strange...

Does it show a MessageBox?

@egnirra
Copy link
Author

egnirra commented Apr 24, 2018

No i didn't get anything :/ I can test more after I get home from work, I'll test on my laptop also.

@egnirra
Copy link
Author

egnirra commented Apr 24, 2018

It seems to work fine on my laptop, I'll test more when i get home.
image

@deaquino
Copy link
Contributor

debug-error-01
debug-error-02

It´s in Spanish...

@deaquino
Copy link
Contributor

deaquino commented Apr 24, 2018

value.IPv4Gateway is not null but it´s an empty collection, so value.IPv4Gateway.FirstOrDefault() throws an exception.

image

@egnirra
Copy link
Author

egnirra commented Apr 24, 2018

It must be possible to set a default value if it's empty then? :)

@deaquino
Copy link
Contributor

Fixed here: #86

@BornToBeRoot
Copy link
Owner

Yep. Line 164...

@deaquino thanks!

@BornToBeRoot
Copy link
Owner

#86 merged.

I will release a new version in a few days, with some bugfixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants