TexTools / FFXIV_TexTools_UI

GNU General Public License v3.0
381 stars 64 forks source link

[Bug]: TexTools crashing whenever I search for item #270

Closed moriannae closed 1 year ago

moriannae commented 1 year ago

Expected behavior?

I would be able to search for items and display models

Actual behavior?

TexTools crashes

Steps to reproduce the problem

  1. Open TexTools
  2. Type in search bar
  3. Get a crash
  4. ...

Error messages?

System.IO.EndOfStreamException: Unable to read beyond the end of the stream. at System.IO.Error.EndOfFile() at System.IO.BinaryReader.FillBuffer(Int32 numBytes) at System.IO.BinaryReader.ReadInt16() at xivModdingFramework.Cache.XivDependencyRoot.d15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at xivModdingFramework.Cache.XivDependencyRoot.d18.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at FFXIV_TexTools.Views.Metadata.MetadataView.d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at FFXIV_TexTools.Views.Metadata.MetadataView.d8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at FFXIV_TexTools.MainWindow.d__78.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at FFXIV_TexTools.App.Main()

What aspect of FFXIV TexTools were you using, and what Item were you interacting with?

Component: (Full model viewer, Item Converter, Importer, Modpack Creator (and which one), etc) Item: (Gear, Race, Furnishing, etc) Search bar

Has this has been confirmed as an actual bug?

Squall-Leonhart commented 1 year ago

This is not a textools issue, your game data is inconsistent.

moriannae commented 1 year ago

Okay, thank you, I'm sorry for posting it here. May I please get a hint on how to fix this issue? Once again apologies for wrong tag

Actually I think I've got it. I'm really sorry for wrongly reporting a bug, I wasn't quite sure what the message meant and assumed. I have found a fix now. Really sorry about this

Squall-Leonhart commented 1 year ago

in the discord we have instructions for correcting these sorts of issues, and people available to guide in anything the instructions don't help with.

But there is an index download feature in the Help menu of textools, usually downloading these and then running start over will correct the problem.