Error at startup on clean install
Description
Environment
Attachments
Activity
Peter Gummer June 18, 2013 at 6:43 AM
The fix will be available in the next beta release.
Peter Gummer March 1, 2013 at 2:13 AM
EDT-768
The NullReferenceException was caused by revision 889, while internationalising the Options dialog for AEPR-10.
Peter Gummer February 27, 2013 at 10:26 PM
To reproduce the exception:
1. Start Archetype Editor and create a new archetype.
2. Tools | Options
3. In the Options dialog, on the File Locations tab, change the Archetype repository path to a directory that doesn't exist. Click OK.
4. Exit Archetype Editor, without saving the new archetype.
5. Start Archetype Editor again. A warning dialog appears: "Configuration error: Archetype repository does not exist..."
6. Click OK.
The NullReferenceException occurs.
Peter Gummer February 27, 2013 at 10:08 PM
Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at ArchetypeEditor.Filemanager.GetOpenEhrTerm(Int32 code, String default_text, String language)
at ArchetypeEditor.ApplicationOptionsForm.TranslateGUI()
at ArchetypeEditor.ApplicationOptionsForm.ApplicationOptionsForm_Load(Object sender, EventArgs e)
Details
Details
Reporter

On a clean install a dialog now appears saying that the paths need to be setup (I like it!). However on pressing ok an exception is raised.
On pressing continue everything appears to work normally.