[rules-users] Fw: Problems saving BPMN2 diagrams in Guvnor

Tihomir Surdilovic tsurdilo at redhat.com
Thu Dec 29 11:08:37 EST 2011


Manohar, I would love to help you guys up and running with the jBPM 
Designer. Do appreciate the interest in using it, that's great, but 
don't know how unless you show logs, specify versions of  Designer, 
Guvnor, jBPM, and the AS, describe your process (screenshot, bpmn2..), etc.
Getting the blank canvas currently means that the generated BPMN2 from 
Designer for your particular process is not valid for some reason. 
Providing more info what what you are doing can help us. The logs should 
indicate exactly why parsing of the generated BPMN2 failed, so with that 
info and what i mention above we should be able to figure out the problem.
I'm working on showing errors/warnings on saving the process in the 
designer itself, so this should help .. will be available in 2.1.

On 12/29/11 12:11 AM, Manohar Kokkula wrote:
> Hi Tihomir,
>
> I also unable to save BPMN2.0 process, getting blank canvas after 
> clicking save button.
> I changed designer too, still i am getting same problem.
> Please guide me to get ride of this error.
>
>
>
>
> Thanks and regards,
> Manohar Kokkula
> mail:manohar.kokkula at tcs.com
>
>     ----- Forwarded by Manohar Kokkula/TVM/TCS on 12/28/2011 01:29
>     PM -----
>
>
>         From: 
>
>     	
>     Tihomir Surdilovic <tsurdilo at redhat.com>
>
>         To: 
>
>     	
>     Cristiano Gavião <cvgaviao at gmail.com>
>
>         Cc: 
>
>     	
>     Rules Users List <rules-users at lists.jboss.org>
>
>         Date: 
>
>     	
>     12/28/2011 08:15 AM
>
>         Subject: 
>
>     	
>     Re: [rules-users] Problems saving BPMN2 diagrams in Guvnor
>
>         Sent by: 
>
>     	
>     rules-users-bounces at lists.jboss.org
>
>     ------------------------------------------------------------------------
>
>
>
>     Can you replace your designer war with one from here:
>     http://people.redhat.com/tsurdilo/designer/master/ and let me know if
>     you still run into this?
>
>     Thanks.
>     On 12/27/11 4:21 PM, Cristiano Gavião wrote:
>     > Hi Tihomir,
>     >
>     > The flow that I'm trying to create is simple, just a sequence of
>     some
>     > Embed Sub-processes (screen is attached).
>     >
>     > After create the diagram I could save it (at least I got no
>     message).
>     > After that I could open it, but any modification couldn't be saved
>     > anymore.
>     >
>     > Well, If I try to click on the BPMN2 folder I got another error,
>     but I
>     > got this when open it second time... (I will sent the image of
>     this in
>     > another email because the size limitation).
>     >
>     > cheers
>     >
>     > Cristiano
>     >
>     > On 26/12/11 11:30, Tihomir Surdilovic wrote:
>     >> 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
>     >>>
>     >>
>     >
>     >
>
>     _______________________________________________
>     rules-users mailing list
>     rules-users at lists.jboss.org
>     https://lists.jboss.org/mailman/listinfo/rules-users
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111229/9d61bb6b/attachment.html 


More information about the rules-users mailing list