[jboss-user] [jBPM Users] - Re: NullPointerException using identityService

Krohm do-not-reply at jboss.com
Mon Sep 28 04:16:19 EDT 2009


"cjmanju123" wrote : Sorry here it is again, I had removed the following entry from the jbpm.cfg.xml. 
  | 
  |   <import resource="jbpm.identity.cfg.xml" />

I have the same error when trying to create Users / Groups through the IdentityService in JBPM 4.1 :

 java.lang.NullPointerException
  |         at org.jbpm.pvm.internal.identity.cmd.CreateGroupCmd.execute(CreateGroupCmd.java:48)
  |         at org.jbpm.pvm.internal.identity.cmd.CreateGroupCmd.execute(CreateGroupCmd.java:32)
  |         at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
  |         at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
  |         at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46)
  |         at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
  |         at org.jbpm.pvm.internal.svc.IdentityServiceImpl.createGroup(IdentityServiceImpl.java:70)

I have investigated it a bit, and it seems some classes are somehow "Missing" in the JBPM4.1 I am working with.

These classes are (from what I have tried from now) :
org.jbpm.pvm.internal.identity.cmd.CreateGroupCmd
org.jbpm.pvm.internal.identity.cmd.CreateUserCmd

I was expecting it to be with the other classes of the same package and downloadable with the following maven dependency :

<dependency>
  |   <groupId>org.jbpm.jbpm4</groupId>
  |   <artifactId>jbpm-pvm</artifactId>
  |   <version>4.0</version>
  | </dependency>

Do I have missed something ?


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257258#4257258

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257258



More information about the jboss-user mailing list