2
SmarterMail 13.3.5571 Error: System.NullReferenceException: Object reference not set to an instance of an object.
Problem reported by Jay Altemoos - May 1, 2015 at 11:09 AM
Submitted
So I have a question and see that some people have reported this problem with SmarterStats but I haven't seen anything posted about SmarterMail.
 
So today I had an issue with SmarterMail where IIS freezes web sessions out of nowhere. You try to get to the login screen of SmarterMail and it will take forever. The only recourse I have had at this point is to restart the IIS service on the mail server itself and all is fine for a few days. So when this issue cropped back up today I looked at the taskmanager on the mail server to see if IIS crashed or if it was using lots of memory. W3WP.exe was using at the time about 850mb of memory. Which our server has more than enough memory to run any of the mail software we have. Currently we have 16GB installed. So I restarted the service again and all was well. Looking through my error log in SmarterMail I found this entry and it seems to populate around enough times in the log that it looks to be serious:
 
[2015.05.01] [CurrentUser: unknown]
[2015.05.01] [5/1/2015 4:10:49 AM]
[2015.05.01] [mailserveraddress]/Main/frmCompose.aspx?action=reply&folder=Inbox&uid=XXXXX&user=xxxxx&mapped=False&fromPreview=true&rowNumber=5&popup=true
[2015.05.01]
[2015.05.01] System.NullReferenceException: Object reference not set to an instance of an object.
[2015.05.01]    at SMWeb.Main.frmCompose.get_AutoRefreshInterval()
[2015.05.01]    at ASP.main_frmcompose_aspx.__RenderContent4(HtmlTextWriter __w, Control parameterContainer)
[2015.05.01]    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
[2015.05.01]    at ASP.masterpages_default_inner_master.__Renderform(HtmlTextWriter __w, Control parameterContainer)
[2015.05.01]    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
[2015.05.01]    at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
[2015.05.01]    at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
[2015.05.01]    at ASP.masterpages_default_inner_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
[2015.05.01]    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
[2015.05.01]    at SMWeb.HelperClasses.CustomMasterPage.Render(HtmlTextWriter writer)
[2015.05.01]    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
[2015.05.01]    at System.Web.UI.Page.Render(HtmlTextWriter writer)
[2015.05.01]    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
[2015.05.01] Application Error
 
I took the username out of the log and replaced it with X's.Has anyone else see weirdness like this in their error log? And it might be coincidental, but at the time the IIS service takes a really long time to hand out the login page or slow the interface down if you have it open already is when this error seems to happen.
 
Any input would be greatly appreciated.

1 Reply

Reply to Thread
0
Robert Emmett Replied
May 6, 2015 at 2:13 PM
Employee Post
Jay, I would recommend that you open a support ticket and provide us a dump file of the mailservice.exe process when it becomes unresponsive.  This is accomplished by opening your task manager, right-click on mailservice.exe, and selecting "Create dump file."
 
If it is found that this is a bug, your ticket would be refunded.
Robert Emmett
Software Developer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com

Reply to Thread