WinCC flexible SMART V5前几天做程序时还正常,编译和模拟都没问题,今天打开就报错,用安装程序修复了还是不行,报错内容如下:
这是针对 WinCC flexible 工程设计系统自动生成的错误报告。
Professional 10.0.19045.0
产品版本: WinCC flexible SMART V5; V 5.00; V 5.0.0.0 (35.05.02)
System.NullReferenceException
Object reference not set to an instance of an object.
Exception Source
Common.Globalization
Exception Target Site
Boolean TryGetFontLinks(System.String, System.Collections.Generic.ICollection`1[Siemens.Simatic.Hmi.Utah.Common.Globalization.FontFileInfo.FontLinkInfo] ByRef)
Exception Stack Trace
at Siemens.Simatic.Hmi.Utah.Common.Globalization.FontFileInfo.FontLinkInfoReader.TryGetFontLinks(String fontFamilyName, ICollection`1& fontInfos)
at Siemens.Simatic.Hmi.Utah.Common.Services.FontFileInfoService.TryGetFontLinks(String fontFamilyName, ICollection`1& fontInfos)
at Siemens.Simatic.Hmi.Utah.Common.Globalization.FontFileInfo.FontInfo.GetFontLinkInfos(Font rawFont)
at Siemens.Simatic.Hmi.Utah.GraphXWeb.RenderLayer.RenderElementHelper.GetFontFallback(Font font, String defaultFontName)
at Siemens.Simatic.Hmi.Utah.GraphXWeb.RenderLayer.TextContent.UpdateFontFallBackList()
at Siemens.Simatic.Hmi.Utah.GraphXWeb.RenderLayer.TextContent.OnInitialized()
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.WebView.IpcSender.<>c__DisplayClass12_0.<NotifyUnhandledException>b__1()
at Microsoft.AspNetCore.Components.WebView.WindowsForms.WindowsFormsDispatcher.InvokeAsync(Action workItem)
at Microsoft.AspNetCore.Components.WebView.WindowsForms.WindowsFormsDispatcher.<>c.<.cctor>b__8_0(Exception exception)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
End Exception
