Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Log Errors after upgrading from 1.9.1 to 2.0.3

web-app

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
Penfold
Replies (8)
helpful
0
not helpful

Did you change the IssueCreateSubjectLine.vm file?

If not, then try chaning the template provider in the web.config file.

 


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

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

 

 


Penfold
· 1
Penfold
helpful
0
not helpful

Try changing it to STRINGTEMPLATE


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

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

 

 


Penfold
· 1
Penfold
helpful
0
not helpful

Are there any errors in the log (using STRINGTEMPLATE)?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

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


Penfold
· 1
Penfold
helpful
0
not helpful

Could it be i was missing the \ at the end of the path?


Penfold
· 1
Penfold
helpful
0
not helpful

Yes, that is what the error log points to.


Mark Wing
· 9108
Mark Wing