[rules-users] Problems saving BPMN2 diagrams in Guvnor

Tihomir Surdilovic tsurdilo at redhat.com
Mon Dec 26 09:30:15 EST 2011


Hi Christiano, the error message says that you have a sequence flow that 
has no targetRef attribute. Now you could either have a dangling 
sequence flow or this is a bug in the designer. If you can please show a 
screenshot of your process before saving it or describe what node types 
you have there and we will try to recreate and fix.
As far as no warning showing before the save - this is something that we 
are working on. Currently if there are issues with parsing the BPMN2 
created by designer, the asset source in Guvnor is blank and that's why 
you are looking your process in the canvas after a save. A workaround 
until this is done is do click on the BPMN2 button in the designer 
footer which just shows the process BPMN2 before saving it. In this case 
you will be able to see the log errors without loosing everything on 
your canvas.

Hope this helps.
On 12/25/11 10:56 PM, Cristiano Gavião wrote:
> Hi,
>
> I'm playing with Guvnor from jbpm-5.2.0.Final-installer-full using Jboss
> AS7.  I'm using  the Chrome browser
>
> I could create a bpmn2 diagram and play with it. After save it,
> sometimes I get a blank canvas and sometimes it is not saving the changes.
>
> I can open the file and see all my saving messages on the Version
> History folder, but when I try to open it..., it is blank...
>
> Normally I couldn't see any error message at the console when it just
> don't save the last change. but right now, that I lost all elements of
> my diagram (I mean, there is a blank canvas) I got this:
>
>> 00:50:21,761 INFO  [stdout] (http--127.0.0.1-8080-5) (null: 47, 119):
>> cvc-complex-type.4: Attribute 'targetRef' must appear on element
>> 'bpmn2:sequenceFlow'.
>> 00:50:21,868 SEVERE [com.intalio.web.profile.impl.JbpmProfileImpl]
>> (http--127.0.0.1-8080-3) null: java.lang.NullPointerException
>>      at
>> com.intalio.bpmn2.impl.Bpmn2JsonMarshaller.marshallSequenceFlow(Bpmn2JsonMarshaller.java:1441)
>> [classes:]
>>      at
>> com.intalio.bpmn2.impl.Bpmn2JsonMarshaller.marshallFlowElement(Bpmn2JsonMarshaller.java:684)
>> [classes:]
>>      at
>> com.intalio.bpmn2.impl.Bpmn2JsonMarshaller.marshallProcess(Bpmn2JsonMarshaller.java:422)
>> [classes:]
>>      at
>> com.intalio.bpmn2.impl.Bpmn2JsonMarshaller.marshallDefinitions(Bpmn2JsonMarshaller.java:314)
>> [classes:]
>>      at
>> com.intalio.bpmn2.impl.Bpmn2JsonMarshaller.marshall(Bpmn2JsonMarshaller.java:157)
>> [classes:]
>>      at
>> com.intalio.web.profile.impl.JbpmProfileImpl$2.parseModel(JbpmProfileImpl.java:255)
>> [classes:]
>>      at
>> com.intalio.web.repository.impl.UUIDBasedJbpmRepository.load(UUIDBasedJbpmRepository.java:36)
>> [classes:]
>>      at
>> com.intalio.web.server.UUIDBasedRepositoryServlet.doGet(UUIDBasedRepositoryServlet.java:123)
>> [classes:]
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
>> [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
>> [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
>>      at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
>> [jbossweb-7.0.1.Final.jar:7.0.2.Final]
>>      at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>> [jbossweb-7.0.1.Final.jar:7.0.2.Final]
>>      at
>> com.intalio.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:75)
>> [classes:]
>>      at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
>> [jbossweb-7.0.1.Final.jar:7.0.2.Final]
>>      at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>> [jbossweb-7.0.1.Final.jar:7.0.2.Final]
>>      at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
>> [jbossweb-7.0.1.Final.jar:7.0.2.Final]
>>      at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
>> [jbossweb-7.0.1.Final.jar:7.0.2.Final]
>>      at
>> org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
>> [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
>>      at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
>> [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
>>      at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
>> [jbossweb-7.0.1.Final.jar:7.0.2.Final]
>>      at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>> [jbossweb-7.0.1.Final.jar:7.0.2.Final]
>>      at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>> [jbossweb-7.0.1.Final.jar:7.0.2.Final]
>>      at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
>> [jbossweb-7.0.1.Final.jar:7.0.2.Final]
>>      at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
>> [jbossweb-7.0.1.Final.jar:7.0.2.Final]
>>      at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
>> [jbossweb-7.0.1.Final.jar:7.0.2.Final]
>>      at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
>>      at java.lang.Thread.run(Thread.java:680) [:1.6.0_29]
> Anyone have experiment some like this?
>
> regards
>
> Cristiano
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>




More information about the rules-users mailing list