UWPHook icon indicating copy to clipboard operation
UWPHook copied to clipboard

Object reference not set to an instance of an object..

Open PhantomLiberty opened this issue 3 years ago • 10 comments

TTJFAGAl4J

I haven't been able to use this program for well over a year now. Every time I try to export a game it results in the above error. I've done a clean install of UWPHook. At my wits end trying to fix this. Any help is appreciated. Thanks

PhantomLiberty avatar Oct 13 '22 23:10 PhantomLiberty

Use this release : https://github.com/stevealexandre/UWPHook/releases/tag/2.15.1

stevealexandre avatar Oct 18 '22 20:10 stevealexandre

Same exact error, unfortunately.

¯\(ツ)/¯

PhantomLiberty avatar Oct 19 '22 16:10 PhantomLiberty

So your vdf files which contains the shortcut created should be corrupted I guess.

These files are presents in your steam directory under Steam\userdata<userid>\config\shortcuts.vdf. UWPHook doesn't matter about specific user, it created shortcuts in all userid. I suggest you to backup the file in each userid and use this button in settings to reset vdf files in setting of uwphook image This will unfortunately delete all existing shortcuts (created via steam or uwphook).

stevealexandre avatar Oct 19 '22 17:10 stevealexandre

Thanks. It appears to work now!

One thing though. I still get these errors upon launching the program. UWPHook works but not sure what the error is about. UWPHook_4ajuY1umG0

PhantomLiberty avatar Oct 19 '22 19:10 PhantomLiberty

which release and which game?

stevealexandre avatar Oct 19 '22 19:10 stevealexandre

Let me be more specific.

Upon launching UWPHook (The release you linked) I get that error. I can just hit okay and export games to Steam like normal afterwards. After exporting a game, the app list gets refreshed and the error displays again. Seems like it gives the error every time upon retrieving the app list.

PhantomLiberty avatar Oct 19 '22 20:10 PhantomLiberty

Hum interesting case. Run this script with powershell ise and give me the result please in a file https://github.com/stevealexandre/UWPHook/blob/master/UWPHook/Resources/GetAUMIDScript.ps1

stevealexandre avatar Oct 19 '22 20:10 stevealexandre

Hope I did this right. Lol

Result.txt

PhantomLiberty avatar Oct 19 '22 20:10 PhantomLiberty

Thanks, data looks great for me. Next thing you can do is to set logs severity level in TRACE mode in settings then restart the app to get again your error at the startup. Send me the log generated in application.log file with the most modified date (could be something application_00x.log)

stevealexandre avatar Oct 19 '22 20:10 stevealexandre