Log Errors after upgrading from 1.9.1 to 2.0.3
Hi
We are getting the following errors constantly being created in the log:
DEBUG Error encountered processing template file: IssueCreateSubjectLine.vm21/03/2006 11:33:25
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.getItem(Object key)
at Commons.Collections.SyncLRUMap.getItem(Object key)
at NVelocity.Runtime.Resource.ResourceCacheImpl.get(Object key)
at NVelocity.Runtime.Resource.ResourceManagerImpl.getResource(String resourceName, Int32 resourceType, String encoding)
at NVelocity.Runtime.RuntimeInstance.getTemplate(String name, String encoding)
at NVelocity.App.Velocity.GetTemplate(String name)
at CounterSoft.GeminiPlugins.MailPlugin.MakeTemplate_NVelocity(IssueEventArgs args, String templateFile) 21/03/2006 11:33:25
CHeers
Garry
|
Penfold
· 1 |
|
| Tuesday, March 21, 2006, 11:32:14 AM | |
0
|
Did you change the IssueCreateSubjectLine.vm file? If not, then try chaning the template provider in the web.config file.
|
||||
|
|||||
0
|
Hi What do I change the template provider too? We havent changed any of the template files, and we still get blank emails, when it does send blank emails it seems to be crashing the SMTP service on our Web Server. Cheers Garry
|
||||
|
|||||
0
|
Try changing it to STRINGTEMPLATE |
||||
|
|||||
0
|
Hi Changed it to STRINGTEMPLATE unfortunately it hasnt fixed the problem, automatic emails still come through completely blank, however if you click the email icon and send it that way then the details comethrough as expected.
Cheers Garry
|
||||
|
|||||
0
|
Are there any errors in the log (using STRINGTEMPLATE)? |
||||
|
|||||
0
|
Hi Mark Yep ....there are loads.... Additional Info.Dated Can't load template E:\gemini.sherston.com\templates\mailIssueClosedSubjectLine.st at antlr.stringtemplate.StringTemplateGroup.lookupTemplate(String name) at antlr.stringtemplate.StringTemplateGroup.getInstanceOf(String name) at CounterSoft.GeminiPlugins.MailPlugin.MakeTemplate_StringTemplate(IssueEventArgs args, String templateFile) 05/04/2006 15:13:01 Guessing this is the template path property which we have set to: <add key="TemplatesPath" value="E:\gemini.sherston.com\templates\mail" /> Cheers Garry |
||||
|
|||||
0
|
Could it be i was missing the \ at the end of the path? |
||||
|
|||||
0
|
Yes, that is what the error log points to. |
||||
|
|||||




