Details
-
Bug
-
Resolution: Duplicate
-
Major
-
WCM 5.0 SP3
-
None
-
build 18826
Description
Email notification doesn't work with the NStep Workflow, work well with standard workflow
-------------------------------------------------------
started @ Thu Oct 11 12:02:33 CEST 2007
2007-10-11 12:02:33,468: ERROR [org.jahia.services.mail.GroovyMimeMessagePreparator] - Error preparing the E-Mail
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script1.groovy: 1: expecting EOF, found 'Workflow [JAHIA] ' @ line 1, column 20.
1 Error
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:325)
at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:173)
at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:143)
at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:155)
at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:379)
at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:87)
at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:276)
at org.codehaus.groovy.control.CompilationUnit$3.call(CompilationUnit.java:526)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:861)
at org.codehaus.groovy.control.CompilationUnit.parse(CompilationUnit.java:513)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:441)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:300)
at groovy.lang.GroovyShell.parseClass(GroovyShell.java:555)
at groovy.lang.GroovyShell.parse(GroovyShell.java:567)
at groovy.lang.GroovyShell.parse(GroovyShell.java:542)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:520)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:496)
at groovy.lang.Script.evaluate(Script.java:198)
at gjdk.nstep_workflow_mailnotif_GroovyReflector.invoke(Unknown Source)
at groovy.lang.MetaMethod.invoke(MetaMethod.java:111)
at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:636)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:345)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:156)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85)
at nstep_workflow_mailnotif.run(nstep_workflow_mailnotif.groovy:5)
at groovy.util.GroovyScriptEngine.run(GroovyScriptEngine.java:428)
at org.jahia.services.mail.GroovyMimeMessagePreparator.prepare(GroovyMimeMessagePreparator.java:59)
at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:338)
at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:330)
at org.jahia.services.mail.MailServiceImpl.sendTemplateMessage(MailServiceImpl.java:192)
at org.jahia.services.mail.MailServiceImpl$$FastClassByCGLIB$$10d0328.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
at org.jahia.services.mail.MailServiceImpl$$EnhancerByCGLIB$$572becc9.sendTemplateMessage(<generated>)
at org.jahia.workflow.nstep.NStepWorkflow.sendResults(NStepWorkflow.java:756)
at org.jahia.services.workflow.ActivationJob.executeJahiaJob(ActivationJob.java:120)
at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:133)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
2007-10-11 12:02:33,531: WARN [org.jahia.services.mail.MailServiceImpl] - Couldn't send message
org.springframework.mail.MailPreparationException: Could not prepare mail: null; nested exception is java.lang.NullPointerException: null
java.lang.NullPointerException
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:498)
at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:382)
at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:326)
at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:341)
at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:330)
at org.jahia.services.mail.MailServiceImpl.sendTemplateMessage(MailServiceImpl.java:192)
at org.jahia.services.mail.MailServiceImpl$$FastClassByCGLIB$$10d0328.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
at org.jahia.services.mail.MailServiceImpl$$EnhancerByCGLIB$$572becc9.sendTemplateMessage(<generated>)
at org.jahia.workflow.nstep.NStepWorkflow.sendResults(NStepWorkflow.java:756)
at org.jahia.services.workflow.ActivationJob.executeJahiaJob(ActivationJob.java:120)
at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:133)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
2007-10-11 12:02:33,546: INFO [org.jahia.services.scheduler.BackgroundJob] - Background job (of type workflow) ended with status successful executed in 0s
2007-10-11 12:02:49,437: INFO [org.jahia.services.search.lucene.AbstractLuceneSearchIndexer] - Finished processing 5 indexing orders in 437ms.
TestRail: Results
Attachments
Issue Links
- duplicates
-
JAHIA-2479 SP3: email notifications for Nstep workflow - Impossible to receive them. Are they correctly fired?
- Closed