Post by Husky361 on Jul 13, 2024 16:32:01 GMT -5
Hello i need some help im trying to recolor this mesh that's cc but when i do i keep getting this error
i don't what to do or how to fix it
The Sims 4 Studio - Version 3.2.2.2
System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
---> System.NullReferenceException: Object reference not set to an instance of an object.
at S4Studio.Core.CloneEngine.CloneModel(CloneObjectOptions opts, IResourceProvider game, Boolean& swatchable, Model model, IDBPFPackage result, String hash_salt, String original_variant, ObjectDefinitionResource master_objd, List`1 variants) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\Core\CloneEngine.cs:line 1047
at S4Studio.Core.CloneEngine.CloneObj(IDBPFPackage result, String hash_salt, CloneObjectOptions opts, IStringTableCache global_stbl, IResourceProvider game, Sims4FileTable game_filetable, UInt64 instance, String creator, Boolean& swatchable) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\Core\CloneEngine.cs:line 769
at S4Studio.Shared.ObjectFeatureViewModel.Clone(IDBPFPackage package, String hash, IEnumerable`1 selected_prototypes) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\App\Features\ObjectFeatureViewModel.cs:line 108
at S4Studio.Shared.FeatureViewModel.<>c__DisplayClass28_0.<CreateItem>b__0() in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\App\Features\FeatureViewModel.cs:line 104
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
===========================================================
System.Runtime.InteropServices.COMException (0x800401D0): OpenClipboard Failed (0x800401D0 (CLIPBRD_E_CANT_OPEN))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)
at System.Windows.Clipboard.Flush()
at System.Windows.Clipboard.CriticalSetDataObject(Object data, Boolean copy)
at System.Windows.Clipboard.SetDataInternal(String format, Object data)
at System.Windows.Clipboard.SetText(String text, TextDataFormat format)
at System.Windows.Clipboard.SetText(String text)
at S4Studio.ErrorDialog.<>c__DisplayClass2_0.<Show>b__0(Object sender, RoutedEventArgs args) in \\mac\thes4studio\TheS4Studio\S4Studio\UI\ErrorDialog.xaml.cs:line 94
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(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)
i don't what to do or how to fix it
The Sims 4 Studio - Version 3.2.2.2
System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
---> System.NullReferenceException: Object reference not set to an instance of an object.
at S4Studio.Core.CloneEngine.CloneModel(CloneObjectOptions opts, IResourceProvider game, Boolean& swatchable, Model model, IDBPFPackage result, String hash_salt, String original_variant, ObjectDefinitionResource master_objd, List`1 variants) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\Core\CloneEngine.cs:line 1047
at S4Studio.Core.CloneEngine.CloneObj(IDBPFPackage result, String hash_salt, CloneObjectOptions opts, IStringTableCache global_stbl, IResourceProvider game, Sims4FileTable game_filetable, UInt64 instance, String creator, Boolean& swatchable) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\Core\CloneEngine.cs:line 769
at S4Studio.Shared.ObjectFeatureViewModel.Clone(IDBPFPackage package, String hash, IEnumerable`1 selected_prototypes) in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\App\Features\ObjectFeatureViewModel.cs:line 108
at S4Studio.Shared.FeatureViewModel.<>c__DisplayClass28_0.<CreateItem>b__0() in \\mac\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\App\Features\FeatureViewModel.cs:line 104
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
===========================================================
System.Runtime.InteropServices.COMException (0x800401D0): OpenClipboard Failed (0x800401D0 (CLIPBRD_E_CANT_OPEN))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)
at System.Windows.Clipboard.Flush()
at System.Windows.Clipboard.CriticalSetDataObject(Object data, Boolean copy)
at System.Windows.Clipboard.SetDataInternal(String format, Object data)
at System.Windows.Clipboard.SetText(String text, TextDataFormat format)
at System.Windows.Clipboard.SetText(String text)
at S4Studio.ErrorDialog.<>c__DisplayClass2_0.<Show>b__0(Object sender, RoutedEventArgs args) in \\mac\thes4studio\TheS4Studio\S4Studio\UI\ErrorDialog.xaml.cs:line 94
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(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)