Page MenuHomePhabricator

Getting NullReferenceException in MainForm.SetProject
Closed, DuplicatePublic

Description

Here's the error message returned every time AWB is opened or saved settings are loaded. Saved settings files are unable to be loaded as a result, rendering saved tasks inoperable.

**description**: 
**workaround**: 
--------------------------
<table><tr><th>Exception:</th><td>`NullReferenceException`</td></tr>
<tr><th>Message:</th><td>`Object reference not set to an instance of an object.`</td></tr>
<tr><th>Call stack:</th><td><pre>   at AutoWikiBrowser.MainForm.SetProject(String code, ProjectEnum project, String customProject, String protocol)
   at AutoWikiBrowser.MainForm.LoadPrefs(UserPrefs p)
   at AutoWikiBrowser.MainForm.LoadPrefs(String path)</pre></td></tr>
</table>
**OS**: Microsoft Windows NT 6.2.9200.0
**version**: AutoWikiBrowser (6.3.0.0), WikiFunctions (6.3.0.0), revision 12558 (2024-01-16 20:38:04)
**net**: 4.0.30319.42000
**duplicate**: 
**site**: https://en.wikipedia.org

Event Timeline

Addendum to this... the error only occurred when I ran the program off the update. When I closed and restarted the program, I did not get the error.