开发者论坛

 找回密码
 注册 (请使用非IE浏览器)
查看: 2219|回复: 0

哪位好心大哥帮忙去DEVEXPRESS技术支持咨询一下这个问题?

[复制链接]

0

精华

27

贡献

248

赞扬

帖子
99
软币
995
在线时间
84 小时
注册时间
2014-9-21
发表于 2024-1-10 20:46:26 | 显示全部楼层 |阅读模式
---------------------------

---------------------------
Object reference not set to an instance of an object.

   at DevExpress.Utils.Html.Internal.CssFontProperties.GetUnit(Font parentFont, Font defaultFont)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlElementInfoBase.GetFont(CssStyle style, IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args, Font parentFont)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlElementInfoBase.GetFont(IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlElementInfoBase.CalcFont(IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlElementInfoBase.CalcProperties(IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlElementInfoBase.Calc(IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.Layout.DxHtmlFlexLayout.CalcElement(DxHtmlElementInfoBase element, IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args, Boolean columnLayout, Int32 offsetX, Int32 offsetY, Int32 forcedWidth, Int32 forcedHeight)

   at DevExpress.Utils.Html.Layout.DxHtmlFlexLayout.CalcRowLayout(DxHtmlElementInfoBase elementInfo, List`1 children, IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args, Int32& minElementWidth)

   at DevExpress.Utils.Html.Layout.DxHtmlFlexLayout.CalcCore(IDxHtmlGraphicsCache cache, DxHtmlElementInfoBase elementInfo, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlElementInfoBase.CalcBounds(IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlElementInfoBase.Calc(IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.Layout.DxHtmlFlowLayout.CalcCore(IDxHtmlGraphicsCache cache, DxHtmlElementInfoBase elementInfo, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlElementInfoBase.CalcBounds(IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlElementInfoBase.Calc(IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.Layout.DxHtmlFlowLayout.CalcCore(IDxHtmlGraphicsCache cache, DxHtmlElementInfoBase elementInfo, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlElementInfoBase.CalcBounds(IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlElementInfoBase.Calc(IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.Layout.DxHtmlFlowLayout.CalcCore(IDxHtmlGraphicsCache cache, DxHtmlElementInfoBase elementInfo, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlElementInfoBase.CalcBounds(IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlElementInfoBase.Calc(IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlRootElementInfo.Calc(IDxHtmlGraphicsCache cache, DxHtmlElementCalculationArgs args)

   at DevExpress.Utils.Html.ViewInfo.DxHtmlRootElementInfo.Calc(IDxHtmlGraphicsCache cache, Point location, Size size, Font defaultFont, Color defaultForeColor, DxHtmlLayoutChangeActions layoutChangeActions)

   at DevExpress.Utils.DirectXForm.Painter.DirectXFormPainterBase.CalcHtmlTemplateCore(GraphicsCacheDxHtmlWrapper htmlCache, Size size, Point offset)

   at DevExpress.Utils.DirectXForm.Painter.DirectXFormPainterBase.CalcHtmlTemplate(GraphicsCache cache)

   at DevExpress.Utils.DirectXForm.Painter.DirectXFormPainterBase.CheckHtml()

   at DevExpress.Utils.DirectXForm.Painter.DirectXFormPainterBase.CheckReady()

   at DevExpress.Skins.XtraForm.FormPainter.get_Margins()

   at DevExpress.Skins.XtraForm.FormPainter.get_CaptionBounds()

   at DevExpress.Skins.XtraForm.FormPainter.GetCaptionDrawBounds()

   at DevExpress.Utils.DirectXForm.Painter.DirectXFormPainterBase.DrawFrameNC(Message msg, Boolean drawBorders)

   at DevExpress.Skins.XtraForm.FormPainter.NCActivate(Message& msg)

   at DevExpress.Utils.DirectXForm.Painter.DirectXFormPainterBase.NCActivate(Message& msg)

   at DevExpress.Skins.XtraForm.FormPainter.DoWndProc(Message& msg)

   at DevExpress.XtraEditors.XtraForm.ProcessByPainter(Message& msg)

   at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)

   at DevExpress.XtraEditors.DirectXFormBase.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
---------------------------
确定   
---------------------------
我在用xtramessagebox弹出消息的时候用了HtmlTemplate,会偶发出现上面的错误

我版本是DEVEXPRESS 22.2.6版本,.NET 6.0

回复

使用道具 举报

Archiver|手机版|小黑屋|开发者网 ( 苏ICP备08004430号-2 )
版权所有:南京韵文教育信息咨询有限公司

GMT+8, 2024-12-22 09:11

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表