2025/10/27 9:10:58 PreviewPicture url:https://gkb-erp-files.obs.cn-south-1.myhuaweicloud.com/oms/workorderattachment/cos202510250932102626/20251025093220196.jpg,获取异常:System.NullReferenceException: 未将对象引用设置到对象的实例。 在 Vayava.Erp.Bll.ProductHandleManager.PreviewPicture(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3333 2025/10/27 9:17:26 PreviewPicture url:https://gkb-erp-files.obs.cn-south-1.myhuaweicloud.com/oms/workorderattachment/cos202510261430581536/20251026143151728.jpg,获取异常:System.NullReferenceException: 未将对象引用设置到对象的实例。 在 Vayava.Erp.Bll.ProductHandleManager.PreviewPicture(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3333 2025/10/27 9:44:52 PreviewPicture url:C:/ERP/OMS/tempupload/image/productpicture/1296357/1b5af57b-3c42-4b11-ab6e-3a0eb887415b.jpg,获取异常:System.NotSupportedException: 不支持给定路径的格式。 在 System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) 在 System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath) 在 System.IO.Path.GetFullPath(String path) 在 System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName) 在 System.Drawing.IntSecurity.DemandReadFileIO(String fileName) 在 System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) 在 System.Drawing.Image.FromFile(String filename) 在 Vayava.Erp.Bll.ProductHandleManager.ReadImage(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3316 2025/10/27 14:43:01 PreviewPicture url:C:/ERP/OMS/tempupload/attachment/workorderattachment/COS2025102218364343F3/20251027144300652.jpg,获取异常:System.IO.FileNotFoundException: 未能找到文件“C:\ERP\OMS\tempupload\attachment\workorderattachment\COS2025102218364343F3\20251027144300652.jpg”。 文件名:“C:\ERP\OMS\tempupload\attachment\workorderattachment\COS2025102218364343F3\20251027144300652.jpg” 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.File.InternalReadAllBytes(String path, Boolean checkHost) 在 System.IO.File.ReadAllBytes(String path) 在 Vayava.Erp.Bll.ProductHandleManager.GetBytesFromPath(String path) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3395 在 Vayava.Erp.Bll.ProductHandleManager.ReadFile(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3260 2025/10/27 15:40:07 PreviewPicture url:C:/ERP/OMS/tempupload/attachment/workorderattachment/COS202510131507404A9A/20251027154006957.jpeg,获取异常:System.IO.FileNotFoundException: 未能找到文件“C:\ERP\OMS\tempupload\attachment\workorderattachment\COS202510131507404A9A\20251027154006957.jpeg”。 文件名:“C:\ERP\OMS\tempupload\attachment\workorderattachment\COS202510131507404A9A\20251027154006957.jpeg” 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.File.InternalReadAllBytes(String path, Boolean checkHost) 在 System.IO.File.ReadAllBytes(String path) 在 Vayava.Erp.Bll.ProductHandleManager.GetBytesFromPath(String path) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3395 在 Vayava.Erp.Bll.ProductHandleManager.ReadFile(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3260 2025/10/27 16:59:39 PreviewPicture url:C:/ERP/OMS/tempupload/image/productpicture/1296320/df6a820c-b942-4210-9041-c325411b964a.jpg,获取异常:System.NotSupportedException: 不支持给定路径的格式。 在 System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) 在 System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath) 在 System.IO.Path.GetFullPath(String path) 在 System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName) 在 System.Drawing.IntSecurity.DemandReadFileIO(String fileName) 在 System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) 在 System.Drawing.Image.FromFile(String filename) 在 Vayava.Erp.Bll.ProductHandleManager.ReadImage(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3316 2025/10/27 16:59:48 PreviewPicture url:C:/ERP/OMS/tempupload/image/pictureinproductdesc/1296320/706e9053-d00b-4cc2-84f8-d67f91900491.jpg,获取异常:System.NotSupportedException: 不支持给定路径的格式。 在 System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) 在 System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath) 在 System.IO.Path.GetFullPath(String path) 在 System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName) 在 System.Drawing.IntSecurity.DemandReadFileIO(String fileName) 在 System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) 在 System.Drawing.Image.FromFile(String filename) 在 Vayava.Erp.Bll.ProductHandleManager.ReadImage(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3316 2025/10/27 17:20:25 PreviewPicture url:C:/ERP/OMS/tempupload/attachment/workorderattachment/COS20251024152433A61F/20251027172024023.jpg,获取异常:System.IO.FileNotFoundException: 未能找到文件“C:\ERP\OMS\tempupload\attachment\workorderattachment\COS20251024152433A61F\20251027172024023.jpg”。 文件名:“C:\ERP\OMS\tempupload\attachment\workorderattachment\COS20251024152433A61F\20251027172024023.jpg” 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.File.InternalReadAllBytes(String path, Boolean checkHost) 在 System.IO.File.ReadAllBytes(String path) 在 Vayava.Erp.Bll.ProductHandleManager.GetBytesFromPath(String path) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3395 在 Vayava.Erp.Bll.ProductHandleManager.ReadFile(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3260 2025/10/27 18:39:45 PreviewPicture url:https://gkb-erp-img.obs.cn-south-1.myhuaweicloud.com/P/pictureinproductdesc/1296224/d8bcc278-75b8-4891-93db-f7246a3ea52c.jpg,获取异常:System.ArgumentException: 参数无效。 在 System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData) 在 System.Drawing.Image.FromStream(Stream stream) 在 Vayava.Erp.Bll.ProductHandleManager.ReadImage(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3309