Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Sequence diagrams in 2.0.1
Sequence diagrams in 2.0.1 [message #1745724] Sun, 16 October 2016 12:35 Go to next message
Perdita Stevens is currently offline Perdita StevensFriend
Messages: 18
Registered: September 2016
Junior Member
I'm having multiple problems making sequence diagrams. Having encountered Bug 486006, fixed in 2.0.1 (thanks!) I've upgraded to that - but now I can't build the simplest diagram. I'm not sure whether there are bugs, or whether I am just misusing the tool. What would be brilliant would be if someone would make a video of using Papyrus 2.0.1 to build a sequence diagram showing, say (taking the example I was trying to build for my students):

- a lifeline for an instance of actor Lecturer;
- one for a Course, one for a Student;
- the Lecturer sending registerStudent to the Course
- the Course sending isFull to itself [getting answer false, don't care if this is shown]
- the Course sending hasPrerequisites to the Student [answer true, ditto]
- the Course sending register to the Student
- correct return messages and nested activations (ExecutionSpecifications)
- ideally also proper connections to Operations in the class diagram, arguments to the messages etc., but that's less crucial.

Seems as though it should be easy for someone who knows what they're doing? Thanks in advance!
Re: Sequence diagrams in 2.0.1 [message #1745727 is a reply to message #1745724] Sun, 16 October 2016 15:21 Go to previous messageGo to next message
Carsten Pitz is currently offline Carsten PitzFriend
Messages: 176
Registered: May 2015
Location: Germany
Senior Member
As the author of the 486006 bug report, I just can say: "no problems doing sequence diagrams with 2.0.1".
Video attached.
Re: Sequence diagrams in 2.0.1 [message #1745729 is a reply to message #1745727] Sun, 16 October 2016 17:47 Go to previous messageGo to next message
Perdita Stevens is currently offline Perdita StevensFriend
Messages: 18
Registered: September 2016
Junior Member
Thanks! Doing apparently the same, though, I get different behaviour. Here's a video of one kind of misbehaviour I experience (there are several, and so far, I am not able reliably to reproduce them all on demand - but I've never managed to get all the way through to producing the diagram I want!) [Actually, am failing to get this reply posted with the video attached: let me see if it works without, and if so, I'll worry about whether the video may be too big or something.]
Re: Sequence diagrams in 2.0.1 [message #1745730 is a reply to message #1745729] Sun, 16 October 2016 18:03 Go to previous messageGo to next message
Carsten Pitz is currently offline Carsten PitzFriend
Messages: 176
Registered: May 2015
Location: Germany
Senior Member
Which Java version is in use. I got weird behaviour testing Papyrus 2 RC3 on Java 9.
Best regards
Carsten
Re: Sequence diagrams in 2.0.1 [message #1745731 is a reply to message #1745729] Sun, 16 October 2016 18:08 Go to previous messageGo to next message
Perdita Stevens is currently offline Perdita StevensFriend
Messages: 18
Registered: September 2016
Junior Member
Stuck my two videos on YouTube since for some reason eclipse.org didn't seem to want to upload them.

One kind of misbehaviour:
https://www.youtube.com/watch?v=Vno_HRuD7zQ&feature=youtu.be
Another kind:
https://www.youtube.com/watch?v=nJAPZUNs_do&feature=youtu.be

Any help very much appreciated!
Re: Sequence diagrams in 2.0.1 [message #1745732 is a reply to message #1745731] Sun, 16 October 2016 18:22 Go to previous messageGo to next message
Perdita Stevens is currently offline Perdita StevensFriend
Messages: 18
Registered: September 2016
Junior Member
Java 8.
Re: Sequence diagrams in 2.0.1 [message #1745733 is a reply to message #1745731] Sun, 16 October 2016 18:41 Go to previous messageGo to next message
Carsten Pitz is currently offline Carsten PitzFriend
Messages: 176
Registered: May 2015
Location: Germany
Senior Member
Which Java version is in use. I experienced weird behaviour testing Papyrus 2 RC3 on Java 9.
Appearently you use Windows 10. My setup uses Ubuntu 16.04 with Gnome as desktop. On Thursday I might get time to setup and test it on a Windows 10 machine.

Best regards
Carsten
Re: Sequence diagrams in 2.0.1 [message #1745734 is a reply to message #1745733] Sun, 16 October 2016 18:56 Go to previous messageGo to next message
Perdita Stevens is currently offline Perdita StevensFriend
Messages: 18
Registered: September 2016
Junior Member
It's at home on Windows 10 that I can easily use the latest Papyrus and video, but I have similar problems using 2.0.0 on Scientific Linux at work. I don't think I've seen precisely the same as in my first video, but I have seen the problem shown in my second.
Re: Sequence diagrams in 2.0.1 [message #1745735 is a reply to message #1745734] Sun, 16 October 2016 19:13 Go to previous messageGo to next message
Perdita Stevens is currently offline Perdita StevensFriend
Messages: 18
Registered: September 2016
Junior Member
SL*7* I meant to say.
Re: Sequence diagrams in 2.0.1 [message #1745736 is a reply to message #1745734] Sun, 16 October 2016 19:20 Go to previous messageGo to next message
Carsten Pitz is currently offline Carsten PitzFriend
Messages: 176
Registered: May 2015
Location: Germany
Senior Member
Fascinating as Spock tends to say.
I will reflect on it.
Best regards
Carsten

PS Edinburgh is a nice place Wink

Re: Sequence diagrams in 2.0.1 [message #1745883 is a reply to message #1745736] Tue, 18 October 2016 20:08 Go to previous messageGo to next message
Perdita Stevens is currently offline Perdita StevensFriend
Messages: 18
Registered: September 2016
Junior Member
Edinburgh is indeed a nice place Smile Tiny update: though I haven't explored extensively myself, my lab-full of students today seemed to be building sequence diagrams without problems, with Papyrus 2.0.1 - which is an interesting contrast with my Windows 10 experience, though they weren't trying to do exactly the same things!
Re: Sequence diagrams in 2.0.1 [message #1745884 is a reply to message #1745883] Tue, 18 October 2016 20:11 Go to previous messageGo to next message
Perdita Stevens is currently offline Perdita StevensFriend
Messages: 18
Registered: September 2016
Junior Member
argh, I should proof-read better. The point is that my students were using the 64-bit Papyrus 2.0.1 distribution from the download page, on SL7, whereas my bad experiences were with Windows 10. (On the downside, they then encountered https://bugs.eclipse.org/bugs/show_bug.cgi?id=345882 , i.e. couldn't show details of state diagram transitions, something I'm pretty confident we all did with 2.0.0 a week or two ago. Reminds me why for years I've taught modelling only using paper and pencil...)
Re: Sequence diagrams in 2.0.1 [message #1745935 is a reply to message #1745884] Wed, 19 October 2016 14:52 Go to previous messageGo to next message
Mathilde Arnaud is currently offline Mathilde ArnaudFriend
Messages: 5
Registered: October 2016
Location: Paris Saclay, France
Junior Member
You seem to have run into at least one bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=502154
I am not sure this explains all the weird behaviors you are experiencing though, and if your students didn't run into it it's even weirder...
Re: Sequence diagrams in 2.0.1 [message #1746021 is a reply to message #1745884] Thu, 20 October 2016 14:41 Go to previous message
Mathilde Arnaud is currently offline Mathilde ArnaudFriend
Messages: 5
Registered: October 2016
Location: Paris Saclay, France
Junior Member
You seem to have run into at least one bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=502154
I am not sure this explains all the weird behaviors you are experiencing though, and if your students didn't run into it it's even weirder...
Previous Topic:Generating a diagram for Papyrus
Next Topic:Papyrus displaying property like association
Goto Forum:
  


Current Time: Wed Jan 29 19:01:51 GMT 2020

Powered by FUDForum. Page generated in 0.02215 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top