Hi there !

=== Environment ==============================
- jBPM Version : 4.1
- Database : Oracle 10.2
- JDK : 1.6
- Container : JBoss 4.2.3
- Configuration : Custom jbpm.cfg.xml:

<?xml version="1.0" encoding="UTF-8"?>
  | <jbpm-configuration>
  |   <import resource="jbpm.default.cfg.xml" />
  |   <import resource="jbpm.businesscalendar.cfg.xml" />
  |   <import resource="jbpm.tx.jta.cfg.xml" />
  |   <import resource="jbpm.jpdl.cfg.xml" />
  |   <!--import resource="jbpm.identity.cfg.xml" /-->
  |   <import resource="jbpm.jobexecutor.cfg.xml" />
  |     <transaction-context>
  |       <object class="com.feltengroup.jbpm.PilotIdentitySession" />
  |     </transaction-context>
  | </jbpm-configuration>
  | 

- Libraries : the libs from inside the jbpm distribution 

=== Process ==================================
Just a Test Jpdl: Start -> Task -> End

=== API ===================================
    Task task = taskService.getTask( "myTaskId" );

    task.setAssignee( "myUserName" );


=== Stacktrace ==============================
org.jbpm.api.JbpmException: no environment to get 
org.jbpm.pvm.internal.session.RepositorySession
        at 
org.jbpm.pvm.internal.env.EnvironmentImpl.getFromCurrent(EnvironmentImpl.java:197)
        at 
org.jbpm.pvm.internal.env.EnvironmentImpl.getFromCurrent(EnvironmentImpl.java:190)
        at 
org.jbpm.pvm.internal.model.ExecutionImpl.getProcessDefinition(ExecutionImpl.java:1096)
        at 
org.jbpm.pvm.internal.model.ExecutionImpl.getActivity(ExecutionImpl.java:1118)
        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:597)

=== Problem description =========================
I'm using JBPM 4.1 with a Seam 2.2.0/Richfaces 3.3.1 (no Pageflows). From a 
WebPage I try to set the assignee on a Task, it results in the Exception 
described above.
All other set* Functions on Task are working. TaskService.assignTask is working 
too!

Best Regards,
Joerg

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256653
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to