WeSay Error after clicking on Input Systems (version 1.6.8.0 on Windows 10)


#1

Hi!

Every time I am trying to click on Input Systems tab WeSay crushes with the following error.
Tried unistalling the 1.6 and installing 1.5, still gives the same error.

Thanks a lot in advance.

ERROR:

Msg: Object reference not set to an instance of an object.
Source: System.Windows.Forms
Assembly: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Stack: at System.Windows.Forms.InputLanguage.get_LayoutName()
at Palaso.UI.WindowsForms.WritingSystems.WritingSystemFromWindowsLocaleProvider.d__4.MoveNext() in c:\BuildAgent\work\3138e089dc3b3f0\PalasoUIWindowsForms\WritingSystems\WritingSystemFromWindowsLocaleProvider.cs:line 111
at System.Linq.Lookup2.Create[TSource](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) at System.Linq.GroupedEnumerable3.GetEnumerator()
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.<UnionIterator>d__671.MoveNext()
at Palaso.UI.WindowsForms.WritingSystems.WSTree.WritingSystemSuggestor.d__8.MoveNext() in c:\BuildAgent\work\3138e089dc3b3f0\PalasoUIWindowsForms\WritingSystems\WSTree\WritingSystemSuggestor.cs:line 79
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Collections.Generic.List1…ctor(IEnumerable1 collection) at Palaso.UI.WindowsForms.WritingSystems.WSTree.WritingSystemTreeModel.AddOtherLanguages(List1 items) in c:\BuildAgent\work\3138e089dc3b3f0\PalasoUIWindowsForms\WritingSystems\WSTree\WritingSystemTreeModel.cs:line 172
at Palaso.UI.WindowsForms.WritingSystems.WSTree.WritingSystemTreeModel.GetTreeItems() in c:\BuildAgent\work\3138e089dc3b3f0\PalasoUIWindowsForms\WritingSystems\WSTree\WritingSystemTreeModel.cs:line 75
at Palaso.UI.WindowsForms.WritingSystems.WSTree.WritingSystemTreeView.OnUpdateDisplay(Object sender, EventArgs e) in c:\BuildAgent\work\3138e089dc3b3f0\PalasoUIWindowsForms\WritingSystems\WSTree\WritingSystemTreeView.cs:line 36
at Palaso.UI.WindowsForms.WritingSystems.WSTree.WritingSystemTreeModel.UpdateDisplayNow() in c:\BuildAgent\work\3138e089dc3b3f0\PalasoUIWindowsForms\WritingSystems\WSTree\WritingSystemTreeModel.cs:line 39
at Palaso.UI.WindowsForms.WritingSystems.WSTree.WritingSystemTreeView.WritingSystemTreeView_Load(Object sender, EventArgs e) in c:\BuildAgent\work\3138e089dc3b3f0\PalasoUIWindowsForms\WritingSystems\WSTree\WritingSystemTreeView.cs:line 83
at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
at System.Windows.Forms.UserControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.ControlCollection.Add(Control value)
at WeSay.ConfigTool.SettingsControl.OnAreaButton_Click(Object sender, EventArgs e) in c:\BuildAgent\work\58a16c078dd7699a\src\WeSay.ConfigTool\SettingsControl.cs:line 99
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.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)

–Error Reporting Properties–
version: Version 1.5.45 (apparent build date: 09-Jun-2017)
machinename: MEZUZA
currentdirectory: C:\Users\meziza\Desktop
username: meziza
userdomainname: MEZUZA
commandline: “C:\Program Files (x86)\WeSay\WeSay.ConfigTool.exe”
osversion: Windows 8
dotnetversion: 4.0.30319.42000
culture: en-CA
workingset: 22822912

–Log–
October 10, 2018
5:18:56 PM OpenProject(C:\Users\meziza\Documents\WeSay\Parsee\Parsee.WeSayConfig)
5:18:56 PM Checking if migration of configuration is needed.
5:18:58 PM Exception: Object reference not set to an instance of an object.
Details of most recent events:
5:18:56 PM OpenProject(C:\Users\meziza\Documents\WeSay\Parsee\Parsee.WeSayConfig)
5:18:56 PM Migrator examining C:\Users\meziza\Documents\WeSay\Parsee\WritingSystems
5:18:56 PM Getting file version of C:\Users\meziza\Documents\WeSay\Parsee\WritingSystems\en.ldml
5:18:56 PM Getting file version of C:\Users\meziza\Documents\WeSay\Parsee\WritingSystems\prp.ldml
5:18:56 PM Migrator examining C:\Users\meziza\Documents\WeSay\Parsee\WritingSystems
5:18:56 PM Getting file version of C:\Users\meziza\Documents\WeSay\Parsee\WritingSystems\en.ldml
5:18:56 PM Getting file version of C:\Users\meziza\Documents\WeSay\Parsee\WritingSystems\prp.ldml
5:18:56 PM Checking if migration of configuration is needed.
5:18:56 PM Getting file version of C:\Users\meziza\Documents\WeSay\Parsee\meziza.WeSayUserConfig
5:18:56 PM Migrator examining C:\Users\meziza\Documents\WeSay\Parsee\WritingSystems
5:18:56 PM Getting file version of C:\Users\meziza\Documents\WeSay\Parsee\WritingSystems\en.ldml
5:18:56 PM Getting file version of C:\Users\meziza\Documents\WeSay\Parsee\WritingSystems\prp.ldml
5:18:58 PM Exception: Object reference not set to an instance of an object.


#2

Hi Anton,
Sorry about the crashes! I don’t have any idea what could cause it, but to start troubleshooting, could you make an new WeSay project and see if that has the same problem? If not, would you be able to share your project so we could have a look? E.g., is it on language depot? Dropbox would also work.


#3

Hi John,

Thanks for you reply. I have tried to reinstall the latest version again, deleted and created the project from scratch and it worked. Now clicking in Input Systems does not cause any errors. Many thanks to you.

Cheers,
Anton


#4

Hi again,

The problem came back, as soon as I started changing settings under the Input Systems tab.
As you have suggested, I have tried creating a new project under a different name. The same error occures every time I am attempting to iclick on the Input Systems tab.

Please let me know what lese can I try, since re-uninstalling WeSay every time is clearly not a solution.

Thanking you in advance,
Anton


#5

Hi Anton,

OK, good. That just about confirms that you are making some change to the “input systems” such that, when the tool tries to read it back in, it dies. Please find your “Writing Systems” folder in that project, and email it to issues@wesay.org, along with the error stack that you put in this thread.

Regards
jh


#6

Thanks a lot for your prompt reply. Just emailed you all the required info.