3 Replies Latest reply on May 22, 2007 7:33 PM by Leo

    Null pointer rendering mail from @Startup component - seam f

    Leo Newbie

      Guys,

      I have MessageHome.send() method which is called by the user everytime it saves a new Task on my system. This MessageHome.send() sends an eMail using seam mail component, rendering a xhtml file on file system.

      Well, as these tasks may be scheduled to run on future, I've constructed a @Startup component to run every day, midnight to call MessageHome.send() in order to check if any scheduled e-Mail must be sent.

      From web view, every thing works fine. The message is rendered by seam mail component and sent... no problem.

      But, when the same rendering code is called from my startup component, I am getting a null pointer inside org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit._addDebugResponseWriters(CoreRenderKit.java:541).

      Look at when this code is called:

      FaceletsRenderer.wrap() {
      ...
       // Wrap the ResponseWriter
       originalResponseWriter = facesContext.getResponseWriter();
       facesContext.setResponseWriter(facesContext.getRenderKit().createResponseWriter(writer,
       null, null)); //NPE here!
      


      The exception is raised when facesContext.getRenderKit().createResponseWriter(writer,
      null, null) runs.

      As you see I am using trinidad.

      Do you have any ideia how I can solve or workaround it ?
      I ve tried to get trinidad sources from svn apache repository, but it seems like it is down. Anyone of you guys could please send me trinidad sources ?

      Rgds,
      Leo


        • 1. Re: Null pointer rendering mail from @Startup component - se
          Leo Newbie

          of course,

          Follow my config files:

          components.xml

          <?xml version="1.0" encoding="UTF-8"?>
          <components xmlns="http://jboss.com/products/seam/components"
           xmlns:core="http://jboss.com/products/seam/core"
           xmlns:web="http://jboss.com/products/seam/web"
           xmlns:drools="http://jboss.com/products/seam/drools"
           xmlns:security="http://jboss.com/products/seam/security"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:mail="http://jboss.com/products/seam/mail"
           xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.3.xsd
           http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.3.xsd
           http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.3.xsd
           http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-1.3.xsd
           http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.3.xsd">
          
           <core:init debug="true" jndi-pattern="@jndiPattern@" />
          
           <core:manager concurrent-request-timeout="500"
           conversation-timeout="120000" conversation-id-parameter="cid"
           conversation-is-long-running-parameter="clr" />
          
           <core:managed-persistence-context name="entityManager"
           auto-create="true"
           persistence-unit-jndi-name="java:/etaskEntityManagerFactory" />
          
           <core:ejb installed="@embeddedEjb@" />
          
           <drools:rule-base name="securityRules">
           <drools:rule-files>
           <value>/security.drl</value>
           </drools:rule-files>
           </drools:rule-base>
          
           <security:identity
           authenticate-method="#{authenticator.authenticate}"
           security-rules="#{securityRules}" remember-me="true" />
          
           <event type="org.jboss.seam.notLoggedIn">
           <action expression="#{redirect.captureCurrentView}" />
           </event>
           <event type="org.jboss.seam.postAuthenticate">
           <action expression="#{redirect.returnToCapturedView}" />
           </event>
          
           <web:multipart-filter create-temp-files="true"
           max-request-size="100000000" url-pattern="*.seam" />
          
           <mail:mail-session session-jndi-name="java:/Mail" />
          
           <mail:mail-session host="mail.bittecnologia.com" />
          
           <core:resource-bundle>
           <core:bundle-names>
           <value>messages</value>
           </core:bundle-names>
           </core:resource-bundle>
          
           <core:dispatcher />
          
           <component name="org.jboss.seam.ui.entityConverter">
           <property name="entityManager">#{em}</property>
           </component>
          
          </components>
          



          Relevant faces-config.xml
          <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
          
           <application>
           <el-resolver>org.jboss.seam.jsf.SeamELResolver</el-resolver>
           <message-bundle>messages</message-bundle>
           <default-render-kit-id>
           org.apache.myfaces.trinidad.core
           </default-render-kit-id>
           </application>
          
           <lifecycle>
           <phase-listener>
           org.jboss.seam.jsf.TransactionalSeamPhaseListener
           </phase-listener>
           </lifecycle>
          
           <converter>
           <converter-id>actorGroupConverter</converter-id>
           <converter-class>
           org.bit.etask.converter.ActorGroupConverter
           </converter-class>
           </converter>
          ... follow just converters..
          



          web.xml
          <?xml version="1.0" encoding="UTF-8"?>
          <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/j2ee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd">
          
           <description>workflow for everything</description>
           <display-name>eTask</display-name>
          
           <filter>
           <filter-name>ajax4jsf</filter-name>
           <filter-class>org.ajax4jsf.Filter</filter-class>
           </filter>
          
           <filter-mapping>
           <filter-name>ajax4jsf</filter-name>
           <url-pattern>*.seam</url-pattern>
           <dispatcher>REQUEST</dispatcher>
           <dispatcher>FORWARD</dispatcher>
           <dispatcher>INCLUDE</dispatcher>
           </filter-mapping>
          
           <context-param>
           <param-name>org.ajax4jsf.SKIN</param-name>
           <param-value>blueSky</param-value>
           </context-param>
          
          
           <listener>
           <listener-class>
           org.jboss.seam.servlet.SeamListener
           </listener-class>
           </listener>
          
           <filter>
           <filter-name>Seam Filter</filter-name>
           <filter-class>org.jboss.seam.web.SeamFilter</filter-class>
           </filter>
          
           <filter-mapping>
           <filter-name>Seam Filter</filter-name>
           <url-pattern>/*</url-pattern>
           </filter-mapping>
          
           <servlet>
           <servlet-name>Seam Resource Servlet</servlet-name>
           <servlet-class>
           org.jboss.seam.servlet.ResourceServlet
           </servlet-class>
           </servlet>
          
           <servlet-mapping>
           <servlet-name>Seam Resource Servlet</servlet-name>
           <url-pattern>/seam/resource/*</url-pattern>
           </servlet-mapping>
          
           <context-param>
           <param-name>facelets.DEVELOPMENT</param-name>
           <param-value>true</param-value>
           </context-param>
          
           <context-param>
           <param-name>facelets.LIBRARIES</param-name>
           <param-value>
           /WEB-INF/creator.taglib.xml;/WEB-INF/bit.taglib.xml
           </param-value>
           </context-param>
          
           <context-param>
           <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
           <param-value>server</param-value>
           </context-param>
          
           <context-param>
           <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
           <param-value>.xhtml</param-value>
           </context-param>
          
           <servlet>
           <servlet-name>ThemeServlet</servlet-name>
           <servlet-class>
           com.sun.rave.web.ui.theme.ThemeServlet
           </servlet-class>
           </servlet>
          
          
           <servlet-mapping>
           <servlet-name>ThemeServlet</servlet-name>
           <url-pattern>/etask/theme/*</url-pattern>
           </servlet-mapping>
          
           <servlet-mapping>
           <servlet-name>ThemeServlet</servlet-name>
           <url-pattern>/theme/*</url-pattern>
           </servlet-mapping>
          
           <servlet>
           <servlet-name>Faces Servlet</servlet-name>
           <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
           <load-on-startup>1</load-on-startup>
           </servlet>
          
           <servlet-mapping>
           <servlet-name>Faces Servlet</servlet-name>
           <url-pattern>*.seam</url-pattern>
           </servlet-mapping>
          
           <session-config>
           <session-timeout>120</session-timeout>
           </session-config>
           <security-constraint>
           <display-name>Restrict raw XHTML Documents</display-name>
           <web-resource-collection>
           <web-resource-name>XHTML</web-resource-name>
           <url-pattern>*.xhtml</url-pattern>
           </web-resource-collection>
           <auth-constraint>
           <role-name>NONE</role-name>
           </auth-constraint>
           </security-constraint>
          
           <context-param>
           <param-name>
           org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER
           </param-name>
           <param-value>
           org.jboss.seam.ui.facelet.SeamFaceletViewHandler
           </param-value>
           </context-param>
          
           <filter>
           <filter-name>Trinidad</filter-name>
           <filter-class>
           org.apache.myfaces.trinidad.webapp.TrinidadFilter
           </filter-class>
           </filter>
          
           <filter-mapping>
           <filter-name>Trinidad</filter-name>
           <url-pattern>*.seam</url-pattern>
           </filter-mapping>
          
           <servlet>
           <servlet-name>Trinidad Resources</servlet-name>
           <servlet-class>
           org.apache.myfaces.trinidad.webapp.ResourceServlet
           </servlet-class>
           </servlet>
          
           <servlet-mapping>
           <servlet-name>Trinidad Resources</servlet-name>
           <url-pattern>/adf/*</url-pattern>
           </servlet-mapping>
          </web-app>
          
          


          Rgds
          Leo

          • 2. Re: Null pointer rendering mail from @Startup component - se
            Leo Newbie

            and.. the full stack trace

            20:28:49,187 INFO [STDOUT] Hibernate: select config0_.ID as ID3_0_, config0_.NAME as NAME3_0_, config0_.UPLOADROOTDIRECTORY as UPLOADRO3_3_0_, config0_.MESSAGETEMPDIRECTORY as MESSAGET4_3_0_, config0_.SENDNOTIFICATIONS as SENDNOTI5_3_0_, config0_.defaultEtaskAdaptorHostFullName as defaultE6_3_0_, config0_.defaultEtaskAdaptorPort as defaultE7_3_0_, config0_.defaultEtaskAdaptorWebService as defaultE8_3_0_ from CONFIG config0_ where config0_.ID=?
            20:28:49,187 INFO [STDOUT] Hibernate: select actorgroup0_.config_id as config1_1_, actorgroup0_.actorgroup_id as actorgroup2_1_, actorgroup1_.ID as ID2_0_, actorgroup1_.ACTORGROUP_ID as ACTORGROUP5_2_0_, actorgroup1_.ACTOR_ID as ACTOR4_2_0_, actorgroup1_.NAME as NAME2_0_, actorgroup1_.ACTIVE as ACTIVE2_0_ from ActorgroupsForAllActors actorgroup0_ left outer join ACTORGROUP actorgroup1_ on actorgroup0_.actorgroup_id=actorgroup1_.ID where actorgroup0_.config_id=?
            20:28:49,296 ERROR [STDERR] java.lang.NullPointerException
            20:28:49,296 ERROR [STDERR] at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit._addDebugResponseWriters(CoreRenderKit.java:541)
            20:28:49,296 ERROR [STDERR] at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.createResponseWriter(CoreRenderKit.java:527)
            20:28:49,296 ERROR [STDERR] at org.apache.myfaces.trinidadinternal.renderkit.RenderKitDecorator.createResponseWriter(RenderKitDecorator.java:50)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.ui.facelet.FaceletsRenderer$Context.wrap(FaceletsRenderer.java:68)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:110)
            20:28:49,296 ERROR [STDERR] at org.bit.etask.home.MessageHome.send(MessageHome.java:172)
            20:28:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:28:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:28:49,296 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:28:49,296 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:37)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.TransactionInterceptor$1.work(TransactionInterceptor.java:32)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.util.Work.workInTransaction(Work.java:37)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:27)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87)
            20:28:49,296 ERROR [STDERR] at org.bit.etask.home.MessageHome_$$_javassist_29.send(MessageHome_$$_javassist_29.java)
            20:28:49,296 ERROR [STDERR] at org.bit.etask.scheduler.job.SendNotificationsToScheduledTasksBean.execute(SendNotificationsToScheduledTasksBean.java:57)
            20:28:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:28:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:28:49,296 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:28:49,296 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:28:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
            20:28:49,296 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
            20:28:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:28:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:28:49,296 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:28:49,296 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:28:49,296 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
            20:28:49,296 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
            20:28:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,296 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
            20:28:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,296 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
            20:28:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,296 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
            20:28:49,296 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
            20:28:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,296 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
            20:28:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,296 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
            20:28:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,296 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
            20:28:49,296 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
            20:28:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,296 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
            20:28:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,296 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
            20:28:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,296 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
            20:28:49,296 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
            20:28:49,296 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
            20:28:49,296 ERROR [STDERR] at $Proxy102.execute(Unknown Source)
            20:28:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:28:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:28:49,296 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:28:49,296 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
            20:28:49,296 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:72)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.interceptors.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:37)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:50)
            20:28:49,312 ERROR [STDERR] at org.javassist.tmp.java.lang.Object_$$_javassist_25.execute(Object_$$_javassist_25.java)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:28:49,312 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:28:49,312 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:124)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.core.Dispatcher$AsynchronousInvocation.call(Dispatcher.java:134)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.core.Dispatcher$Asynchronous.execute(Dispatcher.java:88)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.core.Dispatcher.dispatch(Dispatcher.java:165)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:28:49,312 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:28:49,312 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
            20:28:49,312 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.callTimeout(StatelessContainer.java:151)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb.txtimer.TimerImpl$TimerTaskImpl.run(TimerImpl.java:561)
            20:28:49,312 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)
            20:28:49,312 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)
            20:28:49,312 ERROR [STDERR] java.lang.NullPointerException
            20:28:49,312 ERROR [STDERR] at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit._addDebugResponseWriters(CoreRenderKit.java:541)
            20:28:49,312 ERROR [STDERR] at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.createResponseWriter(CoreRenderKit.java:527)
            20:28:49,312 ERROR [STDERR] at org.apache.myfaces.trinidadinternal.renderkit.RenderKitDecorator.createResponseWriter(RenderKitDecorator.java:50)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.ui.facelet.FaceletsRenderer$Context.wrap(FaceletsRenderer.java:68)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:110)
            20:28:49,312 ERROR [STDERR] at org.bit.etask.home.MessageHome.send(MessageHome.java:172)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:28:49,312 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:28:49,312 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:37)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.interceptors.TransactionInterceptor$1.work(TransactionInterceptor.java:32)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.util.Work.workInTransaction(Work.java:37)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.interceptors.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:27)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87)
            20:28:49,312 ERROR [STDERR] at org.bit.etask.home.MessageHome_$$_javassist_29.send(MessageHome_$$_javassist_29.java)
            20:28:49,312 ERROR [STDERR] at org.bit.etask.scheduler.job.SendNotificationsToScheduledTasksBean.execute(SendNotificationsToScheduledTasksBean.java:57)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:28:49,312 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:28:49,312 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:28:49,312 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:28:49,312 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
            20:28:49,312 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
            20:28:49,312 ERROR [STDERR] at $Proxy102.execute(Unknown Source)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:28:49,312 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:28:49,312 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:72)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.interceptors.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:37)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:50)
            20:28:49,312 ERROR [STDERR] at org.javassist.tmp.java.lang.Object_$$_javassist_25.execute(Object_$$_javassist_25.java)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:28:49,312 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:28:49,312 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:124)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.core.Dispatcher$AsynchronousInvocation.call(Dispatcher.java:134)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.core.Dispatcher$Asynchronous.execute(Dispatcher.java:88)
            20:28:49,312 ERROR [STDERR] at org.jboss.seam.core.Dispatcher.dispatch(Dispatcher.java:165)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:28:49,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:28:49,312 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:28:49,312 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
            20:28:49,312 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
            20:28:49,312 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.callTimeout(StatelessContainer.java:151)
            20:28:49,312 ERROR [STDERR] at org.jboss.ejb.txtimer.TimerImpl$TimerTaskImpl.run(TimerImpl.java:561)
            20:28:49,312 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)
            20:28:49,312 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)
            20:28:49,343 ERROR [TimerImpl] Error invoking ejbTimeout: org.bit.etask.GenericException: Error sending e-Mail
            20:29:49,000 INFO [SendNotificationsToScheduledTasksBean] Starting ...
            20:29:49,046 INFO [STDOUT] Hibernate: select task0_.ID as ID15_, task0_.TASKTYPE_ID as TASKTYPE9_15_, task0_.PARENTTASK_ID as PARENTTASK10_15_, task0_.TASKGROUP_ID as TASKGROUP8_15_, task0_.DUEDATE as DUEDATE15_, task0_.STARTDATE as STARTDATE15_, task0_.STARTTIME as STARTTIME15_, task0_.DUETIME as DUETIME15_, task0_.PRIORITY_ID as PRIORITY11_15_, task0_.RESOURCE_ID as RESOURCE12_15_, task0_.DESCRIPTION as DESCRIPT6_15_, task0_.notifyAtStartDate as notifyAt7_15_ from TASK task0_
            20:29:49,046 INFO [STDOUT] Hibernate: select activities0_.task_id as task7_5_, activities0_.ID as ID5_, activities0_.ID as ID0_4_, activities0_.ACTORCREATOR_ID as ACTORCRE8_0_4_, activities0_.ASSIGNEDTO_ID as ASSIGNEDTO6_0_4_, activities0_.task_id as task7_0_4_, activities0_.STATUS_ID as STATUS4_0_4_, activities0_.CREATIONTIME as CREATION2_0_4_, activities0_.COMMENT as COMMENT0_4_, activities0_.PARENTACTIVITY_ID as PARENTAC5_0_4_, actor1_.ID as ID1_0_, actor1_.ACTOR_ID as ACTOR12_1_0_, actor1_.BACKUPACTOR_ID as BACKUPA13_1_0_, actor1_.LOGIN as LOGIN1_0_, actor1_.PWD as PWD1_0_, actor1_.FULLNAME as FULLNAME1_0_, actor1_.ACTIVE as ACTIVE1_0_, actor1_.ADMINUSER as ADMINUSER1_0_, actor1_.RECEIVENOTIFICATION as RECEIVEN7_1_0_, actor1_.EMAIL1 as EMAIL8_1_0_, actor1_.EMAIL2 as EMAIL9_1_0_, actor1_.PHONE1 as PHONE10_1_0_, actor1_.PHONE2 as PHONE11_1_0_, actor2_.ID as ID1_1_, actor2_.ACTOR_ID as ACTOR12_1_1_, actor2_.BACKUPACTOR_ID as BACKUPA13_1_1_, actor2_.LOGIN as LOGIN1_1_, actor2_.PWD as PWD1_1_, actor2_.FULLNAME as FULLNAME1_1_, actor2_.ACTIVE as ACTIVE1_1_, actor2_.ADMINUSER as ADMINUSER1_1_, actor2_.RECEIVENOTIFICATION as RECEIVEN7_1_1_, actor2_.EMAIL1 as EMAIL8_1_1_, actor2_.EMAIL2 as EMAIL9_1_1_, actor2_.PHONE1 as PHONE10_1_1_, actor2_.PHONE2 as PHONE11_1_1_, status3_.ID as ID14_2_, status3_.NAME as NAME14_2_, status3_.NEEDACTION as NEEDACTION14_2_, status3_.WORKSPACE_ID as WORKSPACE4_14_2_, activity4_.ID as ID0_3_, activity4_.ACTORCREATOR_ID as ACTORCRE8_0_3_, activity4_.ASSIGNEDTO_ID as ASSIGNEDTO6_0_3_, activity4_.task_id as task7_0_3_, activity4_.STATUS_ID as STATUS4_0_3_, activity4_.CREATIONTIME as CREATION2_0_3_, activity4_.COMMENT as COMMENT0_3_, activity4_.PARENTACTIVITY_ID as PARENTAC5_0_3_ from ACTIVITY activities0_ left outer join ACTOR actor1_ on activities0_.ASSIGNEDTO_ID=actor1_.ID left outer join ACTOR actor2_ on actor1_.ACTOR_ID=actor2_.ID left outer join STATUS status3_ on activities0_.STATUS_ID=status3_.ID left outer join ACTIVITY activity4_ on activities0_.PARENTACTIVITY_ID=activity4_.ID where activities0_.task_id=?
            20:29:49,046 INFO [STDOUT] Hibernate: select children0_.PARENTACTIVITY_ID as PARENTAC5_5_, children0_.ID as ID5_, children0_.ID as ID0_4_, children0_.ACTORCREATOR_ID as ACTORCRE8_0_4_, children0_.ASSIGNEDTO_ID as ASSIGNEDTO6_0_4_, children0_.task_id as task7_0_4_, children0_.STATUS_ID as STATUS4_0_4_, children0_.CREATIONTIME as CREATION2_0_4_, children0_.COMMENT as COMMENT0_4_, children0_.PARENTACTIVITY_ID as PARENTAC5_0_4_, actor1_.ID as ID1_0_, actor1_.ACTOR_ID as ACTOR12_1_0_, actor1_.BACKUPACTOR_ID as BACKUPA13_1_0_, actor1_.LOGIN as LOGIN1_0_, actor1_.PWD as PWD1_0_, actor1_.FULLNAME as FULLNAME1_0_, actor1_.ACTIVE as ACTIVE1_0_, actor1_.ADMINUSER as ADMINUSER1_0_, actor1_.RECEIVENOTIFICATION as RECEIVEN7_1_0_, actor1_.EMAIL1 as EMAIL8_1_0_, actor1_.EMAIL2 as EMAIL9_1_0_, actor1_.PHONE1 as PHONE10_1_0_, actor1_.PHONE2 as PHONE11_1_0_, actor2_.ID as ID1_1_, actor2_.ACTOR_ID as ACTOR12_1_1_, actor2_.BACKUPACTOR_ID as BACKUPA13_1_1_, actor2_.LOGIN as LOGIN1_1_, actor2_.PWD as PWD1_1_, actor2_.FULLNAME as FULLNAME1_1_, actor2_.ACTIVE as ACTIVE1_1_, actor2_.ADMINUSER as ADMINUSER1_1_, actor2_.RECEIVENOTIFICATION as RECEIVEN7_1_1_, actor2_.EMAIL1 as EMAIL8_1_1_, actor2_.EMAIL2 as EMAIL9_1_1_, actor2_.PHONE1 as PHONE10_1_1_, actor2_.PHONE2 as PHONE11_1_1_, task3_.ID as ID15_2_, task3_.TASKTYPE_ID as TASKTYPE9_15_2_, task3_.PARENTTASK_ID as PARENTTASK10_15_2_, task3_.TASKGROUP_ID as TASKGROUP8_15_2_, task3_.DUEDATE as DUEDATE15_2_, task3_.STARTDATE as STARTDATE15_2_, task3_.STARTTIME as STARTTIME15_2_, task3_.DUETIME as DUETIME15_2_, task3_.PRIORITY_ID as PRIORITY11_15_2_, task3_.RESOURCE_ID as RESOURCE12_15_2_, task3_.DESCRIPTION as DESCRIPT6_15_2_, task3_.notifyAtStartDate as notifyAt7_15_2_, status4_.ID as ID14_3_, status4_.NAME as NAME14_3_, status4_.NEEDACTION as NEEDACTION14_3_, status4_.WORKSPACE_ID as WORKSPACE4_14_3_ from ACTIVITY children0_ left outer join ACTOR actor1_ on children0_.ASSIGNEDTO_ID=actor1_.ID left outer join ACTOR actor2_ on actor1_.ACTOR_ID=actor2_.ID inner join TASK task3_ on children0_.task_id=task3_.ID left outer join STATUS status4_ on children0_.STATUS_ID=status4_.ID where children0_.PARENTACTIVITY_ID=?
            20:29:49,046 INFO [STDOUT] Hibernate: select actorgroup0_.actor_id as actor2_1_, actorgroup0_.actorgroup_id as actorgroup1_1_, actorgroup1_.ID as ID2_0_, actorgroup1_.ACTORGROUP_ID as ACTORGROUP5_2_0_, actorgroup1_.ACTOR_ID as ACTOR4_2_0_, actorgroup1_.NAME as NAME2_0_, actorgroup1_.ACTIVE as ACTIVE2_0_ from ActorgroupActor actorgroup0_ left outer join ACTORGROUP actorgroup1_ on actorgroup0_.actorgroup_id=actorgroup1_.ID where actorgroup0_.actor_id=?
            20:29:49,046 INFO [STDOUT] Hibernate: select actors0_.actorgroup_id as actorgroup1_2_, actors0_.actor_id as actor2_2_, actor1_.ID as ID1_0_, actor1_.ACTOR_ID as ACTOR12_1_0_, actor1_.BACKUPACTOR_ID as BACKUPA13_1_0_, actor1_.LOGIN as LOGIN1_0_, actor1_.PWD as PWD1_0_, actor1_.FULLNAME as FULLNAME1_0_, actor1_.ACTIVE as ACTIVE1_0_, actor1_.ADMINUSER as ADMINUSER1_0_, actor1_.RECEIVENOTIFICATION as RECEIVEN7_1_0_, actor1_.EMAIL1 as EMAIL8_1_0_, actor1_.EMAIL2 as EMAIL9_1_0_, actor1_.PHONE1 as PHONE10_1_0_, actor1_.PHONE2 as PHONE11_1_0_, actor2_.ID as ID1_1_, actor2_.ACTOR_ID as ACTOR12_1_1_, actor2_.BACKUPACTOR_ID as BACKUPA13_1_1_, actor2_.LOGIN as LOGIN1_1_, actor2_.PWD as PWD1_1_, actor2_.FULLNAME as FULLNAME1_1_, actor2_.ACTIVE as ACTIVE1_1_, actor2_.ADMINUSER as ADMINUSER1_1_, actor2_.RECEIVENOTIFICATION as RECEIVEN7_1_1_, actor2_.EMAIL1 as EMAIL8_1_1_, actor2_.EMAIL2 as EMAIL9_1_1_, actor2_.PHONE1 as PHONE10_1_1_, actor2_.PHONE2 as PHONE11_1_1_ from ActorgroupActor actors0_ left outer join ACTOR actor1_ on actors0_.actor_id=actor1_.ID left outer join ACTOR actor2_ on actor1_.ACTOR_ID=actor2_.ID where actors0_.actorgroup_id=?
            20:29:49,046 INFO [STDOUT] Hibernate: select actorgroup0_.actor_id as actor2_1_, actorgroup0_.actorgroup_id as actorgroup1_1_, actorgroup1_.ID as ID2_0_, actorgroup1_.ACTORGROUP_ID as ACTORGROUP5_2_0_, actorgroup1_.ACTOR_ID as ACTOR4_2_0_, actorgroup1_.NAME as NAME2_0_, actorgroup1_.ACTIVE as ACTIVE2_0_ from ActorgroupActor actorgroup0_ left outer join ACTORGROUP actorgroup1_ on actorgroup0_.actorgroup_id=actorgroup1_.ID where actorgroup0_.actor_id=?
            20:29:49,046 INFO [STDOUT] Hibernate: select excludedac0_.actor_id as actor1_1_, excludedac0_.actorgroup_id as actorgroup2_1_, actorgroup1_.ID as ID2_0_, actorgroup1_.ACTORGROUP_ID as ACTORGROUP5_2_0_, actorgroup1_.ACTOR_ID as ACTOR4_2_0_, actorgroup1_.NAME as NAME2_0_, actorgroup1_.ACTIVE as ACTIVE2_0_ from ExcludedActorgroupActor excludedac0_ left outer join ACTORGROUP actorgroup1_ on excludedac0_.actorgroup_id=actorgroup1_.ID where excludedac0_.actor_id=?
            20:29:49,046 INFO [STDOUT] Hibernate: select excludedwo0_.actor_id as actor1_1_, excludedwo0_.workspace_id as workspace2_1_, workspace1_.ID as ID22_0_, workspace1_.NAME as NAME22_0_, workspace1_.CONFIG_ID as CONFIG4_22_0_, workspace1_.DESCRIPTION as DESCRIPT3_22_0_, workspace1_.ADMINACTOR_ID as ADMINACTOR5_22_0_ from ExcludedWorkspaceActor excludedwo0_ left outer join WORKSPACE workspace1_ on excludedwo0_.workspace_id=workspace1_.ID where excludedwo0_.actor_id=?
            20:29:49,046 INFO [STDOUT] Hibernate: select workspaces0_.actor_id as actor1_1_, workspaces0_.workspace_id as workspace2_1_, workspace1_.ID as ID22_0_, workspace1_.NAME as NAME22_0_, workspace1_.CONFIG_ID as CONFIG4_22_0_, workspace1_.DESCRIPTION as DESCRIPT3_22_0_, workspace1_.ADMINACTOR_ID as ADMINACTOR5_22_0_ from WorkspaceActor workspaces0_ left outer join WORKSPACE workspace1_ on workspaces0_.workspace_id=workspace1_.ID where workspaces0_.actor_id=?
            20:29:49,062 INFO [STDOUT] Hibernate: select actors0_.workspace_id as workspace2_2_, actors0_.actor_id as actor1_2_, actor1_.ID as ID1_0_, actor1_.ACTOR_ID as ACTOR12_1_0_, actor1_.BACKUPACTOR_ID as BACKUPA13_1_0_, actor1_.LOGIN as LOGIN1_0_, actor1_.PWD as PWD1_0_, actor1_.FULLNAME as FULLNAME1_0_, actor1_.ACTIVE as ACTIVE1_0_, actor1_.ADMINUSER as ADMINUSER1_0_, actor1_.RECEIVENOTIFICATION as RECEIVEN7_1_0_, actor1_.EMAIL1 as EMAIL8_1_0_, actor1_.EMAIL2 as EMAIL9_1_0_, actor1_.PHONE1 as PHONE10_1_0_, actor1_.PHONE2 as PHONE11_1_0_, actor2_.ID as ID1_1_, actor2_.ACTOR_ID as ACTOR12_1_1_, actor2_.BACKUPACTOR_ID as BACKUPA13_1_1_, actor2_.LOGIN as LOGIN1_1_, actor2_.PWD as PWD1_1_, actor2_.FULLNAME as FULLNAME1_1_, actor2_.ACTIVE as ACTIVE1_1_, actor2_.ADMINUSER as ADMINUSER1_1_, actor2_.RECEIVENOTIFICATION as RECEIVEN7_1_1_, actor2_.EMAIL1 as EMAIL8_1_1_, actor2_.EMAIL2 as EMAIL9_1_1_, actor2_.PHONE1 as PHONE10_1_1_, actor2_.PHONE2 as PHONE11_1_1_ from WorkspaceActor actors0_ left outer join ACTOR actor1_ on actors0_.actor_id=actor1_.ID left outer join ACTOR actor2_ on actor1_.ACTOR_ID=actor2_.ID where actors0_.workspace_id=?
            20:29:49,062 INFO [STDOUT] Hibernate: select actorgroup0_.actor_id as actor2_1_, actorgroup0_.actorgroup_id as actorgroup1_1_, actorgroup1_.ID as ID2_0_, actorgroup1_.ACTORGROUP_ID as ACTORGROUP5_2_0_, actorgroup1_.ACTOR_ID as ACTOR4_2_0_, actorgroup1_.NAME as NAME2_0_, actorgroup1_.ACTIVE as ACTIVE2_0_ from ActorgroupActor actorgroup0_ left outer join ACTORGROUP actorgroup1_ on actorgroup0_.actorgroup_id=actorgroup1_.ID where actorgroup0_.actor_id=?
            20:29:49,078 INFO [STDOUT] Hibernate: select excludedac0_.actor_id as actor1_1_, excludedac0_.actorgroup_id as actorgroup2_1_, actorgroup1_.ID as ID2_0_, actorgroup1_.ACTORGROUP_ID as ACTORGROUP5_2_0_, actorgroup1_.ACTOR_ID as ACTOR4_2_0_, actorgroup1_.NAME as NAME2_0_, actorgroup1_.ACTIVE as ACTIVE2_0_ from ExcludedActorgroupActor excludedac0_ left outer join ACTORGROUP actorgroup1_ on excludedac0_.actorgroup_id=actorgroup1_.ID where excludedac0_.actor_id=?
            20:29:49,078 INFO [STDOUT] Hibernate: select excludedwo0_.actor_id as actor1_1_, excludedwo0_.workspace_id as workspace2_1_, workspace1_.ID as ID22_0_, workspace1_.NAME as NAME22_0_, workspace1_.CONFIG_ID as CONFIG4_22_0_, workspace1_.DESCRIPTION as DESCRIPT3_22_0_, workspace1_.ADMINACTOR_ID as ADMINACTOR5_22_0_ from ExcludedWorkspaceActor excludedwo0_ left outer join WORKSPACE workspace1_ on excludedwo0_.workspace_id=workspace1_.ID where excludedwo0_.actor_id=?
            20:29:49,078 INFO [STDOUT] Hibernate: select workspaces0_.actor_id as actor1_1_, workspaces0_.workspace_id as workspace2_1_, workspace1_.ID as ID22_0_, workspace1_.NAME as NAME22_0_, workspace1_.CONFIG_ID as CONFIG4_22_0_, workspace1_.DESCRIPTION as DESCRIPT3_22_0_, workspace1_.ADMINACTOR_ID as ADMINACTOR5_22_0_ from WorkspaceActor workspaces0_ left outer join WORKSPACE workspace1_ on workspaces0_.workspace_id=workspace1_.ID where workspaces0_.actor_id=?
            20:29:49,078 INFO [STDOUT] Hibernate: select actorgroup0_.actor_id as actor2_1_, actorgroup0_.actorgroup_id as actorgroup1_1_, actorgroup1_.ID as ID2_0_, actorgroup1_.ACTORGROUP_ID as ACTORGROUP5_2_0_, actorgroup1_.ACTOR_ID as ACTOR4_2_0_, actorgroup1_.NAME as NAME2_0_, actorgroup1_.ACTIVE as ACTIVE2_0_ from ActorgroupActor actorgroup0_ left outer join ACTORGROUP actorgroup1_ on actorgroup0_.actorgroup_id=actorgroup1_.ID where actorgroup0_.actor_id=?
            20:29:49,078 INFO [STDOUT] Hibernate: select excludedac0_.actor_id as actor1_1_, excludedac0_.actorgroup_id as actorgroup2_1_, actorgroup1_.ID as ID2_0_, actorgroup1_.ACTORGROUP_ID as ACTORGROUP5_2_0_, actorgroup1_.ACTOR_ID as ACTOR4_2_0_, actorgroup1_.NAME as NAME2_0_, actorgroup1_.ACTIVE as ACTIVE2_0_ from ExcludedActorgroupActor excludedac0_ left outer join ACTORGROUP actorgroup1_ on excludedac0_.actorgroup_id=actorgroup1_.ID where excludedac0_.actor_id=?
            20:29:49,078 INFO [STDOUT] Hibernate: select excludedwo0_.actor_id as actor1_1_, excludedwo0_.workspace_id as workspace2_1_, workspace1_.ID as ID22_0_, workspace1_.NAME as NAME22_0_, workspace1_.CONFIG_ID as CONFIG4_22_0_, workspace1_.DESCRIPTION as DESCRIPT3_22_0_, workspace1_.ADMINACTOR_ID as ADMINACTOR5_22_0_ from ExcludedWorkspaceActor excludedwo0_ left outer join WORKSPACE workspace1_ on excludedwo0_.workspace_id=workspace1_.ID where excludedwo0_.actor_id=?
            20:29:49,078 INFO [STDOUT] Hibernate: select workspaces0_.actor_id as actor1_1_, workspaces0_.workspace_id as workspace2_1_, workspace1_.ID as ID22_0_, workspace1_.NAME as NAME22_0_, workspace1_.CONFIG_ID as CONFIG4_22_0_, workspace1_.DESCRIPTION as DESCRIPT3_22_0_, workspace1_.ADMINACTOR_ID as ADMINACTOR5_22_0_ from WorkspaceActor workspaces0_ left outer join WORKSPACE workspace1_ on workspaces0_.workspace_id=workspace1_.ID where workspaces0_.actor_id=?
            20:29:49,078 INFO [STDOUT] Hibernate: select excludedac0_.actor_id as actor1_1_, excludedac0_.actorgroup_id as actorgroup2_1_, actorgroup1_.ID as ID2_0_, actorgroup1_.ACTORGROUP_ID as ACTORGROUP5_2_0_, actorgroup1_.ACTOR_ID as ACTOR4_2_0_, actorgroup1_.NAME as NAME2_0_, actorgroup1_.ACTIVE as ACTIVE2_0_ from ExcludedActorgroupActor excludedac0_ left outer join ACTORGROUP actorgroup1_ on excludedac0_.actorgroup_id=actorgroup1_.ID where excludedac0_.actor_id=?
            20:29:49,078 INFO [STDOUT] Hibernate: select excludedwo0_.actor_id as actor1_1_, excludedwo0_.workspace_id as workspace2_1_, workspace1_.ID as ID22_0_, workspace1_.NAME as NAME22_0_, workspace1_.CONFIG_ID as CONFIG4_22_0_, workspace1_.DESCRIPTION as DESCRIPT3_22_0_, workspace1_.ADMINACTOR_ID as ADMINACTOR5_22_0_ from ExcludedWorkspaceActor excludedwo0_ left outer join WORKSPACE workspace1_ on excludedwo0_.workspace_id=workspace1_.ID where excludedwo0_.actor_id=?
            20:29:49,078 INFO [STDOUT] Hibernate: select workspaces0_.actor_id as actor1_1_, workspaces0_.workspace_id as workspace2_1_, workspace1_.ID as ID22_0_, workspace1_.NAME as NAME22_0_, workspace1_.CONFIG_ID as CONFIG4_22_0_, workspace1_.DESCRIPTION as DESCRIPT3_22_0_, workspace1_.ADMINACTOR_ID as ADMINACTOR5_22_0_ from WorkspaceActor workspaces0_ left outer join WORKSPACE workspace1_ on workspaces0_.workspace_id=workspace1_.ID where workspaces0_.actor_id=?
            20:29:49,109 INFO [STDOUT] Hibernate: select message0_.ID as ID7_, message0_.STATUS_ID as STATUS14_7_, message0_.BODY as BODY7_, message0_.SUBJECT as SUBJECT7_, message0_.CCTOOTHERACTORSONGROUP as CCTOOTHE4_7_, message0_.CCTOOTHERACTORSONPARENTGROUPS as CCTOOTHE5_7_, message0_.CCTOACTORSPARENT as CCTOACTO6_7_, message0_.CCTOACTORSCHILDREN as CCTOACTO7_7_, message0_.CCTOOTHERACTORSINVOLVEDONTASK as CCTOOTHE8_7_, message0_.TOPREVIOUSACTIVITYASSIGNEDTO as TOPREVIO9_7_, message0_.TOPREVIOUSACTIVITYCREATOR as TOPREVI10_7_, message0_.TOACTIVITYCREATOR as TOACTIV11_7_, message0_.TOACTIVITYASSIGNEDTO as TOACTIV12_7_, message0_.TASKTYPE_ID as TASKTYPE13_7_ from MESSAGE message0_ where message0_.STATUS_ID=?
            20:29:49,109 INFO [STDOUT] Hibernate: select excludedac0_.message_id as message1_2_, excludedac0_.actor_id as actor2_2_, actor1_.ID as ID1_0_, actor1_.ACTOR_ID as ACTOR12_1_0_, actor1_.BACKUPACTOR_ID as BACKUPA13_1_0_, actor1_.LOGIN as LOGIN1_0_, actor1_.PWD as PWD1_0_, actor1_.FULLNAME as FULLNAME1_0_, actor1_.ACTIVE as ACTIVE1_0_, actor1_.ADMINUSER as ADMINUSER1_0_, actor1_.RECEIVENOTIFICATION as RECEIVEN7_1_0_, actor1_.EMAIL1 as EMAIL8_1_0_, actor1_.EMAIL2 as EMAIL9_1_0_, actor1_.PHONE1 as PHONE10_1_0_, actor1_.PHONE2 as PHONE11_1_0_, actor2_.ID as ID1_1_, actor2_.ACTOR_ID as ACTOR12_1_1_, actor2_.BACKUPACTOR_ID as BACKUPA13_1_1_, actor2_.LOGIN as LOGIN1_1_, actor2_.PWD as PWD1_1_, actor2_.FULLNAME as FULLNAME1_1_, actor2_.ACTIVE as ACTIVE1_1_, actor2_.ADMINUSER as ADMINUSER1_1_, actor2_.RECEIVENOTIFICATION as RECEIVEN7_1_1_, actor2_.EMAIL1 as EMAIL8_1_1_, actor2_.EMAIL2 as EMAIL9_1_1_, actor2_.PHONE1 as PHONE10_1_1_, actor2_.PHONE2 as PHONE11_1_1_ from MessageExcludeActor excludedac0_ left outer join ACTOR actor1_ on excludedac0_.actor_id=actor1_.ID left outer join ACTOR actor2_ on actor1_.ACTOR_ID=actor2_.ID where excludedac0_.message_id=?
            20:29:49,125 INFO [STDOUT] Hibernate: select actors0_.message_id as message1_2_, actors0_.actor_id as actor2_2_, actor1_.ID as ID1_0_, actor1_.ACTOR_ID as ACTOR12_1_0_, actor1_.BACKUPACTOR_ID as BACKUPA13_1_0_, actor1_.LOGIN as LOGIN1_0_, actor1_.PWD as PWD1_0_, actor1_.FULLNAME as FULLNAME1_0_, actor1_.ACTIVE as ACTIVE1_0_, actor1_.ADMINUSER as ADMINUSER1_0_, actor1_.RECEIVENOTIFICATION as RECEIVEN7_1_0_, actor1_.EMAIL1 as EMAIL8_1_0_, actor1_.EMAIL2 as EMAIL9_1_0_, actor1_.PHONE1 as PHONE10_1_0_, actor1_.PHONE2 as PHONE11_1_0_, actor2_.ID as ID1_1_, actor2_.ACTOR_ID as ACTOR12_1_1_, actor2_.BACKUPACTOR_ID as BACKUPA13_1_1_, actor2_.LOGIN as LOGIN1_1_, actor2_.PWD as PWD1_1_, actor2_.FULLNAME as FULLNAME1_1_, actor2_.ACTIVE as ACTIVE1_1_, actor2_.ADMINUSER as ADMINUSER1_1_, actor2_.RECEIVENOTIFICATION as RECEIVEN7_1_1_, actor2_.EMAIL1 as EMAIL8_1_1_, actor2_.EMAIL2 as EMAIL9_1_1_, actor2_.PHONE1 as PHONE10_1_1_, actor2_.PHONE2 as PHONE11_1_1_ from MessageActor actors0_ left outer join ACTOR actor1_ on actors0_.actor_id=actor1_.ID left outer join ACTOR actor2_ on actor1_.ACTOR_ID=actor2_.ID where actors0_.message_id=?
            20:29:49,140 INFO [STDOUT] Hibernate: select actor0_.ID as ID1_, actor0_.ACTOR_ID as ACTOR12_1_, actor0_.BACKUPACTOR_ID as BACKUPA13_1_, actor0_.LOGIN as LOGIN1_, actor0_.PWD as PWD1_, actor0_.FULLNAME as FULLNAME1_, actor0_.ACTIVE as ACTIVE1_, actor0_.ADMINUSER as ADMINUSER1_, actor0_.RECEIVENOTIFICATION as RECEIVEN7_1_, actor0_.EMAIL1 as EMAIL8_1_, actor0_.EMAIL2 as EMAIL9_1_, actor0_.PHONE1 as PHONE10_1_, actor0_.PHONE2 as PHONE11_1_ from ACTOR actor0_
            20:29:49,140 INFO [STDOUT] Hibernate: select actorgroup0_.actor_id as actor2_1_, actorgroup0_.actorgroup_id as actorgroup1_1_, actorgroup1_.ID as ID2_0_, actorgroup1_.ACTORGROUP_ID as ACTORGROUP5_2_0_, actorgroup1_.ACTOR_ID as ACTOR4_2_0_, actorgroup1_.NAME as NAME2_0_, actorgroup1_.ACTIVE as ACTIVE2_0_ from ActorgroupActor actorgroup0_ left outer join ACTORGROUP actorgroup1_ on actorgroup0_.actorgroup_id=actorgroup1_.ID where actorgroup0_.actor_id=?
            20:29:49,156 INFO [STDOUT] Hibernate: select excludedac0_.actor_id as actor1_1_, excludedac0_.actorgroup_id as actorgroup2_1_, actorgroup1_.ID as ID2_0_, actorgroup1_.ACTORGROUP_ID as ACTORGROUP5_2_0_, actorgroup1_.ACTOR_ID as ACTOR4_2_0_, actorgroup1_.NAME as NAME2_0_, actorgroup1_.ACTIVE as ACTIVE2_0_ from ExcludedActorgroupActor excludedac0_ left outer join ACTORGROUP actorgroup1_ on excludedac0_.actorgroup_id=actorgroup1_.ID where excludedac0_.actor_id=?
            20:29:49,156 INFO [STDOUT] Hibernate: select excludedwo0_.actor_id as actor1_1_, excludedwo0_.workspace_id as workspace2_1_, workspace1_.ID as ID22_0_, workspace1_.NAME as NAME22_0_, workspace1_.CONFIG_ID as CONFIG4_22_0_, workspace1_.DESCRIPTION as DESCRIPT3_22_0_, workspace1_.ADMINACTOR_ID as ADMINACTOR5_22_0_ from ExcludedWorkspaceActor excludedwo0_ left outer join WORKSPACE workspace1_ on excludedwo0_.workspace_id=workspace1_.ID where excludedwo0_.actor_id=?
            20:29:49,156 INFO [STDOUT] Hibernate: select workspaces0_.actor_id as actor1_1_, workspaces0_.workspace_id as workspace2_1_, workspace1_.ID as ID22_0_, workspace1_.NAME as NAME22_0_, workspace1_.CONFIG_ID as CONFIG4_22_0_, workspace1_.DESCRIPTION as DESCRIPT3_22_0_, workspace1_.ADMINACTOR_ID as ADMINACTOR5_22_0_ from WorkspaceActor workspaces0_ left outer join WORKSPACE workspace1_ on workspaces0_.workspace_id=workspace1_.ID where workspaces0_.actor_id=?
            20:29:49,156 INFO [STDOUT] Hibernate: select actor0_.ID as ID1_, actor0_.ACTOR_ID as ACTOR12_1_, actor0_.BACKUPACTOR_ID as BACKUPA13_1_, actor0_.LOGIN as LOGIN1_, actor0_.PWD as PWD1_, actor0_.FULLNAME as FULLNAME1_, actor0_.ACTIVE as ACTIVE1_, actor0_.ADMINUSER as ADMINUSER1_, actor0_.RECEIVENOTIFICATION as RECEIVEN7_1_, actor0_.EMAIL1 as EMAIL8_1_, actor0_.EMAIL2 as EMAIL9_1_, actor0_.PHONE1 as PHONE10_1_, actor0_.PHONE2 as PHONE11_1_ from ACTOR actor0_
            20:29:49,171 INFO [STDOUT] Hibernate: select activity0_.ID as ID0_, activity0_.ACTORCREATOR_ID as ACTORCRE8_0_, activity0_.ASSIGNEDTO_ID as ASSIGNEDTO6_0_, activity0_.task_id as task7_0_, activity0_.STATUS_ID as STATUS4_0_, activity0_.CREATIONTIME as CREATION2_0_, activity0_.COMMENT as COMMENT0_, activity0_.PARENTACTIVITY_ID as PARENTAC5_0_ from ACTIVITY activity0_ where activity0_.task_id=?
            20:29:49,187 INFO [STDOUT] Hibernate: select config0_.ID as ID3_0_, config0_.NAME as NAME3_0_, config0_.UPLOADROOTDIRECTORY as UPLOADRO3_3_0_, config0_.MESSAGETEMPDIRECTORY as MESSAGET4_3_0_, config0_.SENDNOTIFICATIONS as SENDNOTI5_3_0_, config0_.defaultEtaskAdaptorHostFullName as defaultE6_3_0_, config0_.defaultEtaskAdaptorPort as defaultE7_3_0_, config0_.defaultEtaskAdaptorWebService as defaultE8_3_0_ from CONFIG config0_ where config0_.ID=?
            20:29:49,218 INFO [STDOUT] Hibernate: select actorgroup0_.config_id as config1_1_, actorgroup0_.actorgroup_id as actorgroup2_1_, actorgroup1_.ID as ID2_0_, actorgroup1_.ACTORGROUP_ID as ACTORGROUP5_2_0_, actorgroup1_.ACTOR_ID as ACTOR4_2_0_, actorgroup1_.NAME as NAME2_0_, actorgroup1_.ACTIVE as ACTIVE2_0_ from ActorgroupsForAllActors actorgroup0_ left outer join ACTORGROUP actorgroup1_ on actorgroup0_.actorgroup_id=actorgroup1_.ID where actorgroup0_.config_id=?
            20:29:49,296 ERROR [STDERR] java.lang.NullPointerException
            20:29:49,296 ERROR [STDERR] at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit._addDebugResponseWriters(CoreRenderKit.java:541)
            20:29:49,296 ERROR [STDERR] at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.createResponseWriter(CoreRenderKit.java:527)
            20:29:49,296 ERROR [STDERR] at org.apache.myfaces.trinidadinternal.renderkit.RenderKitDecorator.createResponseWriter(RenderKitDecorator.java:50)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.ui.facelet.FaceletsRenderer$Context.wrap(FaceletsRenderer.java:68)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:110)
            20:29:49,296 ERROR [STDERR] at org.bit.etask.home.MessageHome.send(MessageHome.java:172)
            20:29:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:29:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:29:49,296 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:29:49,296 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:37)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.TransactionInterceptor$1.work(TransactionInterceptor.java:32)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.util.Work.workInTransaction(Work.java:37)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:27)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87)
            20:29:49,296 ERROR [STDERR] at org.bit.etask.home.MessageHome_$$_javassist_29.send(MessageHome_$$_javassist_29.java)
            20:29:49,296 ERROR [STDERR] at org.bit.etask.scheduler.job.SendNotificationsToScheduledTasksBean.execute(SendNotificationsToScheduledTasksBean.java:57)
            20:29:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:29:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:29:49,296 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:29:49,296 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
            20:29:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:29:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:29:49,296 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:29:49,296 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
            20:29:49,296 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
            20:29:49,296 ERROR [STDERR] at $Proxy102.execute(Unknown Source)
            20:29:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:29:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:29:49,296 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:29:49,296 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:72)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.interceptors.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:37)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:50)
            20:29:49,296 ERROR [STDERR] at org.javassist.tmp.java.lang.Object_$$_javassist_25.execute(Object_$$_javassist_25.java)
            20:29:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:29:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:29:49,296 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:29:49,296 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:124)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.core.Dispatcher$AsynchronousInvocation.call(Dispatcher.java:134)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.core.Dispatcher$Asynchronous.execute(Dispatcher.java:88)
            20:29:49,296 ERROR [STDERR] at org.jboss.seam.core.Dispatcher.dispatch(Dispatcher.java:165)
            20:29:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            20:29:49,296 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            20:29:49,296 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            20:29:49,296 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
            20:29:49,296 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
            20:29:49,296 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.callTimeout(StatelessContainer.java:151)
            20:29:49,296 ERROR [STDERR] at org.jboss.ejb.txtimer.TimerImpl$TimerTaskImpl.run(TimerImpl.java:561)
            20:29:49,296 ERROR [STDERR] at java.util.TimerT


            • 3. Re: Null pointer rendering mail from @Startup component - se
              Leo Newbie

              and my @Startup components:

              @Startup(depends="manager")
              @Name("controller")
              @Scope(ScopeType.APPLICATION)
              public class Controller {
              
               @In(create=true)
               private Manager manager;
              
               @Create
               public void create() throws Exception {
               manager.schedule();
               }
              }
              




              
              @Name("manager")
              @Scope(ScopeType.APPLICATION)
              public class Manager {
              
               private static Date MIDNIGHT = null;
              
               @In(create = true)
               Job sendNotificationsToScheduledTasks;
              
               public void schedule() {
               Calendar calendar = GregorianCalendar.getInstance();
               calendar.set(Calendar.HOUR_OF_DAY, 0);
               calendar.set(Calendar.MINUTE, 1);
               calendar.set(Calendar.SECOND, 1);
               MIDNIGHT = calendar.getTime();
               System.out.print(MIDNIGHT);
               sendNotificationsToScheduledTasks.execute(new Date(), Frequency.EVERY_MINUTE.getInterval());
               }
              
              }
              


              package org.bit.etask.scheduler.job;
              
              import java.util.Date;
              import java.util.List;
              
              import javax.ejb.Stateless;
              import javax.ejb.Timer;
              import javax.persistence.EntityManager;
              
              import org.bit.etask.TaskHelper;
              import org.bit.etask.domain.Task;
              import org.bit.etask.home.ActorHome;
              import org.bit.etask.home.MessageHome;
              import org.bit.etask.home.TaskHome;
              import org.bit.etask.query.TaskList;
              import org.bit.etask.scheduler.Job;
              import org.jboss.seam.annotations.Asynchronous;
              import org.jboss.seam.annotations.In;
              import org.jboss.seam.annotations.Logger;
              import org.jboss.seam.annotations.Name;
              import org.jboss.seam.annotations.Transactional;
              import org.jboss.seam.log.Log;
              
              @Stateless
              @Name("sendNotificationsToScheduledTasks")
              public class SendNotificationsToScheduledTasksBean implements Job {
              
               @In
               Timer timer;
              
               @In
               EntityManager entityManager;
              
               @In(create = true)
               ActorHome actorHome;
              
               @In(create = true)
               TaskHome taskHome;
              
               @In(create = true)
               MessageHome messageHome;
              
               @In(create = true)
               TaskList taskList;
              
               @Logger
               Log log;
              
               @Asynchronous
               @Transactional
               public Timer execute(Date startDate, long interval) {
               log.info("Starting ...");
               List<Task> tasks = taskList.findScheduledTasksToNotifyToday();
               for (Task task : tasks) {
               task.setCurrentActivity(TaskHelper.getLastActivity(task));
               taskHome.setInstance(task);
               messageHome.send();
               }
               log.info("Finished");
               return timer;
               }
              
              }