Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

 

Can someone help me figure out what this error is and how to fix it. Thank you

 

Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')

App:     LaunchBox
Version: 13.22
Theme:   Default
Type:    System.ArgumentOutOfRangeException
Site:    Void ThrowArgumentOutOfRange_IndexMustBeLessException()
Source:  System.Private.CoreLib

   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.InvokeVirtualChooser(Object instance, IEnumerable`1 attr, Object dic, Boolean countdef2)
   at ReadableDictionaryFactory.SplitProject(RomImportTask instance, IEnumerable`1 attr, String dic, Boolean countdef2, ReadableDictionaryFactory)
   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.SortComparator(Object info)
   at PoolTransmitter.SplitProject(RomImportTask info, PoolTransmitter)
   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.Finish(RomImportTask task, Boolean autoImported)
   at LoggerDecider.SplitProject(RomImportTask task, Boolean autoImported, LoggerDecider)
   at Unbroken.LaunchBox.Windows.Desktop.MenuActions.ImportRomFilesMenuAction.RunExternalTask(RomImportTask task)
   at FactoryStructTracker.SplitProject(RomImportTask task, FactoryStructTracker)
   at Unbroken.LaunchBox.Windows.Desktop.LaunchBoxAppSpecific.RunRomImport(RomImportTask task)
   at WatcherExecutor.GenerateSetChooserTransmitter(Object, RomImportTask task, WatcherExecutor)
   at Unbroken.LaunchBox.Windows.Monitoring.GameDirectoryMonitor.PlayElementLocator()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

Recent Log:

   3:54:18 PM Exception

Posted

something is going wrong while u are importing games.
How many roms were you importing?
U could troubleshoot yourself by doing a smaller number of roms. Try and see if it happens with any particular rom or number of roms
U could also try if it has to do with the kind of media you are trying to download.
For instance, import the same set of roms...but this time import them without checking any artwork, leave them empty.

somewhere in LB code import it is expecting a certain item to be present but it isn't, which throws that error.

Anyway, this could have a broad array of causes. So either try pinpoint it yourself, or submit that error through the submit error button while it's being thrown.

Posted

Thank you for the reply.  I have installed a lot of roms. Is there  a way to tell which ones it is? I don't know much about this. Are you saying if i reinstall the ones that are causing the error it will fix it? Thanks again

 

Posted

No, an error is an error. So doing the same things which caused the error will never fix the error.
Just means you can pinpoint what it was u were doing which caused the error, and also have the ability to submit the error to the LB team so they can look into it.

To tell what it was, u need to recreate those steps and find out yourself. 
If it always happens for a particular platform of roms u are importing...then maybe it has to do with some of your roms (probably naming or some issue with them)
Like I said, could be anything really.

Based on just your error, LB team know part of the code which threw the error and can probably improve on it. But to pinpoint what exactly caused it, they probably need more context as to what u were doing and importing.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...