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

Forms "Discover All Button" Causes Unhandled Exception #20

Open
jrodriguez142514 opened this issue Sep 24, 2018 · 0 comments
Open

Forms "Discover All Button" Causes Unhandled Exception #20

jrodriguez142514 opened this issue Sep 24, 2018 · 0 comments

Comments

@jrodriguez142514
Copy link
Contributor

When starting the forms application and clicking the Discover All Button, the application closes with an unhandled exception error. No devices are saved and application closes.

System.ArgumentNullException
HResult=0x80004003
Message=Value cannot be null.
Parameter name: source
Source=System.Core
StackTrace:
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at Sony_Forms_Example.Form3.showDevice(SonyDevice cDev) in C:\Users*\Downloads\SonyAPILib-master\SonyAPILib-master\Sony_Forms_Example\Sony_Forms_Example\Form3.cs:line 49
at Sony_Forms_Example.Form3.Device_SelectedIndexChanged(Object sender, EventArgs e) in C:\Users*
\Downloads\SonyAPILib-master\SonyAPILib-master\Sony_Forms_Example\Sony_Forms_Example\Form3.cs:line 97
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at Sony_Forms_Example.Form3.Form3_Load(Object sender, EventArgs e) in C:\Users****\Downloads\SonyAPILib-master\SonyAPILib-master\Sony_Forms_Example\Sony_Forms_Example\Form3.cs:line 1061
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

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

No branches or pull requests

1 participant