java.lang.IllegalArgumentException: No valid URL could be created for the given process name and ID: processName = null, processId = null

MuleSoft JIRA | Hashim Sharif | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    1- Exception occurs while using <mule-send> tag in the JBPM JPDL file (Mule over tomcat) following is the stack trace: ******************************************************** INFO: exception while executing command org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd@1b80053 java.lang.IllegalArgumentException: No valid URL could be created for the given process name and ID: processName = null, processId = null at org.mule.transport.bpm.ProcessConnector.toUrl(ProcessConnector.java:184) at org.mule.transport.bpm.ProcessConnector.lookupReceiver(ProcessConnector.java:157) at org.mule.transport.bpm.ProcessConnector.generateMessage(ProcessConnector.java:199) at org.mule.module.jbpm.MuleMessageService.generateMessage(MuleMessageService.java:37) at org.mule.module.jbpm.MuleSendActivity.perform(MuleSendActivity.java:129) at org.mule.module.jbpm.MuleSendActivity.execute(MuleSendActivity.java:71) at org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:672) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:632) at org.jbpm.pvm.internal.model.ExecutionImpl.start(ExecutionImpl.java:217) at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:63) at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:36) at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40) at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56) at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43) at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:71) at org.mule.module.jbpm.Jbpm.startProcess(Jbpm.java:173) at org.mule.transport.bpm.ProcessMessageDispatcher.processAction(ProcessMessageDispatcher.java:174) at org.mule.transport.bpm.ProcessMessageDispatcher.doDispatch(ProcessMessageDispatcher.java:74) at org.mule.transport.AbstractMessageDispatcher.process(AbstractMessageDispatcher.java:88) at org.mule.transport.AbstractConnector$DispatcherMessageProcessor.process(AbstractConnector.java:2572) at org.mule.processor.builder.InterceptingChainMessageProcessorBuilder$InterceptingMessageProcessorAdapter.process(InterceptingChainMessageProcessorBuilder.java:185) at org.mule.processor.AbstractInterceptingMessageProcessor.processNext(AbstractInterceptingMessageProcessor.java:57) at org.mule.processor.AsyncInterceptingMessageProcessor$AsyncMessageProcessorWorker.doRun(AsyncInterceptingMessageProcessor.java:184) at org.mule.work.AbstractMuleEventWork.run(AbstractMuleEventWork.java:41) at org.mule.work.WorkerContext.run(WorkerContext.java:309) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Unknown Source) ***********************************************

    MuleSoft JIRA | 6 years ago | Hashim Sharif
    java.lang.IllegalArgumentException: No valid URL could be created for the given process name and ID: processName = null, processId = null
  2. 0

    1- Exception occurs while using <mule-send> tag in the JBPM JPDL file (Mule over tomcat) following is the stack trace: ******************************************************** INFO: exception while executing command org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd@1b80053 java.lang.IllegalArgumentException: No valid URL could be created for the given process name and ID: processName = null, processId = null at org.mule.transport.bpm.ProcessConnector.toUrl(ProcessConnector.java:184) at org.mule.transport.bpm.ProcessConnector.lookupReceiver(ProcessConnector.java:157) at org.mule.transport.bpm.ProcessConnector.generateMessage(ProcessConnector.java:199) at org.mule.module.jbpm.MuleMessageService.generateMessage(MuleMessageService.java:37) at org.mule.module.jbpm.MuleSendActivity.perform(MuleSendActivity.java:129) at org.mule.module.jbpm.MuleSendActivity.execute(MuleSendActivity.java:71) at org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:672) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:632) at org.jbpm.pvm.internal.model.ExecutionImpl.start(ExecutionImpl.java:217) at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:63) at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:36) at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40) at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56) at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43) at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:71) at org.mule.module.jbpm.Jbpm.startProcess(Jbpm.java:173) at org.mule.transport.bpm.ProcessMessageDispatcher.processAction(ProcessMessageDispatcher.java:174) at org.mule.transport.bpm.ProcessMessageDispatcher.doDispatch(ProcessMessageDispatcher.java:74) at org.mule.transport.AbstractMessageDispatcher.process(AbstractMessageDispatcher.java:88) at org.mule.transport.AbstractConnector$DispatcherMessageProcessor.process(AbstractConnector.java:2572) at org.mule.processor.builder.InterceptingChainMessageProcessorBuilder$InterceptingMessageProcessorAdapter.process(InterceptingChainMessageProcessorBuilder.java:185) at org.mule.processor.AbstractInterceptingMessageProcessor.processNext(AbstractInterceptingMessageProcessor.java:57) at org.mule.processor.AsyncInterceptingMessageProcessor$AsyncMessageProcessorWorker.doRun(AsyncInterceptingMessageProcessor.java:184) at org.mule.work.AbstractMuleEventWork.run(AbstractMuleEventWork.java:41) at org.mule.work.WorkerContext.run(WorkerContext.java:309) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Unknown Source) ***********************************************

    MuleSoft JIRA | 6 years ago | Hashim Sharif
    java.lang.IllegalArgumentException: No valid URL could be created for the given process name and ID: processName = null, processId = null

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      No valid URL could be created for the given process name and ID: processName = null, processId = null

      at org.mule.transport.bpm.ProcessConnector.toUrl()
    2. org.mule.transport
      ProcessConnector.generateMessage
      1. org.mule.transport.bpm.ProcessConnector.toUrl(ProcessConnector.java:184)
      2. org.mule.transport.bpm.ProcessConnector.lookupReceiver(ProcessConnector.java:157)
      3. org.mule.transport.bpm.ProcessConnector.generateMessage(ProcessConnector.java:199)
      3 frames
    3. org.mule.module
      MuleSendActivity.execute
      1. org.mule.module.jbpm.MuleMessageService.generateMessage(MuleMessageService.java:37)
      2. org.mule.module.jbpm.MuleSendActivity.perform(MuleSendActivity.java:129)
      3. org.mule.module.jbpm.MuleSendActivity.execute(MuleSendActivity.java:71)
      3 frames
    4. org.jbpm.pvm
      ExecutionServiceImpl.startProcessInstanceByKey
      1. org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60)
      2. org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:672)
      3. org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:632)
      4. org.jbpm.pvm.internal.model.ExecutionImpl.start(ExecutionImpl.java:217)
      5. org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:63)
      6. org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:36)
      7. org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
      8. org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)
      9. org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
      10. org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
      11. org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)
      12. org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
      13. org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:71)
      13 frames
    5. org.mule.module
      Jbpm.startProcess
      1. org.mule.module.jbpm.Jbpm.startProcess(Jbpm.java:173)
      1 frame
    6. org.mule.transport
      ProcessMessageDispatcher.doDispatch
      1. org.mule.transport.bpm.ProcessMessageDispatcher.processAction(ProcessMessageDispatcher.java:174)
      2. org.mule.transport.bpm.ProcessMessageDispatcher.doDispatch(ProcessMessageDispatcher.java:74)
      2 frames
    7. Mule Core
      AbstractConnector$DispatcherMessageProcessor.process
      1. org.mule.transport.AbstractMessageDispatcher.process(AbstractMessageDispatcher.java:88)
      2. org.mule.transport.AbstractConnector$DispatcherMessageProcessor.process(AbstractConnector.java:2572)
      2 frames
    8. org.mule.processor
      InterceptingChainMessageProcessorBuilder$InterceptingMessageProcessorAdapter.process
      1. org.mule.processor.builder.InterceptingChainMessageProcessorBuilder$InterceptingMessageProcessorAdapter.process(InterceptingChainMessageProcessorBuilder.java:185)
      1 frame
    9. Mule Core
      WorkerContext.run
      1. org.mule.processor.AbstractInterceptingMessageProcessor.processNext(AbstractInterceptingMessageProcessor.java:57)
      2. org.mule.processor.AsyncInterceptingMessageProcessor$AsyncMessageProcessorWorker.doRun(AsyncInterceptingMessageProcessor.java:184)
      3. org.mule.work.AbstractMuleEventWork.run(AbstractMuleEventWork.java:41)
      4. org.mule.work.WorkerContext.run(WorkerContext.java:309)
      4 frames
    10. Backport of JSR 166
      ThreadPoolExecutor$Worker.run
      1. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
      2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
      2 frames
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame