I cannot see any more my codes in expression editor

Hi guys,

Recently, our company updated Epicor to Kinetic 2022.2.14.
However, when I open Configurator Designer On Page Loaded expression, it appears to be empty. Actually it is still there but I cannot see them. When I Ctrl+A, Ctrl+V and then Ctrl+P into notepad, I see my codes all.
From my observation, this issue seems to occur when there are long codes, causing conflicts with expression window??? I have noticed similar errors not only Configurator Designer but also Configurator User Defined Method. If you have any advice or suggestions, it would be greatly appreciated!

ps. Users are in Xenapp client. I tested on Xenapp server as well but, still the same error.

When I open expression editor, I have following error message as well;

image

Application Error

Exception caught in: Syncfusion.Edit.Windows

Error Detail

============
##!Message:##! Wrong value.
Parameter name: streamOffset
##!Program:##! Syncfusion.Edit.Windows.dll
##!Method:##! InsertPointInPosition

Client Stack Trace

==================
at Syncfusion.Windows.Forms.Edit.Implementation.IO.ParsePointManager.InsertPointInPosition(Int64 streamOffset, Int32 line, Int32 column, Int32 index)
at Syncfusion.Windows.Forms.Edit.Implementation.IO.StreamsWrapper.GetParsePoint(Int32 line, Int32 column, IParsePoint& leftNearest, IParsePoint& rightNearest, Boolean create, Boolean bAllowVirtualSpace)
at Syncfusion.Windows.Forms.Edit.Implementation.Parser.LexemParser.CreatePlainTextLine(Int32 iLineIndexVirtual, Int32 iLineIndexPhysical, Int32 index)
at Syncfusion.Windows.Forms.Edit.Implementation.Parser.RenderableLexemParser.CreatePlainTextLine(Int32 iLineIndexVirtual, Int32 iLineIndexPhysical, Int32 index)
at Syncfusion.Windows.Forms.Edit.Implementation.Parser.LexemParser.GetLine(Int32 iLine)
at Syncfusion.Windows.Forms.Edit.StreamEditControl.TextInsertInternal(Int32 iLine, Int32 iColumn, String str, Boolean update, Boolean bUseTabStops)
at Syncfusion.Windows.Forms.Edit.StreamEditControl.TextInsertInternalRespectingTabStops(Int32 iLine, Int32 iColumn, String str)
at Syncfusion.Windows.Forms.Edit.StreamEditControl.set_Text(String value)
at Syncfusion.Windows.Forms.Edit.EditControl.set_Text(String value)
at Ice.Lib.Custom.CodeEditor.set_Text(String value)
at Erp.UI.App.CodeEditor.CodeEditorForm.OnFormLoaded()
at Ice.Lib.Framework.EpiBaseForm.InnerFormLoaded()

Have you opened a support ticket on this? It seems like a pretty big bug. The only other thing I could think of would be to include your code so one of the forums genius can look and see if they see anything.

That’s what it sounds like.

1 Like

I share the solution for someone may have the similar problem.

After removing the extra errant carriage return characters from exported configurator file, it works fine.
I still don’t know how they got in there at the begining, but glad that fixed the issue!

original unmodified export:
image

Versus the modified file that now works properly:
image