CounterSoft User Forums

Welcome to CounterSoft User Forums Sign in | Join | Help
Home Forums

Email Template error

Last post 05-20-2010, 9:09 PM by ktang. 9 replies.
Sort Posts:
  •  03-09-2010, 3:48 PM

    Email Template error

    I am using the MailPlugin, I remember we had this problem before in the older version, 2.2 seems to fixed it. Now we upgraded to 3.6.3 and it is coming back.

    currently the email subject is empty, and part of the email body are missing.

    could you please help

     

    These are from the event log


    619 3/9/2010 9:41:32 AM Debug Gemini Error encountered processing template file: IssueUpdateSubjectLine.vm 

    618 3/9/2010 9:41:32 AM Error Gemini Object reference not set to an instance of an object. at Commons.Collections.LRUMap.IndexOf(Object key) at Commons.Collections.LRUMap.MoveToMRU(Object key) at Commons.Collections.LRUMap.get_Item(Object key) at Commons.Collections.LRUMap.SyncLRUMap.get_Item(Object key) at NVelocity.Runtime.Resource.ResourceCacheImpl.get(Object key) at NVelocity.Runtime.Resource.ResourceManagerImpl.GetResource(String resourceName, ResourceType resourceType, String encoding) at NVelocity.Runtime.RuntimeInstance.GetTemplate(String name, String encoding) at NVelocity.Runtime.RuntimeInstance.GetTemplate(String name) at NVelocity.App.Velocity.GetTemplate(String name) at CounterSoft.Gemini.Business.Alerts.MailPlugin.MakeTemplate_NVelocity(IssueEventArgs args, String templateFile) 

    617 3/9/2010 9:41:32 AM Debug Gemini Error encountered processing template file: text/IssueUpdate.vm 

    616 3/9/2010 9:41:32 AM Error Gemini Object reference not set to an instance of an object. at Commons.Collections.LRUMap.IndexOf(Object key) at Commons.Collections.LRUMap.MoveToMRU(Object key) at Commons.Collections.LRUMap.get_Item(Object key) at Commons.Collections.LRUMap.SyncLRUMap.get_Item(Object key) at NVelocity.Runtime.Resource.ResourceCacheImpl.get(Object key) at NVelocity.Runtime.Resource.ResourceManagerImpl.GetResource(String resourceName, ResourceType resourceType, String encoding) at NVelocity.Runtime.RuntimeInstance.GetTemplate(String name, String encoding) at NVelocity.Runtime.RuntimeInstance.GetTemplate(String name) at NVelocity.App.Velocity.GetTemplate(String name) at CounterSoft.Gemini.Business.Alerts.MailPlugin.MakeTemplate_NVelocity(IssueEventArgs args, String templateFile)

  •  03-09-2010, 3:53 PM

    Re: Email Template error

    Did you amend the email templates? Can you try and restart the web app (save the web.config file)?

  •  03-09-2010, 4:14 PM

    Re: Email Template error

    no i have not change anything for the email template.

    I restarted the app pool for the Gemini Web App and it is working now (this is how i used to fix the problem prior to 2.2 also)

  •  03-09-2010, 4:21 PM

    Re: Email Template error

    Any reason why you are not using the scheduler service?

  •  03-09-2010, 4:27 PM

    Re: Email Template error

    I haven't test the scheduler service.  From what i read so far it is using web services right? I have done some test with the TimeTracker app, I can't get pass the proxy rules that our company has, so I just left the SMTP settings at MailPlugin
  •  05-19-2010, 10:43 PM

    Re: Email Template error

    any help please?  I had to IISRESET 3 times today and my users think it is very annoyance that all notifications are blank, every few hours......
  •  05-20-2010, 8:51 AM

    Re: Email Template error

    Can you upgrade to 3.6.5? We have fixed a few issues with the mail plugin in that version.

  •  05-20-2010, 8:44 PM

    Re: Email Template error

    We are on this v3.6.5 Build 2638 version, doesn't seems like your fix corrected our problem.

    I actually switched to the scheduler yesterday, other than it sent out 20,000 old emails right when I started the service and crashed the server, I think it is working ok now.  Majority of the emails were all catchup emails, it seems like Gemini doesn't know Mail-Plugin already sent those emails.

    You might want to check into the scheduler, it shouldn't make all events to be resent since Day 1.  It think unless my setting is saved to use the "scheduler", Gemini shouldn't mark these events to be send by scheduler.

    Thank you

  •  05-20-2010, 9:05 PM

    Re: Email Template error

    Thanks for the feedback we will look into it!

    Did the scheduler solve your issue?


  •  05-20-2010, 9:09 PM

    Re: Email Template error

    So far I have seen 2 blank emails, but they were sent when the server was dying yesterday.  I think it is good right now.  If I see anything I will let you know and post the error message.

     

    Thank you

View as RSS news feed in XML