Exception Error when [Object] > [Load objects from file]

Description

  1. After capturing the screen, I drew an arrow.

  2. Save the object as a .gst file

  3. Load the .gst file again, the following error occurs.

Please see attached images which I got screenshot.

 

Software version: 1.3.0 (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2024-03-11 15:37:36 +09:00
OS: Windows 10 2009 x64 build 19044
GDI object count: 200
User object count: 128

Exception: System.ServiceModel.Security.SecurityAccessDeniedException
Message: Suspicious type in .greenshot file: Greenshot.Editor, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null - Greenshot.Editor.Drawing.ArrowContainer+ArrowHeadCombination

Stack:
at Greenshot.Editor.Helpers.BinaryFormatterHelper.BindToType(String assemblyName, String typeName) in C:\Users\USER\Downloads\greenshot-release-1.3\src\Greenshot.Editor\Helpers\BinaryFormatterHelper.cs:line 120
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Bind(String assemblyString, String typeString)
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at Greenshot.Editor.Drawing.Surface.LoadElementsFromStream(Stream streamRead) in C:\Users\USER\Downloads\greenshot-release-1.3\src\Greenshot.Editor\Drawing\Surface.cs:line 739
at Greenshot.Editor.Forms.ImageEditorForm.LoadElementsToolStripMenuItemClick(Object sender, EventArgs e) in C:\Users\USER\Downloads\greenshot-release-1.3\src\Greenshot.Editor\Forms\ImageEditorForm.cs:line 1536
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Configuration dump:

Environment

Windows 10

Attachments

5

Activity

Details

Assignee

Reporter

Affects versions

Components

Priority

Created March 11, 2024 at 6:53 AM
Updated March 15, 2024 at 6:51 AM