Error at startup

Aug 25, 2011 at 6:51 AM

************** Error Report **************System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'AutoLoL.Controls.ChampionSelectControl' that matches the specified binding constraints threw an exception. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: startIndex   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)   at System.BitConverter.ToInt16(Byte[] value, Int32 startIndex)   at AutoLoL.Logic.Parsers.InibinParser.ParseBytes(Byte[] buffer)   at AutoLoL.Logic.Repositories.RafChampionRepository.GetAll()   at AutoLoL.Controls.ChampionSelectControl..ctor()   --- End of inner exception stack trace ---   at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)   at AutoLoL.Tabs.ModelTab.InitializeComponent()   at AutoLoL.Tabs.ModelTab..ctor()   at AutoLoL.MainWindow.SetDataTabsEnabled(Boolean isEnabled)   at AutoLoL.MainWindow.DataBackgroundWorker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)   at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

 

Any help Appreciated 

Aug 28, 2011 at 10:02 AM
Edited Aug 28, 2011 at 10:02 AM

************** Error Report **************
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'AutoLoL.Controls.ChampionSelectControl' that matches the specified binding constraints threw an exception. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.BitConverter.ToInt16(Byte[] value, Int32 startIndex)
   at AutoLoL.Logic.Parsers.InibinParser.ParseBytes(Byte[] buffer)
   at AutoLoL.Logic.Repositories.RafChampionRepository.GetAll()
   at AutoLoL.Controls.ChampionSelectControl..ctor()
   --- End of inner exception stack trace ---
   at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at AutoLoL.Tabs.ModelTab.InitializeComponent()
   at AutoLoL.Tabs.ModelTab..ctor()
   at AutoLoL.MainWindow.SetDataTabsEnabled(Boolean isEnabled)
   at AutoLoL.MainWindow.DataBackgroundWorker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

This is the error I am getting as well, it just started out of nowhere a couple of days ago, and I can't start Autolol.

And here is the error I get when I try to start a newly downloaded copy.

************** Error Report **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at AutoLoL.Logic.Repositories.LocalMasteryRepository.GetMasteryBuild()
   at AutoLoL.MainWindow..ctor()
   at AutoLoL.SingleInstance.SingleInstanceApplication.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

No idea how to resolve this.

Thanks in advance.

/george

Sep 12, 2011 at 10:15 PM

I have the exact same issue. I created a new partition on my hard drive and extracted the original zip there, same issue. Happens in compatibility mode (or standard). Has anyone found a reason or a workaround yet?