Unexpected error thrown by the Method Editor

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

Problem Description

I run COMSOL Multiphysics on Windows 7. When trying to access the Method Editor in the Application Builder, I get an unexpected error.

When opening the log file, the top of the stack trace looks like this:

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)

Solution

This issue arises from a problem caused by The Microsoft .NET Framework January 2018 Security and Quality Rollup (KB4055532) that was released on January 9, 2018.

On January 18, a new version of that Security and Quality Rollup was released. Thus, make sure to install the new version of KB4055532 if you have not done so already.

If that does not solve the issue, please try the following:

  • In the Windows Update dialog, select Installed Updates

Installed Updates

  • In the list of installed updates, locate and uninstall the update called KB4055002.

  • Install the replacement update KB4074880 from Microsoft's homepage


Disclaimer

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.