PR# 19562 EiffelBuild Exception while editing SpinButton widget properties

Problem Report Summary
Submitter: rwschlatter
Category: EiffelBuild
Priority: High
Date: 2019/08/11
Class: Bug
Severity: Serious
Number: 19562
Release: 19.05 GPL
Confidential: No
Status: Open
Environment: win 8.1 pro
Synopsis: EiffelBuild Exception while editing SpinButton widget properties

Attached minmal EiffelBuild project StepTwo

Has window containing two spin buttons and ok/cancel.
I open the Display window to see how it looks like.
Renamed the three widgets,
Then tinkered with spin buttons, first resized minimums, next  at whim chose to tinker with "y" spin button. 
In the properties I see the field "Text", so in my naivety I started to type an "x".

Eiffelbuild throws a tantrum and an exception trace at me.

The Display window shows the "x" where I believe a numeric / number is expected.
To Reproduce
As above.
Problem Report Interactions
From:rwschlatter    Date:2019/08/17    Status: Open    Download   
Project StepThree is the above prior mentioned StepTwo further developed.

In one of the incident reports I mentioned that the compiled version had intermittent exceptions, which puzzled me at the time.

It has now become evident that when compiled as a classic target everything works fine.

But when compiled as a dot-net target the execution fails with some exception prior to displaying the application window.

This message has the EiffelStudio trace information and screenshots. Hope this helps in analyzing the issue.

Project files also included.

Attachment: build_project.bpr     Size:899
Attachment: Exception Trace 4 re Confirmation 2.txt     Size:8819
Attachment: StepThree dotnet estudio bug report trace.txt     Size:8392
Attachment: StepThree dotnet estudio call stack.png     Size:38378
Attachment: StepThree dotnet estudio object list.png     Size:51071
Attachment: StepThree dotnet estudio outputs.png     Size:22715
Attachment: StepThree dotnet exception trace.txt     Size:11035
Attachment: system_interface.xml     Size:30167
From:rwschlatter    Date:2019/08/16    Status: Open    Download   
Additional question to my report 08/16/2019:

The Builder window shows the text field but does not display the widget type header. Did I miss an option to include that header? 

not part of the submission, but I added another new window widget containing a horizontal box itself containing some other widget and the headers are displayed within this same project.

From:rwschlatter    Date:2019/08/16    Status: Open    Download   
EiffelBuild Add-on: after having had above problem with the SpinButton I tried a simple Text field to see if the problem shows up here too.

Yes, it does when entering the initial text into the Text box of the fields Properties.

Next I was just playing around and displayed the sample application window. Just for fun I typed in some characters.

To my big astonishment this text was retained as the initial value and reflected in the Properties Text box, not immediately, but when refreshing the properties for this widget. Is this by design or a side effect feature?

Next I tried do do the same with the Builder Window. When opening it presented the text, when attempting to modify this text it accepts one character and react with an exception.

EiffelBuild closed, then project re-opened. Again similar problem as described in earlier report, that EiffelBuild reacts with an exception during initial display of the project window. 

At the time of this writing the generated Eiffel code works without a fla
Output truncated, Click download to get the full message

Attachment: Buider window exception with text field edit.txt     Size:4919
Attachment: build_project.bpr     Size:901
Attachment: Builder window exception with text field edit.png     Size:52900
Attachment: Program start exception Exception Trace.txt     Size:7649
Attachment: StepFour tracking the bug - marked.png     Size:60346
Attachment: system_interface.xml     Size:1392
From:rwschlatter    Date:2019/08/12    Status: Open    Download   
This analysis of the error supersedes the above description. 

Please disregard all prior submitted files and work with this new EiffelBuild project and images.
The zip file contains the EiffelBuild project and the generated Eiffel application.

Steps in analysis:

1. Open the project CrashDebuggingPR#19562 by double clicking the bpr file.
2. You ought to observe a exception, matching "Uncaught Exception at start.png" with my trace in "Uncaught Exception at start.txt"
3. Ignore exception, presentation looks like "After ignoring exception before text change.png"
4. Using as sample first TEXT_FIELD "Mon" (Monday) as defined in "TEXT_FIELD Monday (heading).png"
5. I go and delete from the end n/o/M using the Back key. Then type X/X/X.
With each keypress there is an exception, the exceptions are copied over into file "exception trace while modyfing text.txt"
6. Result of field edit as in "TEXT_FIELD Monday (after).png"
7. Visual representation as in "After ignoring exception after text change.png"

Output truncated, Click download to get the full message

Attachment: After ignoring exception after text change.png     Size:101404
Attachment: After ignoring exception before text change.png     Size:125284
Attachment: Application after Eiffel compilation.png     Size:27067
Attachment:     Size:12147
Attachment: exception trace while modyfing text.txt     Size:51571
Attachment: TEXT_FIELD Monday (after).png     Size:83289
Attachment: TEXT_FIELD Monday (heading).png     Size:109191
Attachment: Uncaught Exception at start.png     Size:39308
Attachment: Uncaught Exception at start.txt     Size:8585
From:rwschlatter    Date:2019/08/11    Download   
Attachments for problem report #19562

Attachment: build_project.bpr     Size:783
Attachment: Display Window.png     Size:3891
Attachment: Exception Trace.txt     Size:8675
Attachment: Exception Window.png     Size:17215
Attachment: StepTwo project.png     Size:55545
Attachment: system_interface.xml     Size:5349