Editor Null Value Error

Moderator: ok666

Locked
JJjrS
Scoreville-User
Posts: 4
Joined: Thu 24. May 2018, 11:37

Editor Null Value Error

Post by JJjrS »

Hello, I've been trying to use the editor to try and eliminate some redundancies with my GirlPacks (Merge existing packs of the same girl and the such) and I've been running into an error very often, it reads:

"Value cannot be null.
Parameter name: value"

This error has been appearing constantly whenever I attempt to save a pack, even on occasions when I edit nothing in the pack and simply open it and try to save it.

Included is my SV Gamelog from one such attempt:

2018-05-26 04:57:35.848 #### Editor Version GirlPack Editor v3.0.6 started ####
2018-05-26 05:00:28.391 GirlPack Editor v3.0.6
2018-05-26 05:00:28.391 Value cannot be null.
Parameter name: value
2018-05-26 05:00:28.396 at System.IO.BinaryWriter.Write(String value)
at Scoreville.Shared.Serialization.PositionSerializer.Save(PositionData position, BinaryWriter writer, FileStream originalFile, IProgressDisplay progress, SerializationMode mode, Int32 bufferSize)
at Scoreville.Shared.Serialization.SceneSerializer.Save(SceneData scene, BinaryWriter writer, FileStream originalFile, IProgressDisplay progress, SerializationMode mode, Int32 bufferSize)
at Scoreville.Shared.Serialization.GirlSerializer.Save(GirlData girl, BinaryWriter writer, FileStream originalFile, IProgressDisplay progress, SerializationMode mode, Int32 bufferSize)
at Scoreville.Shared.Serialization.GirlPackSerializer.Save(GirlPack girlPack, BinaryWriter writer, FileStream originalFile, IProgressDisplay progress, SerializationMode mode, Int32 bufferSize)
at Scoreville.Shared.Serialization.GirlPackSerializer.Save(GirlPack girlPack, String filePath, IProgressDisplay progress, Int32 bufferSize, Boolean useTempPath)
at Scoreville.Editor.MainWindow.DoSavePack(Boolean askForName)
at Scoreville.Editor.MainWindow.HandleSaveFile(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
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.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
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.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
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.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
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)
2018-05-26 05:00:29.438 LocalVideoServer stopping
2018-05-26 05:00:29.438 LocalVideoServer stopped
2018-05-26 05:00:29.443 #### Editor closed ####

Anyone got any insight to this, as I get the feeling I'm missing something very obvious.
User avatar
ok666
Scoreville-User
Posts: 2552
Joined: Mon 25. Nov 2013, 15:16
Location: Germany

Re: Editor Null Value Error

Post by ok666 »

Try to edit each and every scene of the girlpack: Go into the scene editor and hit "OK". If the problem persists, look for the smallest affected girlpack and send it to me/provide a link for download.
JJjrS
Scoreville-User
Posts: 4
Joined: Thu 24. May 2018, 11:37

Re: Editor Null Value Error

Post by JJjrS »

ok666 wrote: Sat 26. May 2018, 10:15 Try to edit each and every scene of the girlpack: Go into the scene editor and hit "OK". If the problem persists, look for the smallest affected girlpack and send it to me/provide a link for download.
That seems to have solved the problem, thanks!
Locked