5 Replies Latest reply on May 8, 2010 6:55 AM by C. Mourad Jaber

    Strange Exception

    C. Mourad Jaber Newbie

      Hi,

       

      I'm trying to use an assignement handler and I have a strange exception :

      2010-05-07 11:07:16,113 [INFO ] org.jbpm.pvm.internal.svc.DefaultCommandService  - exception while executing command org.jbpm.pvm.internal.cmd.StartProcessInstanceCmd@48da5bc0
      java.lang.NumberFormatException: For input string: "java.vm.version"
          at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
          at java.lang.Long.parseLong(Long.java:438)
          at java.lang.Long.valueOf(Long.java:535)
          at org.jbpm.pvm.internal.repository.RepositorySessionImpl.validateRepositoryCache(RepositorySessionImpl.java:208)
          at org.jbpm.pvm.internal.repository.RepositorySessionImpl.findProcessDefinitionById(RepositorySessionImpl.java:177)
          at org.jbpm.pvm.internal.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:53)
          at org.jbpm.pvm.internal.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:37)
          at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
          at org.jbpm.pvm.internal.tx.SpringCommandCallback.doInTransaction(SpringCommandCallback.java:45)
          at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
          at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:55)
          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:55)
          at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceById(ExecutionServiceImpl.java:50)

       

      It happen when I'm starting a process by Id but it works well when starting process by key. It may be a bug !

       

      I'm using jbpm 4.3 with spring.

       

      Regards