Jump to content
LaunchBox Community Forums

LB 13.16 - An error occurred while trying to import games: Object reference not set to an instance of an object.


SiriusVI
Go to solution Solved by faeran,

Recommended Posts

Ok, this is a new one. Usually only got the error importing roms, now I just got this right after LB started before I even did anything. Yesterday I was testing just one rom import without debugger got error, turned it on and still got the error, turned it off again and rom imported with no issues. Vlc is checked as media player in settings.  This is what I got today when I started LB.........

 

 

Object reference not set to an instance of an object.

App:     LaunchBox
Version: 13.16
Theme:   Neon Deluxe Arcade LB
Type:    System.NullReferenceException
Site:    Void <set_Source>b__0()
Source:  Meta.Vlc

   at Meta.Vlc.Wpf.ThreadSeparatedImage.<>c__DisplayClass27_0.<set_Source>b__0()
   at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
--- End of stack trace from previous location ---
   at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
   at System.Windows.Threading.Dispatcher.Invoke(Action callback)
   at Meta.Vlc.Wpf.ThreadSeparatedImage.set_Source(ImageSource value)
   at Meta.Vlc.Wpf.VlcPlayer.set_VideoSource(BitmapSource value)
   at Meta.Vlc.Wpf.VlcPlayer.VideoLockCallback(Void* opaque, Void** planes)

Recent Log:

   8:16:29 PM Exception

  • Like 1
Link to comment
Share on other sites

Since I have updated Launchbox to 13.16 (couple days ago), I have received the An error occurred while trying to import games: Object reference not set to an instance of an object when importing games into Launchbox. 

I have reinstalled Launchbox many times and receive this error message on random games I am trying to import.  This is very frustrating.image.png.20ec07e85f807bcaf2182448c1ebd352.png

Link to comment
Share on other sites

30 minutes ago, jvjmlb said:

Since I have updated Launchbox to 13.16 (couple days ago), I have received the An error occurred while trying to import games: Object reference not set to an instance of an object when importing games into Launchbox. 

I have reinstalled Launchbox many times and receive this error message on random games I am trying to import.  This is very frustrating.image.png.20ec07e85f807bcaf2182448c1ebd352.png

Merged your post to this thread so it's easier to get ahold of everyone having this issue at once. For those that have reported in and are using plugins such as the PCSX2 Configurator plugin. Could you please remove those and let me know if you're still having the issue?

Link to comment
Share on other sites

Tried importing 5 test roms and was still getting error with debugging off, uninstalled PCSX2 out of LB, still got error. Uninstalled  3 more emulators out of LB and left standalone version of Retroach , same error. Took  Retroarch out of LB and did a repair of all items in plugin manager, roms imported with no problems then. Added Retroarch back into LB and so far no errors. I'll keep importing different roms to see if the error comes back. 🤞 

Edit: The error came back after a bit when I added Retroarch in again, try again with no emulators linked to LB, see what happens I guess.....

Edited by CKID
  • Like 1
Link to comment
Share on other sites

to me only plugins present are the ones launchbox had by default , not seems having that name the ones there , if meant pcsx2 itself i did not installed any plugins , is stock after downloaded i did not add any other things and not seems having plugins by default

Link to comment
Share on other sites

Reached out to LB support, and they confirmed that some users are experiencing this issue, and are looking into it.  Searching the forums show that this was a bug identified during 16 beta testing that somehow did not get fixed and was introduced into the new release.  At this time, I am at a standstill rebuilding my LB system and very frustrated that this type of bug was allowed through their QA testing (given that it was identified during beta).

Link to comment
Share on other sites

4 hours ago, DanielHogan said:

to me only plugins present are the ones launchbox had by default , not seems having that name the ones there , if meant pcsx2 itself i did not installed any plugins , is stock after downloaded i did not add any other things and not seems having plugins by default

I have not added any new plugins or any other emulators.  I am getting this error with only Retroarch installed.

Link to comment
Share on other sites

I emailed customer support and they confirmed that this is a problem with the most recent version of LB.  They are "looking into" the issue, but told me that only a small portion of users are experiencing this.  If you are experiencing this email support so they know its more then just a handful of users.

Link to comment
Share on other sites

I don't have any external plugins installed besides the ones that Launchbox comes with. The issue happens with ANY platform. And like I said before, it seems to be random. Sometimes it throws the error and another times it doesn't. I also tried a clean installation and the same thing happens. If I revert back to 13.15 (or any previous version) everything works fine. So definitely something is broken on 13.16. And this is a very annoying bug because sometimes I need to try 10 times before it lets me import my games.

Link to comment
Share on other sites

55 minutes ago, jvjmlb said:

I emailed customer support and they confirmed that this is a problem with the most recent version of LB.  They are "looking into" the issue, but told me that only a small portion of users are experiencing this.  If you are experiencing this email support so they know its more then just a handful of users.

Or they can just message here were we've been tracking it since the day of release. I get your frustrated but needlessly bogging down the team trying to get the issue resolved seems like a pretty tactless use of your time and resources (as well as theirs).

  • Like 1
Link to comment
Share on other sites

17 hours ago, C-Beats said:

Merged your post to this thread so it's easier to get ahold of everyone having this issue at once. For those that have reported in and are using plugins such as the PCSX2 Configurator plugin. Could you please remove those and let me know if you're still having the issue?

Hi, just removed all plugins and sorry to say but it doesn't work any better. Good luck tho in your investigation.

Link to comment
Share on other sites

5 minutes ago, C-Beats said:

Where in the import process are you all running into this issue? At some point in the import wizard, or after the game list has appeared and you push OK to start the import?

For me, it happens at the very very end of the process when using the wizard, after the games list while Launchbox tries to import. I got that progress bar up there and bam, bug.

Edited by StarflashW666
Link to comment
Share on other sites

2 minutes ago, StarflashW666 said:

For me, it happens at the very very end of the process when using the wizard, after the games list.

Cool so after you push OK? Do you see the progress bar at the top starting the import process at all or no?

Link to comment
Share on other sites

Just now, C-Beats said:

Cool so after you push OK? Do you see the progress bar at the top starting the import process at all or no?

I edited my answer, but as soon as I see the progress bar at the top, it stops and give me the error message. So I see the very begining of the progress bar before it stops.

Link to comment
Share on other sites

Since I removed the standalone version of Retroarch link out of LB and have no other emulators in LB, so far I cant duplicate the import error anymore. I have been importing roms with leaving LB open plus also trying restarting LB after a rom import. So far no errors yet.  I'll keep trying with different roms to see what happens.

Edited by CKID
Link to comment
Share on other sites

Just an update from my setup and what I currently do as a workaround:

Again, my issues stem from there being Symbolic Liks inside my "Emulators" folder "M:\Launchbox\Emulators" (I believe it's only the symlinks inside my main Retroarch folder "M:\Launchbox\Emulators\RetroArch", but I'm not 100% sure).

As a workaround, I currently rename my "Emulators" folder to "Emulators_" whenever I want to change Emulator settings within Launchbox, import new games or change settings on a specific patform. I won't get the "Object reference not set to an instance of an object"-error when the EMulators folder is renamed to something else.

When I'm done editing, Irename the Emulators folder back and I can start launching games.

Edited by SiriusVI
Link to comment
Share on other sites

On 9/16/2024 at 10:53 PM, C-Beats said:

I have also been having this issue, I updated to the beta and have attached the log before.

  • 1) Is the location your importing from on the same drive as the LaunchBox install? - No
  • 2) Is the location your importing from IN the LaunchBox folder? - No
  • 3) What import method are you using to import your games? Import wizard, drag/drop, something else? - I've tried both drag and drop and the import wizard neither work.
  • 4) What folder is the games folder of the platform you're importing games to? Does that folder actually exist? - All games stored on another drive, folder exists.
  • 5) What platform are you importing for? What is it's scrape as value set as if not a default platform name? - Windows

 

Debug 2024-09-21 12-07-19 PM.log

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...