From: John Barnes [mailto:johnbarnes4@users.sf.net]
Sent: Monday, August 04, 2014 3:28 PM
To: [fluidearth:bugs]
Subject: [fluidearth:bugs] #65 Component Builder crashes adding a row to the Element Vertices table
Capture9.PNG shows the crash occurs because fields is null.
Here are step-by-step instructions to create the problem:
Run Component Builder and open the Spatial Definitions tab
Click Edit | Row | Add to get to the Select Type(s) dialog
Click to select row 3 Element Set Polylines and click the green tick
Click the Item button in the new Spatial Definitions row to get to the FluidEarth2.Sdk.ElemenetSetPolylines dialog
Click on the button in the Elements row to get the Polyline ElementSet dialog
Click Edit | Row | Add
Click Edit | Vertices... to get to the ElementSet Vertices dialog
Click Edit | Row | Add
As a workaround, sufficient for my immediate needs, I have changed the code at the point of failure so that it reads:
if (fields != null)
{
if (fields.Count > 0 && int.TryParse(fields[0], out nIndex))
nElement = nIndex;
if (fields.Count > 1 && int.TryParse(fields[1], out nIndex))
HR Wallingford and its subsidiaries uses faxes and emails for confidential and legally privileged business communications. They do not of themselves create legal commitments. Disclosure to parties other than addressees requires our specific consent. We are not liable for unauthorised disclosures nor reliance upon them.
If you have received this message in error please advise us immediately and destroy all copies of it.
HR Wallingford Limited
Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom
Registered in England No. 02562099
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Can't figure out info from the screenshots I'm afraid...?
Capture9.PNG shows the crash occurs because fields is null.
Here are step-by-step instructions to create the problem:
As a workaround, sufficient for my immediate needs, I have changed the code at the point of failure so that it reads:
if (fields != null)
{
if (fields.Count > 0 && int.TryParse(fields[0], out nIndex))
nElement = nIndex;
}
else
{
coords.Add(0.0);
coords.Add(0.0);
}
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Oh boy…. Well, if the fix works…
From: John Barnes [mailto:johnbarnes4@users.sf.net]
Sent: Monday, August 04, 2014 3:28 PM
To: [fluidearth:bugs]
Subject: [fluidearth:bugs] #65 Component Builder crashes adding a row to the Element Vertices table
Capture9.PNG shows the crash occurs because fields is null.
Here are step-by-step instructions to create the problem:
As a workaround, sufficient for my immediate needs, I have changed the code at the point of failure so that it reads:
if (fields != null)
{
if (fields.Count > 0 && int.TryParse(fields[0], out nIndex))
nElement = nIndex;
if (fields.Count > 1 && int.TryParse(fields[1], out nIndex))
for (int n = 2; n < fields.Count; ++n)
}
else
{
coords.Add(0.0);
coords.Add(0.0);
}
[bugs:#65]http://sourceforge.net/p/fluidearth/bugs/65 Component Builder crashes adding a row to the Element Vertices table
Status: open
Group: Component Builder
Created: Mon Jul 21, 2014 03:48 PM UTC by John Barnes
Last Updated: Fri Aug 01, 2014 11:25 AM UTC
Owner: nobody
See attached screenshots for information on the crash and the context within which it occurs.
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/fluidearth/bugs/65/https://sourceforge.net/p/fluidearth/bugs/65
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://sourceforge.net/auth/subscriptions
This message has been scanned for viruses by MailControlhttp://www.mailcontrol.com/, a service from BlackSpider Technology
Click herehttps://www.mailcontrol.com/sr/eHd28uMYn0vGX2PQPOmvUtVTDJsKpCsgvFctlyMebfPvIoz17+!r0VqboDVy+qXDalPjxinsAkChqfUB1i+uFQ== to report this email as spam.
HR Wallingford and its subsidiaries uses faxes and emails for confidential and legally privileged business communications. They do not of themselves create legal commitments. Disclosure to parties other than addressees requires our specific consent. We are not liable for unauthorised disclosures nor reliance upon them.
If you have received this message in error please advise us immediately and destroy all copies of it.
HR Wallingford Limited
Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom
Registered in England No. 02562099
Related
Bugs: #65