* Unhandled exception

AS allows faster and more convenient creation of source records for Family Historian.
Post Reply
User avatar
David2416
Superstar
Posts: 378
Joined: 12 Nov 2017 16:37
Family Historian: V7
Location: Suffolk UK

Unhandled exception

Post by David2416 » 20 Sep 2022 17:04

Hi Nick,

I just experienced a repeatable Unhandled exception error running AS v7.4.4
I had opened AS, set the repository to TNA and the Census year 1881. Then on adding an unrelated individual who now appears in the Find Name selection box I get this error:
AS Error Screenshot 2022-09-20 175851.jpg
Continue adds the person to the Grid and all proceeds smoothly. Edited - except the Title did not get populated.

Any thoughts?

Regards David
Last edited by NickWalker on 20 Sep 2022 20:51, edited 1 time in total.
Reason: Nick Walker removed error details as he has made a copy of them and these are not required for other readers of the thread.

User avatar
NickWalker
Megastar
Posts: 2401
Joined: 02 Jan 2004 17:39
Family Historian: V7
Location: Lancashire, UK
Contact:

Re: Unhandled exception

Post by NickWalker » 20 Sep 2022 20:55

Hi David

Can you let me know what your method 1 title template is. If you have the short title template defined can you let me know that too.

Thanks

Nick
Nick Walker
Ancestral Sources Developer

https://fhug.org.uk/kb/kb-article/ancestral-sources/

User avatar
David2416
Superstar
Posts: 378
Joined: 12 Nov 2017 16:37
Family Historian: V7
Location: Suffolk UK

Re: Unhandled exception

Post by David2416 » 21 Sep 2022 07:14

Hi Nick,
Yes, it is
{YEAR}{DATE.MONTH.NUM2}{DATE.DAY2} {SOURCETYPE} @ {PLACE} {PLACE.SHORT}: {REF} - {KEYPERSON.GN} {KEYPERSON.SN.CAPS}

I repeat the place info to help with reversing, so it reads from largest to smallest. No Short title used, see image.

Thanks, David
AS Method 1 Options Screen.jpg

User avatar
NickWalker
Megastar
Posts: 2401
Joined: 02 Jan 2004 17:39
Family Historian: V7
Location: Lancashire, UK
Contact:

Re: Unhandled exception

Post by NickWalker » 23 Sep 2022 19:28

Hi David

I've tried to repeat this using your title template and v7.4.4 but I'm not getting an error (I select 1881 England, select a repository and add an unrelated person). I wonder whether you would mind using 'Backup A.S. Options' in the tools menu and then email to me your exported settings (nick at ancestralsources dot com). Can you check that this also happens with the FH Sample Project and if so can you also include in your email a set of steps I could follow with the sample project to see the error.

Thanks again

Nick
Nick Walker
Ancestral Sources Developer

https://fhug.org.uk/kb/kb-article/ancestral-sources/

User avatar
David2416
Superstar
Posts: 378
Joined: 12 Nov 2017 16:37
Family Historian: V7
Location: Suffolk UK

Re: Unhandled exception

Post by David2416 » 24 Sep 2022 09:08

Hi Nick,
I took me a few attempts to repeat this.

However this following is consistent:
1. Load AS from within FH for Census entry
2. Select Census year (am using England 1881)
3. Click add unrelated individual - do not enter name or gender
4. click OK
5. either response to the yes/no message box re creating without gender
6. Remove selected entry
7. Repeat steps 3, 4, 5 - the unhandled exception arises.

Not surprising since I have just deleted the first individual in the Grid. It seems that the Grid needs to be initialised so i have checked using different countries, years, Census, Register or Electoral.

It seems the error arises when the Grid once initialised is emptied by removing the entries added (doesn't matter how those entries were added) then trying add an unrelated entry to the emptied grid.

Hope that makes sense. I have sent the Back UP AS options as requested, although I suspect it isn't relevant.

User avatar
NickWalker
Megastar
Posts: 2401
Joined: 02 Jan 2004 17:39
Family Historian: V7
Location: Lancashire, UK
Contact:

Re: Unhandled exception

Post by NickWalker » 24 Sep 2022 09:28

Thanks David. I've now been able to reproduce that error and it was easy to fix in the imminent new version.

Cheers

Nick
Nick Walker
Ancestral Sources Developer

https://fhug.org.uk/kb/kb-article/ancestral-sources/

User avatar
David2416
Superstar
Posts: 378
Joined: 12 Nov 2017 16:37
Family Historian: V7
Location: Suffolk UK

Re: Unhandled exception

Post by David2416 » 24 Sep 2022 10:42

Thanks Nick. 👍

Post Reply