You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

dear all,

i am trying to set up a simple workflow but the email plugin cant send out email. I tried same configuration in my outlook and it works fine.

Anyone can help me with this?

2011-05-31 03:31:16,421: WorkflowAssignmentManager. -> Working without Participa
ntMapping API implementation - ParticipantMappingManager is not specified.
2011-05-31 03:31:16,421: SharkEngineManager -> Working with 'org.joget.workflow.
shark.WorkflowAssignmentManager' implementation of Assignment API
2011-05-31 03:31:16,421: SharkEngineManager -> Working without Caching API imple
mentation - CacheManager is not specified.
2011-05-31 03:31:16,468: DODSPersistentManager -> Adding shutdown hook for HSQL
DB
2011-05-31 03:31:16,593: datasourceName=shark, url=jdbc:mysql://localhost:3307/s
ampledb?characterEncoding=UTF-8, user=root
2011-05-31 03:31:17,000: Starting synchronous cache load for class: org.enhydra.
shark.instancepersistence.data.ProcessStateDO
2011-05-31 03:31:17,062: Finished synchronous cache load for class: org.enhydra.
shark.instancepersistence.data.ProcessStateDO
2011-05-31 03:31:17,078: Starting synchronous cache load for class: org.enhydra.
shark.instancepersistence.data.ActivityStateDO
2011-05-31 03:31:17,109: Finished synchronous cache load for class: org.enhydra.
shark.instancepersistence.data.ActivityStateDO
2011-05-31 03:31:17,156: DODSPersistentManager -> persisting String variables in
to BLOB for sizes greater than 4000
2011-05-31 03:31:17,156: SharkEngineManager -> Working with 'org.joget.workflow.
shark.WorkflowDODSPersistentManager' implementation of InstancePersistence API
2011-05-31 03:31:17,171: SharkEngineManager -> Working with 'org.joget.workflow.
shark.WorkflowEventAuditManager' implementation of EventAudit API
2011-05-31 03:31:17,250: SharkEngineManager -> Working with 'org.enhydra.shark.r
epositorypersistence.DODSRepositoryPersistenceManager' implementation of Reposit
oryPersistence API
2011-05-31 03:31:17,250: SharkEngineManager -> Working with 'org.joget.workflow.
shark.WorkflowScriptingManager' implementation of Scripting API
2011-05-31 03:31:17,250: SharkEngineManager -> Working without Security API impl
ementation - SecurityManager is not specified.
2011-05-31 03:31:17,640: StandardToolAgentManager -> Working with 'org.enhydra.s
hark.appmappersistence.DODSApplicationMappingAdmin' implementation of Applicatio
nMapPersistence API
2011-05-31 03:31:17,640: SharkEngineManager -> Working with 'org.enhydra.shark.t
oolagent.StandardToolAgentManager' implementation of ToolAgentManager API
2011-05-31 03:31:17,640: SharkEngineManager -> Working without wfEngineInteroper
ability API implementation - WfEngineInteroperability implementation is not spec
ified.
2011-05-31 03:31:17,671: SharkUtilities -> synchronizing XPDL cache
Shark -> shark engine initialization is finished, it lasted 1 [s]
Shark -> SharkExampleJSP ready and waiting ...
2011-05-31 03:31:18,171: datasourceName=report, url=jdbc:mysql://localhost:3307/
sampledb?characterEncoding=UTF-8, user=root
May 31, 2011 3:31:20 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 31, 2011 3:31:20 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 31, 2011 3:31:20 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16  config=null
May 31, 2011 3:31:20 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 19571 ms
INFO  31 May 2011 03:31:28 org.joget.workflow.security.WorkflowHttpAuthProcessin
gFilter  - Authentication for user andrew: true
INFO  31 May 2011 03:31:39 org.joget.workflow.shark.WorkflowAssignmentManager  -
 [processId=201_testleave_newpkg1_wp1, processDefId=testleave#1#newpkg1_wp1, par
ticipantId=requestor, next user=[andrew]]
INFO  31 May 2011 03:31:39 org.joget.form.util.DynamicLocalSessionFactoryBean  -
 Building new Hibernate SessionFactory
INFO  31 May 2011 03:31:53 org.joget.form.util.DynamicLocalSessionFactoryBean  -
 Building new Hibernate SessionFactory
INFO  31 May 2011 03:31:54 org.joget.workflow.shark.WorkflowAssignmentManager  -
 [processId=201_testleave_newpkg1_wp1, processDefId=testleave#1#newpkg1_wp1, par
ticipantId=headofdept, next user=[clw]]
INFO  31 May 2011 03:31:54 org.joget.workflow.controller.WorkflowJsonController
 - Assignment 201_201_testleave_newpkg1_wp1_reqquestforleave completed
INFO  31 May 2011 03:32:02 org.joget.workflow.security.WorkflowHttpAuthProcessin
gFilter  - Authentication for user clw: true
INFO  31 May 2011 03:32:13 org.joget.workflow.shark.WorkflowToolActivityHandler
 - Executing tool [pluginName=org.joget.plugin.email.EmailPlugin, processId=test
leave#1#newpkg1_wp1, version= 1, activityId=notifyreject]
ERROR 31 May 2011 03:32:13 org.joget.workflow.util.WorkflowUtil  - java.lang.Nul
lPointerException
java.lang.NullPointerException
        at org.joget.workflow.util.WorkflowUtil.getAssignmentUsers(WorkflowUtil.
java:79)
        at org.joget.plugin.email.EmailPlugin.execute(EmailPlugin.java:115)
        at org.joget.workflow.shark.WorkflowToolActivityHandler.executeActivity(
WorkflowToolActivityHandler.java:88)
        at org.enhydra.shark.WfActivityImpl.runTool(WfActivityImpl.java:1487)
        at org.enhydra.shark.WfActivityImpl.startActivity(WfActivityImpl.java:14
19)
        at org.enhydra.shark.WfActivityImpl.activate(WfActivityImpl.java:261)
        at org.enhydra.shark.WfProcessImpl.startActivity(WfProcessImpl.java:918)
        at org.enhydra.shark.WfProcessImpl.queueNext(WfProcessImpl.java:1134)
        at org.enhydra.shark.WfProcessImpl.run(WfProcessImpl.java:750)
        at org.enhydra.shark.WfProcessImpl.activity_complete(WfProcessImpl.java:
969)
        at org.enhydra.shark.WfActivityImpl.finish(WfActivityImpl.java:441)
        at org.enhydra.shark.WfActivityImpl.complete(WfActivityImpl.java:366)
        at org.enhydra.shark.WfActivityWrapper.complete(WfActivityWrapper.java:2
30)
        at org.joget.workflow.model.service.WorkflowManagerImpl.assignmentComple
te(WorkflowManagerImpl.java:4574)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:310)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.joget.workflow.util.AuditTrailInterceptor.invoke(AuditTrailInterc
eptor.java:21)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.joget.workflow.util.AuditTrailInterceptor.invoke(AuditTrailInterc
eptor.java:21)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invok
e(ExposeInvocationInterceptor.java:89)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
        at $Proxy9.assignmentComplete(Unknown Source)
        at org.joget.workflow.model.WorkflowFacade.assignmentComplete(WorkflowFa
cade.java:465)
        at org.joget.workflow.controller.WorkflowJsonController.assignmentComple
te(WorkflowJsonController.java:1237)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.
doInvokeMethod(HandlerMethodInvoker.java:413)
        at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.
invokeHandlerMethod(HandlerMethodInvoker.java:134)
        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandle
rAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:310)
        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandle
rAdapter.handle(AnnotationMethodHandlerAdapter.java:297)
        at org.joget.commons.spring.web.ParameterizedAnnotationMethodHandlerAdap
ter.handle(ParameterizedAnnotationMethodHandlerAdapter.java:30)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:875)
        at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
rServlet.java:809)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
workServlet.java:571)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServ
let.java:511)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
.doFilter(FilterChainProxy.java:359)
        at org.springframework.security.intercept.web.FilterSecurityInterceptor.
invoke(FilterSecurityInterceptor.java:109)
        at org.springframework.security.intercept.web.FilterSecurityInterceptor.
doFilter(FilterSecurityInterceptor.java:83)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
.doFilter(FilterChainProxy.java:371)
        at org.springframework.security.ui.SessionFixationProtectionFilter.doFil
terHttp(SessionFixationProtectionFilter.java:67)
        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
ecurityFilter.java:53)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
.doFilter(FilterChainProxy.java:371)
        at org.joget.workflow.security.WorkflowNtlmProcessingFilter.doFilterHttp
(WorkflowNtlmProcessingFilter.java:52)
        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
ecurityFilter.java:53)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
.doFilter(FilterChainProxy.java:371)
        at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHt
tp(ExceptionTranslationFilter.java:101)
        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
ecurityFilter.java:53)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
.doFilter(FilterChainProxy.java:371)
        at org.springframework.security.providers.anonymous.AnonymousProcessingF
ilter.doFilterHttp(AnonymousProcessingFilter.java:105)
        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
ecurityFilter.java:53)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
.doFilter(FilterChainProxy.java:371)
        at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp
(AbstractProcessingFilter.java:271)
        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
ecurityFilter.java:53)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
.doFilter(FilterChainProxy.java:371)
        at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp
(AbstractProcessingFilter.java:271)
        at org.joget.workflow.security.WorkflowHttpAuthProcessingFilter.doFilter
Http(WorkflowHttpAuthProcessingFilter.java:39)
        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
ecurityFilter.java:53)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
.doFilter(FilterChainProxy.java:371)
        at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(Logo
utFilter.java:89)
        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
ecurityFilter.java:53)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
.doFilter(FilterChainProxy.java:371)
        at org.springframework.security.context.HttpSessionContextIntegrationFil
ter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
ecurityFilter.java:53)
        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
.doFilter(FilterChainProxy.java:371)
        at org.springframework.security.util.FilterChainProxy.doFilter(FilterCha
inProxy.java:174)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(D
elegatingFilterProxy.java:236)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegat
ingFilterProxy.java:167)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterIntern
al(CharacterEncodingFilter.java:96)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR
equestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:845)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
        at java.lang.Thread.run(Thread.java:619)
INFO  31 May 2011 03:32:13 org.joget.plugin.email.EmailPlugin$1  - EmailPlugin:
Sending email from=kelvin@dsop.com.my, to=cc=kelvin@dsop.com.my, subject=leave r
eject
INFO  31 May 2011 03:32:13 org.joget.workflow.controller.WorkflowJsonController
 - Assignment 202_201_testleave_newpkg1_wp1_validate completed
ERROR 31 May 2011 03:32:34 org.joget.plugin.email.EmailPlugin$1  - org.apache.co
mmons.mail.EmailException: Sending the email to the following server failed : ma
il.dsop.com.my:25
org.apache.commons.mail.EmailException: Sending the email to the following serve
r failed : mail.dsop.com.my:25
        at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1138)
        at org.apache.commons.mail.Email.send(Email.java:1163)
        at org.joget.plugin.email.EmailPlugin$1.run(EmailPlugin.java:146)
        at java.lang.Thread.run(Thread.java:619)
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: mail.d
sop.com.my, port: 25;
  nested exception is:
        java.net.ConnectException: Connection timed out: connect
        at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
        at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:37
0)
        at javax.mail.Service.connect(Service.java:297)
        at javax.mail.Service.connect(Service.java:156)
        at javax.mail.Service.connect(Service.java:105)
        at javax.mail.Transport.send0(Transport.java:168)
        at javax.mail.Transport.send(Transport.java:98)
        at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1128)
        ... 3 more
Caused by: java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
        at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
        at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
        ... 10 more
The error is as below:-

2011-05-31 03:31:16,421: WorkflowAssignmentManager. -> Working without Participa

ntMapping API implementation - ParticipantMappingManager is not specified.

2011-05-31 03:31:16,421: SharkEngineManager -> Working with 'org.joget.workflow.

shark.WorkflowAssignmentManager' implementation of Assignment API

2011-05-31 03:31:16,421: SharkEngineManager -> Working without Caching API imple

mentation - CacheManager is not specified.

2011-05-31 03:31:16,468: DODSPersistentManager -> Adding shutdown hook for HSQL

DB

2011-05-31 03:31:16,593: datasourceName=shark, url=jdbc:mysql://localhost:3307/s

ampledb?characterEncoding=UTF-8, user=root

2011-05-31 03:31:17,000: Starting synchronous cache load for class: org.enhydra.

shark.instancepersistence.data.ProcessStateDO

2011-05-31 03:31:17,062: Finished synchronous cache load for class: org.enhydra.

shark.instancepersistence.data.ProcessStateDO

2011-05-31 03:31:17,078: Starting synchronous cache load for class: org.enhydra.

shark.instancepersistence.data.ActivityStateDO

2011-05-31 03:31:17,109: Finished synchronous cache load for class: org.enhydra.

shark.instancepersistence.data.ActivityStateDO

2011-05-31 03:31:17,156: DODSPersistentManager -> persisting String variables in

to BLOB for sizes greater than 4000

2011-05-31 03:31:17,156: SharkEngineManager -> Working with 'org.joget.workflow.

shark.WorkflowDODSPersistentManager' implementation of InstancePersistence API

2011-05-31 03:31:17,171: SharkEngineManager -> Working with 'org.joget.workflow.

shark.WorkflowEventAuditManager' implementation of EventAudit API

2011-05-31 03:31:17,250: SharkEngineManager -> Working with 'org.enhydra.shark.r

epositorypersistence.DODSRepositoryPersistenceManager' implementation of Reposit

oryPersistence API

2011-05-31 03:31:17,250: SharkEngineManager -> Working with 'org.joget.workflow.

shark.WorkflowScriptingManager' implementation of Scripting API

2011-05-31 03:31:17,250: SharkEngineManager -> Working without Security API impl

ementation - SecurityManager is not specified.

2011-05-31 03:31:17,640: StandardToolAgentManager -> Working with 'org.enhydra.s

hark.appmappersistence.DODSApplicationMappingAdmin' implementation of Applicatio

nMapPersistence API

2011-05-31 03:31:17,640: SharkEngineManager -> Working with 'org.enhydra.shark.t

oolagent.StandardToolAgentManager' implementation of ToolAgentManager API

2011-05-31 03:31:17,640: SharkEngineManager -> Working without wfEngineInteroper

ability API implementation - WfEngineInteroperability implementation is not spec

ified.

2011-05-31 03:31:17,671: SharkUtilities -> synchronizing XPDL cache

Shark -> shark engine initialization is finished, it lasted 1 [s]

Shark -> SharkExampleJSP ready and waiting ...

2011-05-31 03:31:18,171: datasourceName=report, url=jdbc:mysql://localhost:3307/

sampledb?characterEncoding=UTF-8, user=root

May 31, 2011 3:31:20 AM org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on http-8080

May 31, 2011 3:31:20 AM org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8009

May 31, 2011 3:31:20 AM org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/16  config=null

May 31, 2011 3:31:20 AM org.apache.catalina.startup.Catalina start

INFO: Server startup in 19571 ms

INFO  31 May 2011 03:31:28 org.joget.workflow.security.WorkflowHttpAuthProcessin

gFilter  - Authentication for user andrew: true

INFO  31 May 2011 03:31:39 org.joget.workflow.shark.WorkflowAssignmentManager  -

 [processId=201_testleave_newpkg1_wp1, processDefId=testleave#1#newpkg1_wp1, par

ticipantId=requestor, next user=[andrew]]

INFO  31 May 2011 03:31:39 org.joget.form.util.DynamicLocalSessionFactoryBean  -

 Building new Hibernate SessionFactory

INFO  31 May 2011 03:31:53 org.joget.form.util.DynamicLocalSessionFactoryBean  -

 Building new Hibernate SessionFactory

INFO  31 May 2011 03:31:54 org.joget.workflow.shark.WorkflowAssignmentManager  -

 [processId=201_testleave_newpkg1_wp1, processDefId=testleave#1#newpkg1_wp1, par

ticipantId=headofdept, next user=[clw]]

INFO  31 May 2011 03:31:54 org.joget.workflow.controller.WorkflowJsonController

 - Assignment 201_201_testleave_newpkg1_wp1_reqquestforleave completed

INFO  31 May 2011 03:32:02 org.joget.workflow.security.WorkflowHttpAuthProcessin

gFilter  - Authentication for user clw: true

INFO  31 May 2011 03:32:13 org.joget.workflow.shark.WorkflowToolActivityHandler

 - Executing tool [pluginName=org.joget.plugin.email.EmailPlugin, processId=test

leave#1#newpkg1_wp1, version= 1, activityId=notifyreject]

ERROR 31 May 2011 03:32:13 org.joget.workflow.util.WorkflowUtil  - java.lang.Nul

lPointerException

java.lang.NullPointerException

        at org.joget.workflow.util.WorkflowUtil.getAssignmentUsers(WorkflowUtil.

java:79)

        at org.joget.plugin.email.EmailPlugin.execute(EmailPlugin.java:115)

        at org.joget.workflow.shark.WorkflowToolActivityHandler.executeActivity(

WorkflowToolActivityHandler.java:88)

        at org.enhydra.shark.WfActivityImpl.runTool(WfActivityImpl.java:1487)

        at org.enhydra.shark.WfActivityImpl.startActivity(WfActivityImpl.java:14

19)

        at org.enhydra.shark.WfActivityImpl.activate(WfActivityImpl.java:261)

        at org.enhydra.shark.WfProcessImpl.startActivity(WfProcessImpl.java:918)

        at org.enhydra.shark.WfProcessImpl.queueNext(WfProcessImpl.java:1134)

        at org.enhydra.shark.WfProcessImpl.run(WfProcessImpl.java:750)

        at org.enhydra.shark.WfProcessImpl.activity_complete(WfProcessImpl.java:

969)

        at org.enhydra.shark.WfActivityImpl.finish(WfActivityImpl.java:441)

        at org.enhydra.shark.WfActivityImpl.complete(WfActivityImpl.java:366)

        at org.enhydra.shark.WfActivityWrapper.complete(WfActivityWrapper.java:2

30)

        at org.joget.workflow.model.service.WorkflowManagerImpl.assignmentComple

te(WorkflowManagerImpl.java:4574)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti

on(AopUtils.java:310)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo

inpoint(ReflectiveMethodInvocation.java:182)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

ReflectiveMethodInvocation.java:149)

        at org.springframework.transaction.interceptor.TransactionInterceptor.in

voke(TransactionInterceptor.java:106)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

ReflectiveMethodInvocation.java:171)

        at org.springframework.transaction.interceptor.TransactionInterceptor.in

voke(TransactionInterceptor.java:106)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

ReflectiveMethodInvocation.java:171)

        at org.joget.workflow.util.AuditTrailInterceptor.invoke(AuditTrailInterc

eptor.java:21)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

ReflectiveMethodInvocation.java:171)

        at org.joget.workflow.util.AuditTrailInterceptor.invoke(AuditTrailInterc

eptor.java:21)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

ReflectiveMethodInvocation.java:171)

        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invok

e(ExposeInvocationInterceptor.java:89)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

ReflectiveMethodInvocation.java:171)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami

cAopProxy.java:204)

        at $Proxy9.assignmentComplete(Unknown Source)

        at org.joget.workflow.model.WorkflowFacade.assignmentComplete(WorkflowFa

cade.java:465)

        at org.joget.workflow.controller.WorkflowJsonController.assignmentComple

te(WorkflowJsonController.java:1237)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.

doInvokeMethod(HandlerMethodInvoker.java:413)

        at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.

invokeHandlerMethod(HandlerMethodInvoker.java:134)

        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandle

rAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:310)

        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandle

rAdapter.handle(AnnotationMethodHandlerAdapter.java:297)

        at org.joget.commons.spring.web.ParameterizedAnnotationMethodHandlerAdap

ter.handle(ParameterizedAnnotationMethodHandlerAdapter.java:30)

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch

erServlet.java:875)

        at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche

rServlet.java:809)

        at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame

workServlet.java:571)

        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServ

let.java:511)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:290)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:206)

        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain

.doFilter(FilterChainProxy.java:359)

        at org.springframework.security.intercept.web.FilterSecurityInterceptor.

invoke(FilterSecurityInterceptor.java:109)

        at org.springframework.security.intercept.web.FilterSecurityInterceptor.

doFilter(FilterSecurityInterceptor.java:83)

        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain

.doFilter(FilterChainProxy.java:371)

        at org.springframework.security.ui.SessionFixationProtectionFilter.doFil

terHttp(SessionFixationProtectionFilter.java:67)

        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS

ecurityFilter.java:53)

        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain

.doFilter(FilterChainProxy.java:371)

        at org.joget.workflow.security.WorkflowNtlmProcessingFilter.doFilterHttp

(WorkflowNtlmProcessingFilter.java:52)

        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS

ecurityFilter.java:53)

        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain

.doFilter(FilterChainProxy.java:371)

        at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHt

tp(ExceptionTranslationFilter.java:101)

        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS

ecurityFilter.java:53)

        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain

.doFilter(FilterChainProxy.java:371)

        at org.springframework.security.providers.anonymous.AnonymousProcessingF

ilter.doFilterHttp(AnonymousProcessingFilter.java:105)

        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS

ecurityFilter.java:53)

        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain

.doFilter(FilterChainProxy.java:371)

        at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp

(AbstractProcessingFilter.java:271)

        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS

ecurityFilter.java:53)

        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain

.doFilter(FilterChainProxy.java:371)

        at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp

(AbstractProcessingFilter.java:271)

        at org.joget.workflow.security.WorkflowHttpAuthProcessingFilter.doFilter

Http(WorkflowHttpAuthProcessingFilter.java:39)

        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS

ecurityFilter.java:53)

        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain

.doFilter(FilterChainProxy.java:371)

        at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(Logo

utFilter.java:89)

        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS

ecurityFilter.java:53)

        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain

.doFilter(FilterChainProxy.java:371)

        at org.springframework.security.context.HttpSessionContextIntegrationFil

ter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)

        at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS

ecurityFilter.java:53)

        at org.springframework.security.util.FilterChainProxy$VirtualFilterChain

.doFilter(FilterChainProxy.java:371)

        at org.springframework.security.util.FilterChainProxy.doFilter(FilterCha

inProxy.java:174)

        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(D

elegatingFilterProxy.java:236)

        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegat

ingFilterProxy.java:167)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:206)

        at org.springframework.web.filter.CharacterEncodingFilter.doFilterIntern

al(CharacterEncodingFilter.java:96)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR

equestFilter.java:76)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

alve.java:233)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

alve.java:191)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

ava:128)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

ava:102)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

ve.java:109)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

a:286)

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

:845)

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce

ss(Http11Protocol.java:583)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44

7)

        at java.lang.Thread.run(Thread.java:619)

INFO  31 May 2011 03:32:13 org.joget.plugin.email.EmailPlugin$1  - EmailPlugin:

Sending email from=kelvin@dsop.com.my, to=cc=kelvin@dsop.com.my, subject=leave r

eject

INFO  31 May 2011 03:32:13 org.joget.workflow.controller.WorkflowJsonController

 - Assignment 202_201_testleave_newpkg1_wp1_validate completed

ERROR 31 May 2011 03:32:34 org.joget.plugin.email.EmailPlugin$1  - org.apache.co

mmons.mail.EmailException: Sending the email to the following server failed : ma

il.dsop.com.my:25

org.apache.commons.mail.EmailException: Sending the email to the following serve

r failed : mail.dsop.com.my:25

        at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1138)

        at org.apache.commons.mail.Email.send(Email.java:1163)

        at org.joget.plugin.email.EmailPlugin$1.run(EmailPlugin.java:146)

        at java.lang.Thread.run(Thread.java:619)

Caused by: javax.mail.MessagingException: Could not connect to SMTP host: mail.d

sop.com.my, port: 25;

  nested exception is:

        java.net.ConnectException: Connection timed out: connect

        at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)

        at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:37

0)

        at javax.mail.Service.connect(Service.java:297)

        at javax.mail.Service.connect(Service.java:156)

        at javax.mail.Service.connect(Service.java:105)

        at javax.mail.Transport.send0(Transport.java:168)

        at javax.mail.Transport.send(Transport.java:98)

        at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1128)

        ... 3 more

Caused by: java.net.ConnectException: Connection timed out: connect

        at java.net.PlainSocketImpl.socketConnect(Native Method)

        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

        at java.net.Socket.connect(Socket.java:519)

        at java.net.Socket.connect(Socket.java:469)

        at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)

        at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)

        at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)

        ... 10 more

  • No labels