[code]java.lang.NullPointerException at info.magnolia.module.mail.MgnlMailFactory.getEmailFromType(MgnlMailFactory.java:153) [/code]
My bad. Didn't realize there is conversion to lower case before name checking. I've also noticed now that failure to instantiate renderer is silently ignored - http://jira.magnolia-cms.com/browse/MAGNOLIA-4673 Anyway since we can't set type to null to get the simple type, you can try to avoid the issue by setting type to some nonsense. Can you try with: [code]final MgnlEmail email = mailFactory.getEmailFromType(new HashMap(), "test");[/code] -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=e4e9a298-5e07-456a-a266-7593697f972c ---------------------------------------------------------------- For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
