1

Resolved

ArgumentNullException on Connect

description

Hi everyone...

I have an issue on a single computer and we don't understand why... he has Win7 64bit and the latest installed XDK. We can all connect to his Xbox but he can't connect to any Xbox:

Image

I'm using this code in a button:
                try
                {
                    await Task.Run(() =>
                    {
                        xbc = new XboxConsole(Zt_XB1ToolsIP.Text);
                    });
                }
                catch (Exception ex)
               {
                   MessageBox.Show(ex.ToString());
               }
Thanks for your help to isolate the issue, it is really appreciated :)

Cheers!

comments

Urrioux wrote May 13, 2015 at 5:56 PM

To me It looks like it's not getting a valid value from whatever it's pulling the XDK version from, have you tried re-installing the XDK on that PC?

Perfo_Team_MTL wrote May 13, 2015 at 7:14 PM

Yes I did... I even removed the old March XDK and installed the new April one... same issue :(

amccalib wrote May 13, 2015 at 9:16 PM

Odd. If you haven't, try rebooting.

To determine the correct adapter to load, XboxConsole looks for the first xb* file in the XDK directory. It then pulls the version information off of that. If the user has added files to or in some way altered the XDK directory, I could see this error occurring. Try doing a full uninstall of the XDK, removing the XDK folder, and then re-installing.

If that still doesn't work, time to put on your debugging hat and set a breakpoint on CreateAdapterForInstalledXdk. :)

wrote May 13, 2015 at 9:53 PM

Perfo_Team_MTL wrote Jun 3, 2015 at 2:46 PM

Sorry to be late... user was on vacation!

But ya we tried to uninstall, rebooting, reinstall, rebooting... same issue. And it's only with that computer.

amccalib wrote Jun 3, 2015 at 4:55 PM

Have them try manually removing everything from the XDK installation folder ("C:\Program Files (x86)\Microsoft Durango XDK" by default) after uninstalling the XDK. Then re-install. My best guess is that there's an extra file in there that's causing problems.

Perfo_Team_MTL wrote Jun 3, 2015 at 6:30 PM

Yes that did the trick! It is now working as intended! Thanks alot for your help.. really appreciated! :)

wrote Jun 3, 2015 at 7:53 PM