-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
Description
Hi, this is most likely a model problem but unfortunately, I can't figure out what's wrong with it. I would be very thankful if anyone can help me out.
The problem happens using all versions between fUML v. 1.30 and 1.4.2 (from the Dist folder)
Model: SequentialWriteline.uml.txt <- Please remove .txt from the extension

The CallBehaviors call fUML_Library.xmi#BasicInputOutput-WriteLine
The execution (fuml.bat SequentialWriteline.uml SequentialWriteline) prints:
A
B
A <- Wrong
With logging level set to INFO:
[---]\fUML-Reference-Implementation\org.modeldriven.fuml\dist\fuml-1.4.0-distribution\fuml-1.4.0\bin>fuml.bat SequentialWriteline.uml SequentialWriteline
===============================================================================
fUML Runtime Environment
FUML_HOME: [---]\fUML-Reference-Implementation\org.modeldriven.fuml\dist\fuml-1.4.0-distribution\fuml-1.4.0
JAVA: C:\Program Files\Java\jdk1.8.0_231\bin\java
JAVA_OPTS: -Dprogram.name=fuml.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: ../lib/*
===============================================================================
22 Jan 2020 15:55:22,962 INFO fuml.Fuml loading artifact, SequentialWriteline.uml
22 Jan 2020 15:55:23,019 INFO config.FumlConfiguration initializing...
22 Jan 2020 15:55:23,020 INFO config.FumlConfigDataBinding loading schema chain...
22 Jan 2020 15:55:23,282 INFO config.FumlConfiguration loading configuration, DefaultFumlConfig.xml
22 Jan 2020 15:55:23,353 INFO model.InMemoryRepository initializing...
22 Jan 2020 15:55:23,354 INFO repository.RepositoryConfigDataBinding loading schema chain...
22 Jan 2020 15:55:23,378 INFO model.PrimitiveTypesAssembler initializing...
22 Jan 2020 15:55:23,405 INFO model.UMLAssembler initializing...
22 Jan 2020 15:55:23,426 INFO model.InMemoryRepository cacheing classifier attributes and operations...
22 Jan 2020 15:55:23,835 INFO fuml.Fuml executing behavior: SequentialWriteline
22 Jan 2020 15:55:23,836 INFO fuml.Debug Execute activity=SequentialWriteline
22 Jan 2020 15:55:23,842 INFO fuml.Debug Fire activity=SequentialWriteline action=ValueSpecification1
22 Jan 2020 15:55:23,843 INFO fuml.Debug Fire activity=SequentialWriteline action=CallBehavior1
22 Jan 2020 15:55:23,844 INFO fuml.Debug Execute activity=WriteLine
22 Jan 2020 15:55:23,847 INFO fuml.Debug Fire activity=WriteLine action=StandardOutputChannel
22 Jan 2020 15:55:23,848 INFO fuml.Debug Fire activity=WriteLine action=writeLine
A
22 Jan 2020 15:55:23,850 INFO fuml.Debug Fire activity=SequentialWriteline action=ValueSpecification2
22 Jan 2020 15:55:23,850 INFO fuml.Debug Fire activity=SequentialWriteline action=CallBehavior2
22 Jan 2020 15:55:23,851 INFO fuml.Debug Execute activity=WriteLine
22 Jan 2020 15:55:23,852 INFO fuml.Debug Fire activity=WriteLine action=StandardOutputChannel
22 Jan 2020 15:55:23,853 INFO fuml.Debug Fire activity=WriteLine action=writeLine
B
22 Jan 2020 15:55:23,858 INFO fuml.Debug Fire activity=SequentialWriteline action=ValueSpecification1
22 Jan 2020 15:55:23,859 INFO fuml.Debug Fire activity=SequentialWriteline action=CallBehavior1
22 Jan 2020 15:55:23,860 INFO fuml.Debug Execute activity=WriteLine
22 Jan 2020 15:55:23,861 INFO fuml.Debug Fire activity=WriteLine action=StandardOutputChannel
22 Jan 2020 15:55:23,861 INFO fuml.Debug Fire activity=WriteLine action=writeLine
A
The same happens if the control flow goes from the initial node to the ValueSpecification or if the Initial node is left out completely.
I'm attaching the fuml.log file with all log4j.category.org.modeldriven.fuml.* set to DEBUG, too.