Details
-
Bug
-
Resolution: Done
-
Major
-
WCM 5.0 SP3
-
None
-
SP3 18871
Description
I have a page with several distinct workflow of different types on several main_content objects. Some are validated other not. Some have integrity issues. My site is in FR only.
Finally I did a validation of one of my distinct workflow (If I remember correctly) and this leads to:
2007-10-16 16:13:24,859: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/engineName/workflow/site/test/op/edit/pid/108] user=[root] ip=[127.0.0.1] in [47ms]
2007-10-16 16:13:24,921: INFO [org.jahia.services.scheduler.BackgroundJob] - execute Background job BackgroundJob-5f75b664-cbe3-4b85-84e2-8c8dae6e7ea0
started @ Tue Oct 16 16:13:24 CEST 2007
2007-10-16 16:13:25,578: 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-16 16:13:25,687: 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-16 16:13:25,828: INFO [org.jahia.services.scheduler.BackgroundJob] - Background job (of type workflow) ended with status successful executed in 0s
2007-10-16 16:13:40,218: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/site/test/op/edit/pid/117] user=[root] ip=[127.0.0.1] in [218ms]
TestRail: Results
Attachments
Issue Links
- duplicates
-
JAHIA-960 Erreur pour l'envoi de mail avec les workflows N-step
- Closed
-
JAHIA-2479 SP3: email notifications for Nstep workflow - Impossible to receive them. Are they correctly fired?
- Closed