AnsweredAssumed Answered

Error Cannot load resource jbpm.mail.templates.xml

Question asked by norgan on Oct 1, 2009
Good morning, everybody.

I am still bughunting :-( and wondering - What might that be down there ? Where did it come from and what can I do against it :)

Thanks in advance

21:33:53,380  ERROR [graph.def.GraphElement] action threw exception: Cannot load resource: jbpm.mail.templates.xml
java.lang.IllegalArgumentException: Cannot load resource: jbpm.mail.templates.xml
        at org.jbpm.util.XmlUtil.parseXmlResource(XmlUtil.java:75)
        at org.jbpm.mail.Mail.getMailTemplateProperties(Mail.java:349)
        at org.jbpm.mail.Mail.send(Mail.java:150)
        at org.jbpm.mail.Mail.execute(Mail.java:76)
        at org.jbpm.graph.def.Action.execute(Action.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
        at org.jbpm.graph.def.Action$$EnhancerByCGLIB$$40fc4840.execute(<generated>)
        at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:284)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
        at org.jbpm.taskmgmt.def.Task$$EnhancerByCGLIB$$6bbd5759.executeAction(<generated>)
        at org.jbpm.job.Timer.execute(Timer.java:59)
        at org.alfresco.repo.workflow.jbpm.AlfrescoTimer.access$001(AlfrescoTimer.java:43)
        at org.alfresco.repo.workflow.jbpm.AlfrescoTimer$1.doWork(AlfrescoTimer.java:92)
        at org.alfresco.repo.workflow.jbpm.AlfrescoTimer$1.doWork(AlfrescoTimer.java:90)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:489)
        at org.alfresco.repo.workflow.jbpm.AlfrescoTimer.execute(AlfrescoTimer.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
        at org.jbpm.job.Job$$EnhancerByCGLIB$$599f32ef.execute(<generated>)
        at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:166)
        at org.alfresco.repo.workflow.jbpm.AlfrescoJobExecutorThread.access$201(AlfrescoJobExecutorThread.java:43)
        at org.alfresco.repo.workflow.jbpm.AlfrescoJobExecutorThread$TransactionJob.execute(AlfrescoJobExecutorThread.java:13
8)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:233)
        at org.alfresco.repo.workflow.jbpm.AlfrescoJobExecutorThread.executeJob(AlfrescoJobExecutorThread.java:113)
        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:60)
21:33:53,878  ERROR [graph.def.GraphElement] action threw exception: null
java.lang.NullPointerException
        at org.jbpm.mail.Mail.send(Mail.java:153)
        at org.jbpm.mail.Mail.execute(Mail.java:76)
        at org.jbpm.graph.def.Action.execute(Action.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
        at org.jbpm.graph.def.Action$$EnhancerByCGLIB$$40fc4840.execute(<generated>)
        at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:284)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
        at org.jbpm.taskmgmt.def.Task$$EnhancerByCGLIB$$6bbd5759.executeAction(<generated>)
        at org.jbpm.job.Timer.execute(Timer.java:59)
        at org.alfresco.repo.workflow.jbpm.AlfrescoTimer.access$001(AlfrescoTimer.java:43)
        at org.alfresco.repo.workflow.jbpm.AlfrescoTimer$1.doWork(AlfrescoTimer.java:92)
        at org.alfresco.repo.workflow.jbpm.AlfrescoTimer$1.doWork(AlfrescoTimer.java:90)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:489)
        at org.alfresco.repo.workflow.jbpm.AlfrescoTimer.execute(AlfrescoTimer.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
        at org.jbpm.job.Job$$EnhancerByCGLIB$$599f32ef.execute(<generated>)
        at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:166)
        at org.alfresco.repo.workflow.jbpm.AlfrescoJobExecutorThread.access$201(AlfrescoJobExecutorThread.java:43)
        at org.alfresco.repo.workflow.jbpm.AlfrescoJobExecutorThread$TransactionJob.execute(AlfrescoJobExecutorThread.java:13
8)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:233)
        at org.alfresco.repo.workflow.jbpm.AlfrescoJobExecutorThread.executeJob(AlfrescoJobExecutorThread.java:113)

Outcomes