Unexpected error thrown by the Method Editor

Solution Number: 1242
Title: Unexpected error thrown by the Method Editor
Applies to: COMSOL Multiphysics, COMSOL Server
Versions: All versions
Categories: Error Messages

Problem Description

我在 Windows 7 上运行 COMSOL Multiphysics。当我在“App 开发器”中尝试访问“方法编辑器”时,发生意外错误。

打开日志文件,堆栈跟踪顶部如下所示: 2018-01-10T15:33:59.408+01:00 The invocation of the constructor on type 'ActiproSoftware.Windows.Controls.SyntaxEditor.SyntaxEditor' that matches the specified binding constraints threw an exception.
2018-01-10T15:33:59.413+01:00 at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)


这个问题是由 Microsoft 于 2018 年 1 月 9 日发布的 .NET Framework January 2018 Security and Quality Rollup (KB4055532) 引起的。

Microsoft 于 1 月 18 日发布了 Security and Quality Rollup 的新版本。因此,如果您还没有安装新版 KB4055532,请确保安装该更新。


  • 在 Windows Update 对话框中,选择安装更新


  • 在“已安装更新”列表中,定位到更新 KB4055002 并将其卸载。

  • Microsoft 主页安装替换更新 KB4074880


COMSOL makes every reasonable effort to verify the information you view on this page. Resources and documents are provided for your information only, and COMSOL makes no explicit or implied claims to their validity. COMSOL does not assume any legal liability for the accuracy of the data disclosed. Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark details.