Page 1 of 1

JIT problem with FH and AS

Posted: 02 Feb 2015 07:51
by tokyojef
Hi!
I get an error whether i use the plugin or open the program outside of FH...
I am on windows 8 32/64, but i even ran a compat. test in properties and set it for XP service 3.
Still and error. FH was stalling, until i set it as well to XP service 3.
StiLL the jit error (perhaps the gedcom i need to change something in notepad?) I dont know what this all means...Thanks for any clues what to do next! Jeff :)
the error is here :shock: ====>

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ApplicationException: Invalid GEDCOM Error on line 1012900: 3 OBJE @@M21059@@
Record links to non-existent multimedia object: @@M21059@@
at AncestralSources.clsGEDCOMTree.ObjectLinkAdd(clsGEDCOMNode& newnode)
at AncestralSources.clsGEDCOMTree.KeyWordHandler(clsGEDCOMNode& newnode)
at AncestralSources.clsGEDCOMTree.GedcomTreeSecondPass()
at AncestralSources.clsGEDCOMTree.ReadFile(String filepath)
at AncestralSources.frmMain.LoadFileAndSetupScreen(String newfilename, Boolean closefile)
at AncestralSources.frmMain.frmMain_Activated(Object sender, EventArgs e)
at AncestralSources.frmMain.frmMain_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.6421 (Win8RTMGDR.050727-6400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Ancestral Sources
Assembly Version: 4.5.0.0
Win32 Version: 4.5.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Ancestral%20Sources/Ancestral%20Sources.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.6419 (Win8RTMGDR.050727-6400)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.6421 (Win8RTMGDR.050727-6400)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.6419 (Win8RTMGDR.050727-6400)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.6419 (Win8RTMGDR.050727-6400)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.6424 (Win8RTMGDR.050727-6400)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.6421 (Win8RTMGDR.050727-6400)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Re: JIT problem with FH and AS

Posted: 02 Feb 2015 10:34
by tatewise
Jeff, welcome to the FHUG.

FH V6 will NOT run in Windows XP mode.
Please use standard Windows 8 configuration for both FH and AS.

The problem is with the GEDCOM data file as the first line of message says:
Invalid GEDCOM Error on line 1012900: 3 OBJE @@M21059@@

I agree that AS should not fail but that GEDCOM tag is an Unrecognised Data Field (UDF).

Have you imported the GEDCOM file from another genealogy program?

If so, the imported data needs to be checked for errors in FH before using AS.

See how_to:index#importing_to_family_historian|> Importing to Family Historian for advice.
If anything is not clear then please ask for more help.

Re: JIT problem with FH and AS ....NOW cRaShInG FH !

Posted: 02 Feb 2015 11:08
by tokyojef
Mike ,
Thank you so much for your help and quick response.
yes, the dreaded FTM gedcom=> 5.5.
I have now for the 5th time crashed :shock: :shock: :shock: FH and AS with the suggested setup for windows 8 32/64.
upgraded to ver.6.0.1, still hangs for 10 minutes loading gedcom, and crashes...
this is after checking gedcom for problems.
i must be missing something...
Jeff

Re: JIT problem with FH and AS

Posted: 02 Feb 2015 12:08
by tatewise
Sorry you are having those problems.

I have moved this topic to the Importing and Exporting Forum because it is not just an AS problem.

The error message reported above says Error on line 1012900 so it would appear to be a VERY BIG GEDCOM file?

I do not understand how you first got an error with AS but not FH, and now FH is crashing!
What has changed?

Could you import a smaller GEDCOM to gain an understanding of the process?

Can you give some details about the FTM to FH process you are using:

What version of FTM?
Are you following the how_to:import_from_family_tree_maker|> Import from Family Tree Maker (FTM) advice?
How are you opening the GEDCOM in FH?
If you are using File > Project Window > New Project what options are you selecting?
Are you trying to import linked Media files?
What did you do to "check gedcom for problems"?

Re: JIT problem with FH and AS

Posted: 02 Feb 2015 18:51
by NickWalker
Hi Jeff

I think I might stop AS trying to handle IDs with @@XYZ@@ formats which will help in these circumstances. AS doesn't attempt to totally validate a GEDCOM file and create UDFs but I think AS could do a better job than it does currently when handling files with unrecognised references.

I'd be happy to take a look at your GEDCOM file if you would be happy to email it to me (Nick at ancestralsources dot com)? Of course I wouldn't use your file other than for testing purposes or pass it on to anyone else (or even take any interest in the data really!). I totally understand if you would prefer not to.

Cheers

Nick

Re: JIT problem with FH and AS

Posted: 03 Feb 2015 07:31
by tokyojef
I appreciate all the help here!
very kind indeed!
Different time zone...
gimme a few to get what you all need together to give a better response

Jeff :)