Andrea Carpineti [https://community.jboss.org/people/acarpine] created the discussion
"Re: How to get external event to cancel human task and progress process" To view the discussion, visit: https://community.jboss.org/message/756974#756974 -------------------------------------------------------------- Trying to use a boundary intermediate event on my user task (as used by Steve) I get an error when I try to build the package > 400 An error occurred building the module. the +server.log+ reports > 12:52:17,206 ERROR [stderr] (http-localhost-127.0.0.1-8080-5) > java.io.NotSerializableException: org.jbpm.bpmn2.xml.ProcessHandler$1 > > 12:52:17,206 ERROR [stderr] (http-localhost-127.0.0.1-8080-5) at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164) > > [...] > > > 12:52:17,237 ERROR [stderr] (http-localhost-127.0.0.1-8080-5) at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) > > 12:52:17,237 ERROR [stderr] (http-localhost-127.0.0.1-8080-5) at > java.lang.Thread.run(Thread.java:662) > > 12:52:17,237 INFO [stdout] (http-localhost-127.0.0.1-8080-5) ERROR 30-08 > 12:52:17,237 (LoggingHelper.java:error:67) An error occurred building > the module [defaultPackage]: org.jbpm.bpmn2.xml.ProcessHandler$1 > > 12:52:17,237 INFO [stdout] (http-localhost-127.0.0.1-8080-5) ERROR 30-08 > 12:52:17,237 (LoggingHelper.java:error:74) Service method 'public > abstract org.drools.guvnor.client.rpc.BuilderResult > org.drools.guvnor.client.rpc.ModuleService.buildPackage(java.lang.String,boolean,java.lang.String,java.lang.String,java.lang.String,boolean,java.lang.String,java.lang.String,boolean,java.lang.String) > throws com.google.gwt.user.client.rpc.SerializationException' threw an > unexpected exception: org.drools.repository.RulesRepositoryException: An > error occurred building the module. > > 12:52:17,237 INFO [stdout] (http-localhost-127.0.0.1-8080-5) > org.drools.repository.RulesRepositoryException: An error occurred building > the module. > > 12:52:17,237 INFO [stdout] (http-localhost-127.0.0.1-8080-5) at > org.drools.guvnor.server.builder.PackageAssembler.getCompiledBinary(PackageAssembler.java:186) > > [...] > 12:52:17,253 INFO [stdout] (http-localhost-127.0.0.1-8080-5) at > java.lang.Thread.run(Thread.java:662) > > 12:52:17,253 INFO [stdout] (http-localhost-127.0.0.1-8080-5) Caused by: > java.io.NotSerializableException: org.jbpm.bpmn2.xml.ProcessHandler$1 > > 12:52:17,253 INFO [stdout] (http-localhost-127.0.0.1-8080-5) at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164) > > [...] > > 12:52:17,253 INFO [stdout] (http-localhost-127.0.0.1-8080-5) at > org.drools.guvnor.server.builder.PackageAssembler.getCompiledBinary(PackageAssembler.java:180) > > 12:52:17,253 INFO [stdout] (http-localhost-127.0.0.1-8080-5) ... 40 more > The error is easily repro just setting the +CancelActivity+ attribute to +true+ for Timer Intermediate Event and Signal Intermediate Event (I haven't tried the others). any idea? thanks -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/756974#756974] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
