6 Replies Latest reply: Jan 1, 2007 3:28 PM by HowardTreisman RSS

    Error in EmailReceiver  and question on timeouts

      Hello All,

      I am trying to implement a workflow that starts off with an EmailReceiver (like what Howard has posted about) to kick off the workflow. So, I use the Email Receiver QPAC as step 1 and I start the workflow by invoking it through the web services (http://hostname:8080/services).

      I'm suddenly getting this error and cannot tell from the message where the exact issue is:
      ----------------------------------------------------------------
      java.lang.RuntimeException: Start cannot be greater than end
      at com.adobe.workflow.tools.qde.utils.XpathExpressionParser.getSubExpression(XpathExpression Parser.java:102)
      at com.adobe.workflow.tools.qde.utils.VariableExpressionParser.getSubExpression(VariableExpr essionParser.java:68)
      at com.adobe.workflow.tools.qde.utils.ExpressionWrapper.hasSubExpression(ExpressionWrapper.j ava:163)
      at com.adobe.workflow.tools.qde.utils.ExpressionWrapper.setProcessDataBinaryValue(Expression Wrapper.java:213)
      at com.adobe.workflow.qpac.emailreceiver.EmailReceiverService.processEmail(EmailReceiverServ ice.java:271)
      at com.adobe.workflow.qpac.emailreceiver.EmailReceiverService.runTask(EmailReceiverService.j ava:100)
      at com.adobe.workflow.tools.qde.pat.service.PATAbstractPollingServiceEx.execute(PATAbstractP ollingServiceEx.java:87)
      at com.adobe.workflow.engine.PEUtil.executeAction(PEUtil.java:184)
      at com.adobe.workflow.engine.ProcessEngineBMTBean.executeAction(ProcessEngineBMTBean.java:14 57)
      at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncExecuteActionCommand(ProcessEngineBMT Bean.java:1412)
      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:324)
      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:683)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:185)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
      at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 44)
      at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:72)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
      at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331 )
      at org.jboss.ejb.Container.invoke(Container.java:723)
      at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359)
      at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
      at $Proxy276.asyncExecuteActionCommand(Unknown Source)
      at com.adobe.workflow.engine.ProcessCommandControllerBean.onMessage(ProcessCommandController Bean.java:109)
      at sun.reflect.GeneratedMethodAccessor301.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.j ava:458)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:185)
      at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterc eptor.java:62)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(