dyysam513
级别: 略有小成
精华主题: 0
发帖数量: 200 个
工控威望: 284 点
下载积分: 4380 分
在线时间: 98(小时)
注册时间: 2015-05-21
最后登录: 2026-03-18
查看dyysam513的 主题 / 回贴
楼主  发表于: 3天前
同事的程序我电脑打不开,打开提示报错。查找了资料提示是字体问题,把同事电脑的字体都复制到我电脑上了,打开还是报警。
把同事电脑该注册表项并导出合并至我的电脑了,但是打开还是报警。

需要怎么设置吗?


这是针对 WinCC flexible 工程设计系统自动生成的错误报告。

Home Edition  10.0.26200.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