Closed craigholm closed 4 years ago
It looks like it's choking on a water chest (at 438, 841) that spawned halfway into stone blocks. That seems like a Terraria worldgen bug--not sure how TEdit should handle that.
Also getting same crash, same OS, Tedit and Terraria version as Craigholm, searching chests for ice skates, crashing on 1.4 small journey world - Teditlog.txt dump:
06-07-2020 15:00:16: Starting TEdit 4.0.0.0
06-07-2020 15:00:16: OS: Microsoft Windows NT 6.2.9200.0
06-07-2020 15:00:17: Terraria v1.4.0.5
06-07-2020 15:00:17: Terraria Data Path: D:\Program Files (x86)\Steam\steamapps\common\Terraria\Content
06-07-2020 15:00:18: Creating Undo cache: C:\Users\zuvuy\AppData\Roaming\TEdit\undo_388970792
06-07-2020 15:00:50: Error - Object reference not set to an instance of an object.
at TEdit.Editor.Plugins.FindChestWithPlugin.Execute()
06-07-2020 15:00:50: Error - Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at GalaSoft.MvvmLight.Helpers.WeakAction1.Execute(T parameter) at GalaSoft.MvvmLight.Command.RelayCommand
1.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
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 TEdit.App.Main()
Describe the bug Trying to search the attached world with the Find Chest plugin results in an uncaught exception. This might be the same problem as #1088 but that bug was closed May 17.
To Reproduce
Expected behavior The list of matching chests is displayed. I've used this plugin without issue on other 1.4 worlds so it isn't something universal.
Desktop (please complete the following information): OS: Windows 10 1909 Version: TEdit 4.0 Beta 16 Terraria version: 1.4.0.5
Discarded_Ravine.zip