RETROBAT Official Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[RESOLVED] Error : object reference not set to an instance of an object

+3
hackashaq
NovaGB
LordvGrim
7 posters

Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty [RESOLVED] Error : object reference not set to an instance of an object

Post by LordvGrim 09/05/24, 02:30 am

object reference not set to an instance of an object

I can't run any games. I keep getting the error I wrote above. I did not complete the installation. Is there anyone who has knowledge about this and can help me? I couldn't find the solution to this problem anywhere. I reinstalled 3 times and the problem still persists.
LordvGrim
LordvGrim

Messages : 9
Date d'inscription : 2024-05-09

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by NovaGB 09/05/24, 03:15 am

LordvGrim wrote:object reference not set to an instance of an object

I can't run any games. I keep getting the error I wrote above. I did not complete the installation. Is there anyone who has knowledge about this and can help me? I couldn't find the solution to this problem anywhere. I reinstalled 3 times and the problem still persists.

I have the same exact problem.
NovaGB
NovaGB

Messages : 18
Date d'inscription : 2023-08-08

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by hackashaq 09/05/24, 04:45 am

NovaGB wrote:
LordvGrim wrote:object reference not set to an instance of an object

I can't run any games. I keep getting the error I wrote above. I did not complete the installation. Is there anyone who has knowledge about this and can help me? I couldn't find the solution to this problem anywhere. I reinstalled 3 times and the problem still persists.

I have the same exact problem.

Same problem here on 2 computers using 6.2.  All good after rolling back to 6.1.
It seems to be related to my PS3 controller, connected by DSHIDMINI + BTHPS3.  When I disconnect the controller I can launch ROMS using mouse/keyboard.
hackashaq
hackashaq

Messages : 3
Date d'inscription : 2024-04-14

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by tartifless 09/05/24, 10:03 am

Hello,
This is related with the controller or a device connected that is not known.
If you disconnect the device it will work fine indeed.

We are unable to reproduce this issue on our side, we would need your logs.


Last edited by tartifless on 09/05/24, 10:08 am; edited 1 time in total
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by tartifless 09/05/24, 10:08 am

Can you share the file emulatorlauncher.log located in "retrobat\emulationstation" folder ?


[RESOLVED] Error : object reference not set to an instance of an object Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by LordvGrim 09/05/24, 10:46 am

tartifless wrote:Can you share the file emulatorlauncher.log located in "retrobat\emulationstation" folder ?
https://dosya.co/hui20rumll4b/emulatorLauncher.log.html

2024-05-09 03:10:57.666 [INFO] ------------------------------------- -------------------------
2024-05-09 03:10:57.672 [INFO] [Startup] "D:\1 retroat\New folder\RetroBat\emulationstation\emulatorLauncher.exe" -gameinfo "C:\Users\Night\AppData\Local\Temp\ emulationstation.tmp\game.xml" -p1index 0 -p1guid 030000006d0400001dc2000000007200 -p1path "USB\VID_046D&PID_C21D&IG_00\6&2C7DFF5B&0&00" -p1name "Controller (Gamepad F310)" -p 1nbbuttons 11 -p1nbhats 1 -p1nbaxes 6 -system ports -emulator libretro -core - rom "D:\1 retroat\New folder\RetroBat\roms\ports\mrboom.libretro"
2024-05-09 03:10:57.825 [INFO] [Game] Mr Boom
2024-05-09 03:10:57.886 [ERROR] [LoadControllerConfiguration] Failed Object reference not set to an instance of an object.
2024-05-09 03:10:57.887 [EXCEPTION] [NullReferenceException] Object reference not set to an instance of an object.
2024-05-09 03:10:57.909 [STACK] [StackTrace] location: EmulatorLauncher.Common.Joysticks.SdlJoystickGuid.ConvertSdlGuid(String name, SdlVersion version, Boolean noRemoveDriver)
location: EmulatorLauncher.Controller.GetSdlGuid(SdlVersion version, Boolean noRemoveDriver)
location: EmulatorLauncher.Controller.<get_CompatibleSdlGuids>b__39_1(SdlVersion f)
location: System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
location: System.Linq.Enumerable.<DistinctIterator>d__64`1.MoveNext()
location: System.Collections.Generic.HashSet`1.UnionWith(IEnumerable`1 other)
location: System.Collections.Generic.HashSet`1..ctor(IEnumerable`1 collection, IEqualityComparer`1 comparer)
location: EmulatorLauncher.Controller.get_CompatibleSdlGuids()
location: EmulatorLauncher.Program.<>c__DisplayClass43_0.<LoadControllerConfiguration>b__5(InputConfig c)
location: System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
location: EmulatorLauncher.Program.LoadControllerConfiguration(String[] args)
2024-05-09 03:10:57.974 [INFO] [Generator] Using LibRetroGenerator
2024-05-09 03:10:58.386 [INFO] [SdlGameController] 1 SDL controller(s) connected
2024-05-09 03:10:58.399 [INFO] [SdlGameController] Loading SDL controller mapping : 0 => 0300BD846D0400001DC2000000007200, Controller (Gamepad F310), USB\VID_046D&PID_C21D&IG_00\6&2C7D FF5B&0&00
2024-05-09 03:10:58.629 [INFO] [Running] D:\1 retroat\New folder\RetroBat\emulators\retroarch\retroarch.exe -L "D:\1 retroat\New folder\RetroBat\emulators\ retroarch\cores\mrboom_libretro.dll"
2024-05-09 03:10:58.641 [ERROR] [CurrentDomain] Unhandled exception : Object reference not set to an instance of an object.
2024-05-09 03:10:58.642 [EXCEPTION] [NullReferenceException] Object reference not set to an instance of an object.
2024-05-09 03:10:58.642 [STACK] [StackTrace] location: EmulatorLauncher.Program.<>c.<Main>b__40_21(Controller c)
location: System.Linq.Enumerable.WhereListIterator`1.MoveNext()
location: System.Linq.Buffer`1..ctor(IEnumerable`1 source)
location: System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
location: EmulatorLauncher.Program.Main(String[] args)
2024-05-09 03:10:58.643 [ERROR] [Error] Object reference not set to an instance of an object.
LordvGrim
LordvGrim

Messages : 9
Date d'inscription : 2024-05-09

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by tartifless 09/05/24, 10:56 am

Can you try with your controller disconnected?


[RESOLVED] Error : object reference not set to an instance of an object Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by LordvGrim 09/05/24, 11:17 am

tartifless wrote:Hello,
This is related with the controller or a device connected that is not known.
If you disconnect the device it will work fine indeed.

We are unable to reproduce this issue on our side, we would need your logs.

it does not work
LordvGrim
LordvGrim

Messages : 9
Date d'inscription : 2024-05-09

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by LordvGrim 09/05/24, 11:26 am

When I remove the gamepad from the computer, the games seem to work
LordvGrim
LordvGrim

Messages : 9
Date d'inscription : 2024-05-09

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by tartifless 09/05/24, 12:02 pm

Your 2 last posts are contradictory, which is it ?


[RESOLVED] Error : object reference not set to an instance of an object Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by LordvGrim 09/05/24, 12:19 pm

tartifless wrote:Your 2 last posts are contradictory, which is it ?
As far as I understand, the problem occurs when I plug in a gamepad. Games work when the gamepad is not plugged into the computer. Unplugging and reconnecting the gamepad doesn't work. It's annoying to have to play games without a gamepad plugged into the computer.

LordvGrim
LordvGrim

Messages : 9
Date d'inscription : 2024-05-09

Inxayne likes this post

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by getupor 09/05/24, 12:25 pm

LordvGrim wrote:
tartifless wrote:Your 2 last posts are contradictory, which is it ?
As far as I understand, the problem occurs when I plug in a gamepad. Games work when the gamepad is not plugged into the computer. Unplugging and reconnecting the gamepad doesn't work. It's annoying to have to play games without a gamepad plugged into the computer.


Hello

You don't get it.
It's a bug, that have to be solved.
This step is just to confirm the bug (as noone in the team encounter this matter).


[RESOLVED] Error : object reference not set to an instance of an object Modo
getupor
getupor
Admin

Messages : 1388
Date d'inscription : 2020-10-04

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by hackashaq 09/05/24, 03:14 pm

getupor wrote:
LordvGrim wrote:
tartifless wrote:Your 2 last posts are contradictory, which is it ?
As far as I understand, the problem occurs when I plug in a gamepad. Games work when the gamepad is not plugged into the computer. Unplugging and reconnecting the gamepad doesn't work. It's annoying to have to play games without a gamepad plugged into the computer.


Hello

You don't get it.
It's a bug, that have to be solved.
This step is just to confirm the bug (as noone in the team encounter this matter).

Here is RetroBat 6.2 emulatorLauncher.log, after successfully launching MRBOOM without connecting my PS3 controller:
Code:
2024-05-09 08:56:40.363 [INFO]      --------------------------------------------------------------
2024-05-09 08:56:40.373 [INFO]      [Startup] "C:\RetroBat\emulationstation\emulatorLauncher.exe"  -gameinfo "C:\Users\XXX\AppData\Local\Temp\emulationstation.tmp\game.xml"  -system ports -emulator libretro -core  -rom "C:\RetroBat\roms\ports\mrboom.libretro"
2024-05-09 08:56:40.448 [INFO]      [Game] Mr Boom
2024-05-09 08:56:40.617 [INFO]      [Generator] Using LibRetroGenerator
2024-05-09 08:56:41.220 [INFO]      [Running] C:\RetroBat\emulators\retroarch\retroarch.exe -L "C:\RetroBat\emulators\retroarch\cores\mrboom_libretro.dll"

Here is RetroBat 6.2 emulatorLauncher.log, after unsuccessfully launching MRBOOM with my PS3 controller connected:
Code:
2024-05-09 08:59:48.106 [INFO]      --------------------------------------------------------------
2024-05-09 08:59:48.111 [INFO]      [Startup] "C:\RetroBat\emulationstation\emulatorLauncher.exe"  -gameinfo "C:\Users\XXX\AppData\Local\Temp\emulationstation.tmp\game.xml" -p1index 0 -p1guid 03000000317300000200000000007200 -p1path "BTHPS3BUS\{53F88889-1AAF-4353-A047-556B69EC6DA6}&DEV&VID_054C&PID_0268\8&229C6BE0&0&BTHPS3_DEVICE_01" -p1name "Nefarius Software Solutions e.U. DS3 Compatible HID Device" -p1nbbuttons 16 -p1nbhats 1 -p1nbaxes 6  -system ports -emulator libretro -core  -rom "C:\RetroBat\roms\ports\mrboom.libretro"
2024-05-09 08:59:48.192 [INFO]      [Game] Mr Boom
2024-05-09 08:59:48.357 [ERROR]     [LoadControllerConfiguration] Failed Object reference not set to an instance of an object.
2024-05-09 08:59:48.357 [EXCEPTION] [NullReferenceException] Object reference not set to an instance of an object.
2024-05-09 08:59:48.357 [STACK]     [StackTrace] at EmulatorLauncher.Common.Joysticks.SdlJoystickGuid.ConvertSdlGuid(String name, SdlVersion version, Boolean noRemoveDriver)
   at EmulatorLauncher.Controller.GetSdlGuid(SdlVersion version, Boolean noRemoveDriver)
   at EmulatorLauncher.Controller.<get_CompatibleSdlGuids>b__39_1(SdlVersion f)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.<DistinctIterator>d__64`1.MoveNext()
   at System.Collections.Generic.HashSet`1.UnionWith(IEnumerable`1 other)
   at System.Collections.Generic.HashSet`1..ctor(IEnumerable`1 collection, IEqualityComparer`1 comparer)
   at EmulatorLauncher.Controller.get_CompatibleSdlGuids()
   at EmulatorLauncher.Program.<>c__DisplayClass43_0.<LoadControllerConfiguration>b__5(InputConfig c)
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at EmulatorLauncher.Program.LoadControllerConfiguration(String[] args)
2024-05-09 08:59:48.493 [INFO]      [Generator] Using LibRetroGenerator
2024-05-09 08:59:49.075 [INFO]      [SdlGameController] 1 SDL controller(s) connected
2024-05-09 08:59:49.084 [INFO]      [SdlGameController] Loading SDL controller mapping : 0 => 0300D823317300000200000000007200, Nefarius Software Solutions e.U. DS3 Compatible HID Device, BTHPS3BUS\{53F88889-1AAF-4353-A047-556B69EC6DA6}&DEV&VID_054C&PID_0268\8&229C6BE0&0&BTHPS3_DEVICE_01
2024-05-09 08:59:49.309 [INFO]      [Running] C:\RetroBat\emulators\retroarch\retroarch.exe -L "C:\RetroBat\emulators\retroarch\cores\mrboom_libretro.dll"
2024-05-09 08:59:49.319 [ERROR]     [CurrentDomain] Unhandled exception : Object reference not set to an instance of an object.
2024-05-09 08:59:49.319 [EXCEPTION] [NullReferenceException] Object reference not set to an instance of an object.
2024-05-09 08:59:49.319 [STACK]     [StackTrace] at EmulatorLauncher.Program.<>c.<Main>b__40_21(Controller c)
   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at EmulatorLauncher.Program.Main(String[] args)
2024-05-09 08:59:49.319 [ERROR]     [Error] Object reference not set to an instance of an object.

Here is RetroBat 6.1 emulatorLauncher.log, after successfully launching MRBOOM with my PS3 controller connected:
Code:
2024-05-09 09:04:15.769 [INFO]      --------------------------------------------------------------
2024-05-09 09:04:15.776 [INFO]      [Startup] "D:\Users\XXX\Documents\RetroBat\emulationstation\emulatorLauncher.exe"  -gameinfo "C:\Users\XXX\AppData\Local\Temp\emulationstation.tmp\game.xml" -p1index 0 -p1guid 03000000317300000200000000007200 -p1path "BTHPS3BUS\{53F88889-1AAF-4353-A047-556B69EC6DA6}&DEV&VID_054C&PID_0268\8&229C6BE0&0&BTHPS3_DEVICE_01" -p1name "Nefarius Software Solutions e.U. DS3 Compatible HID Device" -p1nbbuttons 16 -p1nbhats 1 -p1nbaxes 6  -system ports -emulator libretro -core  -rom "D:\Users\XXX\Documents\RetroBat\roms\ports\mrboom.libretro"
2024-05-09 09:04:15.852 [INFO]      [Game] Mr Boom
2024-05-09 09:04:16.139 [INFO]      [Generator] Using LibRetroGenerator
2024-05-09 09:04:16.821 [INFO]      [SdlGameController] 1 SDL controller(s) connected
2024-05-09 09:04:16.829 [INFO]      [SdlGameController] Loading SDL controller mapping : 0 => 0300D823317300000200000000007200, Nefarius Software Solutions e.U. DS3 Compatible HID Device, BTHPS3BUS\{53F88889-1AAF-4353-A047-556B69EC6DA6}&DEV&VID_054C&PID_0268\8&229C6BE0&0&BTHPS3_DEVICE_01
2024-05-09 09:04:17.055 [INFO]      [Running] D:\Users\XXX\Documents\RetroBat\emulators\retroarch\retroarch.exe -L "D:\Users\XXX\Documents\RetroBat\emulators\retroarch\cores\mrboom_libretro.dll"
hackashaq
hackashaq

Messages : 3
Date d'inscription : 2024-04-14

getupor likes this post

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by LordvGrim 09/05/24, 04:07 pm

getupor wrote:
LordvGrim wrote:
tartifless wrote:Your 2 last posts are contradictory, which is it ?
As far as I understand, the problem occurs when I plug in a gamepad. Games work when the gamepad is not plugged into the computer. Unplugging and reconnecting the gamepad doesn't work. It's annoying to have to play games without a gamepad plugged into the computer.


Hello

You don't get it.
It's a bug, that have to be solved.
This step is just to confirm the bug (as noone in the team encounter this matter).
2024-05-09 03:10:57.666 [INFO] ------------------------------------- -------------------------
2024-05-09 03:10:57.672 [INFO] [Startup] "D:\1 retroat\New folder\RetroBat\emulationstation\emulatorLauncher.exe" -gameinfo "C:\Users\Night\AppData\Local\Temp\ emulationstation.tmp\game.xml" -p1index 0 -p1guid 030000006d0400001dc2000000007200 -p1path "USB\VID_046D&PID_C21D&IG_00\6&2C7DFF5B&0&00" -p1name "Controller (Gamepad F310)" -p 1nbbuttons 11 -p1nbhats 1 -p1nbaxes 6 -system ports -emulator libretro -core - rom "D:\1 retroat\New folder\RetroBat\roms\ports\mrboom.libretro"
2024-05-09 03:10:57.825 [INFO] [Game] Mr Boom
2024-05-09 03:10:57.886 [ERROR] [LoadControllerConfiguration] Failed Object reference not set to an instance of an object.
2024-05-09 03:10:57.887 [EXCEPTION] [NullReferenceException] Object reference not set to an instance of an object.
2024-05-09 03:10:57.909 [STACK] [StackTrace] location: EmulatorLauncher.Common.Joysticks.SdlJoystickGuid.ConvertSdlGuid(String name, SdlVersion version, Boolean noRemoveDriver)
location: EmulatorLauncher.Controller.GetSdlGuid(SdlVersion version, Boolean noRemoveDriver)
location: EmulatorLauncher.Controller.<get_CompatibleSdlGuids>b__39_1(SdlVersion f)
location: System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
location: System.Linq.Enumerable.<DistinctIterator>d__64`1.MoveNext()
location: System.Collections.Generic.HashSet`1.UnionWith(IEnumerable`1 other)
location: System.Collections.Generic.HashSet`1..ctor(IEnumerable`1 collection, IEqualityComparer`1 comparer)
location: EmulatorLauncher.Controller.get_CompatibleSdlGuids()
location: EmulatorLauncher.Program.<>c__DisplayClass43_0.<LoadControllerConfiguration>b__5(InputConfig c)
location: System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
location: EmulatorLauncher.Program.LoadControllerConfiguration(String[] args)
2024-05-09 03:10:57.974 [INFO] [Generator] Using LibRetroGenerator
2024-05-09 03:10:58.386 [INFO] [SdlGameController] 1 SDL controller(s) connected
2024-05-09 03:10:58.399 [INFO] [SdlGameController] Loading SDL controller mapping : 0 => 0300BD846D0400001DC2000000007200, Controller (Gamepad F310), USB\VID_046D&PID_C21D&IG_00\6&2C7D FF5B&0&00
2024-05-09 03:10:58.629 [INFO] [Running] D:\1 retroat\New folder\RetroBat\emulators\retroarch\retroarch.exe -L "D:\1 retroat\New folder\RetroBat\emulators\ retroarch\cores\mrboom_libretro.dll"
2024-05-09 03:10:58.641 [ERROR] [CurrentDomain] Unhandled exception : Object reference not set to an instance of an object.
2024-05-09 03:10:58.642 [EXCEPTION] [NullReferenceException] Object reference not set to an instance of an object.
2024-05-09 03:10:58.642 [STACK] [StackTrace] location: EmulatorLauncher.Program.<>c.<Main>b__40_21(Controller c)
location: System.Linq.Enumerable.WhereListIterator`1.MoveNext()
location: System.Linq.Buffer`1..ctor(IEnumerable`1 source)
location: System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
location: EmulatorLauncher.Program.Main(String[] args)
2024-05-09 03:10:58.643 [ERROR] [Error] Object reference not set to an instance of an object.
LordvGrim
LordvGrim

Messages : 9
Date d'inscription : 2024-05-09

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by NovaGB 09/05/24, 04:42 pm

i noticed this last night when streaming via moonlight from my pc to my Steam Deck, it seems the Steam Deck controller is giving this error for me because on my pc this morning with my steam deck off the games seem to be working
NovaGB
NovaGB

Messages : 18
Date d'inscription : 2023-08-08

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by JustKeepingBusy 09/05/24, 10:56 pm

Hi,

I have the same problem with 6.2.

Launching without my PS3 controller connected starts the game and produces this emulatorlauncher.log:
Code:
2024-05-09 21:36:03.309 [INFO]      --------------------------------------------------------------
2024-05-09 21:36:03.311 [INFO]      [Startup] "H:\Emulation\RetroBat\emulationstation\emulatorLauncher.exe"  -gameinfo "C:\Users\Stu\AppData\Local\Temp\emulationstation.tmp\game.xml"  -system ps2 -emulator pcsx2 -core auto -rom "H:\Emulation\RetroBat\roms\ps2\Spy vs. Spy (Europe) (En,Fr,De,Es)\Spy vs. Spy (Europe) (En,Fr,De,Es).iso"
2024-05-09 21:36:03.337 [INFO]      [Game] Spy vs. Spy
2024-05-09 21:36:03.482 [INFO]      [Generator] Using Pcsx2Generator
2024-05-09 21:36:03.762 [INFO]      [SdlGameController] 0 SDL controller(s) connected
2024-05-09 21:36:03.816 [INFO]      [PadToKey] Loaded H:\Emulation\RetroBat\emulationstation\.emulationstation\es_padtokey.cfg
2024-05-09 21:36:03.819 [INFO]      [Running] H:\Emulation\RetroBat\emulators\pcsx2\pcsx2-qt.exe -batch -nogui "H:\Emulation\RetroBat\roms\ps2\Spy vs. Spy (Europe) (En,Fr,De,Es)\Spy vs. Spy (Europe) (En,Fr,De,Es).iso"

And then launching the same game with the PS3 controller connected produces this log file:
Code:
2024-05-09 21:37:39.743 [INFO]      --------------------------------------------------------------
2024-05-09 21:37:39.745 [INFO]      [Startup] "H:\Emulation\RetroBat\emulationstation\emulatorLauncher.exe"  -gameinfo "C:\Users\Stu\AppData\Local\Temp\emulationstation.tmp\game.xml" -p1index 0 -p1guid 03000000317300000200000000007200 -p1path "USB\VID_054C&PID_0268\8&F2CB6FA&0&10" -p1name "Nefarius Software Solutions e.U. DS3 Compatible HID Device" -p1nbbuttons 16 -p1nbhats 1 -p1nbaxes 6  -system ps2 -emulator pcsx2 -core auto -rom "H:\Emulation\RetroBat\roms\ps2\Spy vs. Spy (Europe) (En,Fr,De,Es)\Spy vs. Spy (Europe) (En,Fr,De,Es).iso"
2024-05-09 21:37:39.771 [INFO]      [Game] Spy vs. Spy
2024-05-09 21:37:39.903 [ERROR]    [LoadControllerConfiguration] Failed Object reference not set to an instance of an object.
2024-05-09 21:37:39.904 [EXCEPTION] [NullReferenceException] Object reference not set to an instance of an object.
2024-05-09 21:37:39.905 [STACK]    [StackTrace] at EmulatorLauncher.Common.Joysticks.SdlJoystickGuid.ConvertSdlGuid(String name, SdlVersion version, Boolean noRemoveDriver)
  at EmulatorLauncher.Controller.GetSdlGuid(SdlVersion version, Boolean noRemoveDriver)
  at EmulatorLauncher.Controller.<get_CompatibleSdlGuids>b__39_1(SdlVersion f)
  at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
  at System.Linq.Enumerable.<DistinctIterator>d__64`1.MoveNext()
  at System.Collections.Generic.HashSet`1.UnionWith(IEnumerable`1 other)
  at System.Collections.Generic.HashSet`1..ctor(IEnumerable`1 collection, IEqualityComparer`1 comparer)
  at EmulatorLauncher.Controller.get_CompatibleSdlGuids()
  at EmulatorLauncher.Program.<>c__DisplayClass43_0.<LoadControllerConfiguration>b__5(InputConfig c)
  at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
  at EmulatorLauncher.Program.LoadControllerConfiguration(String[] args)
2024-05-09 21:37:40.042 [INFO]      [Generator] Using Pcsx2Generator
2024-05-09 21:37:40.327 [INFO]      [SdlGameController] 1 SDL controller(s) connected
2024-05-09 21:37:40.331 [INFO]      [SdlGameController] Loading SDL controller mapping : 0 => 0300D823317300000200000000007200, Nefarius Software Solutions e.U. DS3 Compatible HID Device, USB\VID_054C&PID_0268\8&F2CB6FA&0&10
2024-05-09 21:37:40.374 [INFO]      [PadToKey] Loaded H:\Emulation\RetroBat\emulationstation\.emulationstation\es_padtokey.cfg
2024-05-09 21:37:40.376 [INFO]      [Running] H:\Emulation\RetroBat\emulators\pcsx2\pcsx2-qt.exe -batch -nogui "H:\Emulation\RetroBat\roms\ps2\Spy vs. Spy (Europe) (En,Fr,De,Es)\Spy vs. Spy (Europe) (En,Fr,De,Es).iso"
2024-05-09 21:37:40.379 [ERROR]    [CurrentDomain] Unhandled exception : Object reference not set to an instance of an object.
2024-05-09 21:37:40.380 [EXCEPTION] [NullReferenceException] Object reference not set to an instance of an object.
2024-05-09 21:37:40.380 [STACK]    [StackTrace] at EmulatorLauncher.Program.<>c.<Main>b__40_21(Controller c)
  at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
  at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
  at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
  at EmulatorLauncher.Program.Main(String[] args)
2024-05-09 21:37:40.380 [ERROR]    [Error] Object reference not set to an instance of an object.

As someone mentioned above, it used to work correctly in v6.1.

Hope that helps the bug hunt.

JustKeepingBusy
JustKeepingBusy

Messages : 2
Date d'inscription : 2024-05-09

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by tartifless 10/05/24, 12:51 am

Hello both of you.

Can yo, in your retrobat 6.2 installation:
1) Download the following file and uncompress it in your retrobat\emulationstation folder:
https://drive.google.com/open?id=1oetHD-VcH_uf_bufQv3DbwfR687lpjSL&usp=drive_fs

2) Run a game again (it will still give you the same error)

3) Send us emulatorlauncher.log file again

This will help us understand where the error is by giving us more logs.

Regards


[RESOLVED] Error : object reference not set to an instance of an object Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

hackashaq likes this post

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by hackashaq 10/05/24, 05:29 am

tartifless wrote:Hello both of you.

Can yo, in your retrobat 6.2 installation:
1) Download the following file and uncompress it in your retrobat\emulationstation folder:
https://drive.google.com/open?id=1oetHD-VcH_uf_bufQv3DbwfR687lpjSL&usp=drive_fs

2) Run a game again (it will still give you the same error)

3) Send us emulatorlauncher.log file again

This will help us understand where the error is by giving us more logs.

Regards

log too big to attach here, sent via PM
hackashaq
hackashaq

Messages : 3
Date d'inscription : 2024-04-14

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by LordvGrim 10/05/24, 08:35 am

tartifless wrote:Hello both of you.

Can yo, in your retrobat 6.2 installation:
1) Download the following file and uncompress it in your retrobat\emulationstation folder:
https://drive.google.com/open?id=1oetHD-VcH_uf_bufQv3DbwfR687lpjSL&usp=drive_fs

2) Run a game again (it will still give you the same error)

3) Send us emulatorlauncher.log file again

This will help us understand where the error is by giving us more logs.

Regards

https://dosya.co/6jzc0501p04r/emulatorLauncher.log.html
Can you download it from here and have a look?
LordvGrim
LordvGrim

Messages : 9
Date d'inscription : 2024-05-09

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by tartifless 10/05/24, 09:10 am

You have far too many controllers connected, one of them is causing the issue


[RESOLVED] Error : object reference not set to an instance of an object Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by LordvGrim 10/05/24, 10:19 am

tartifless wrote:You have far too many controllers connected, one of them is causing the issue
I only use one gamepad.
LordvGrim
LordvGrim

Messages : 9
Date d'inscription : 2024-05-09

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by tartifless 10/05/24, 11:25 am

Hello,
Try this fix :
https://drive.google.com/open?id=1ofREDVypvye_JGfkpaggBUfdYd-5sApd&usp=drive_fs

As usual ==> decompress in retrobat\emulationstation


[RESOLVED] Error : object reference not set to an instance of an object Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by LordvGrim 10/05/24, 12:08 pm

tartifless wrote:Hello,
Try this fix :
https://drive.google.com/open?id=1ofREDVypvye_JGfkpaggBUfdYd-5sApd&usp=drive_fs

As usual ==> decompress in retrobat\emulationstation
Thank you so much for your hard work and help. My problem is solved.
LordvGrim
LordvGrim

Messages : 9
Date d'inscription : 2024-05-09

Lorenzolamas, Inxayne and hackashaq like this post

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by tartifless 10/05/24, 12:28 pm

Ok cool we can publish the fix on the wiki


[RESOLVED] Error : object reference not set to an instance of an object Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

hackashaq and LordvGrim like this post

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by JustKeepingBusy 10/05/24, 11:23 pm

Hi,

I can confirm that the fix worked for me as well, so thank you very much.

The fix did change my RetroArch language to French, but it was easily solved by hitting F1 to Open RetroArch pressing B to go to the main menu, and then selecting "réglagles", "Utilisateur", "Langue", and change "Français" for whatever language you want.

Thanks for the support and a great program.

JustKeepingBusy
JustKeepingBusy

Messages : 2
Date d'inscription : 2024-05-09

hackashaq and LordvGrim like this post

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by The_Pants 04/10/24, 05:08 am

Having the same error but just when launching 3ds games in any emu. Link to fix above is giving me a 404.
The_Pants
The_Pants

Messages : 1
Date d'inscription : 2024-10-04

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by tartifless 04/10/24, 07:26 am

The_Pants wrote:Having the same error but just when launching 3ds games in any emu. Link to fix above is giving me a 404.

3ds games currently only work with bezels enabled, this will be fixed in next release
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

Back to top Go down

[RESOLVED] Error : object reference not set to an instance of an object Empty Re: [RESOLVED] Error : object reference not set to an instance of an object

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum