Skip to content

UCOSPLogGloriaLaw

Gloria Law edited this page Nov 25, 2018 · 40 revisions

Each UCOSP participant is asked to log all the steps they take as they make progress through the semester. This includes difficulties they faced (getting set up, understanding how to model in Umple, using UmpleOnline, code that is difficult to figure out, and development tools that are hard to figure out, or don't seem to work properly). The more log entries added the more we can better get a grip on the usability issues with Umple, and the more we can help future new contributors come up to speed.

Please record entries in reverse chronological order

Log Entries

2018-11-24

Today, I corrected the test cases for #1132 and started working on issue #59 now. Issue 59 is the make multiplicity editable issue. I hope to finish by this week but if I can't finish on time, I will continue working on it after my finals on December 12 as Tim suggested.

2018-11-23

I have now finished up issue #1132 but I am stuck on fixing the deleteTransitionAction test case. When I am finished fixing it, I will work on editing the multiplicity.

2018-11-14

From my meeting with Tim, I found that the server was not restarting, which could possibly be the reason why my umple code was not updating. To do this, the following commands are run to restart the server.

php UmpleServerTest.php server -log
php UmpleServerTest.php server -quit

2018-11-13

Even after debugging, the Umple code still wouldn't update. I emailed Tim for a meeting request.

2018-11-10

Today, I found that the part which is supposed to update the diagram's code is in umple_system.js, and I added code to attempt to make it work with transitions. I also had to make a new umple_transitions.js file to make it work. I am debugging the files again to make sure they work.

2018-11-04

Today, I added a bunch of console.log items to help me with decoding. After a few hours of debugging, I still did not manage to pinpoint why the Umple code was not updating even though the transition arrows are working. For the rest of this week, I will try and find more ways to debug and also continue to try and determine how to replace the association button with the transition button when it is in the state diagram. Currently, it is right below the association button.

2018-10-30

After some more debugging, I realized that uml.Transition is actually under uml_state_machine.Transition, which allowed me to fix this error and a few others. When I add transitions, I am now passing the following variables but I am unsure if I should be using the unspecified event.

var actionCodeObj = {
			"fromStateId": jjsJsonOne.name[0],
			"toStateId": jjsJsonTwo.name[0],
			"event": "unspecified",
            "id": "umpleTransition_" + this.transitionIndex,
		};

I no longer get any errors in the Firefox debugging console except the Invalid request (Unexpected EOF) error now. However, the Umple code still does not add and remove with the addition and deletion of transition links.

2018-10-29

I downloaded WebStorm to try and debug my program to determine the issue. I have also made some changes according to the comments I received from Tim about the issue.

With the use of WebStorm and the Firefox debugger, I was able to identify a problem in jjs_parse.js and fix the issue, allowing joint.js diagrams to be displayed. I am now able to create and remove transitions but this does not update on the Umple code. I am unsure what code an empty transition should be adding by default. Also, when it removes a transition, it seems to be going straight to the default option in jjs_parse.js rather than uml.Transition.

		this.paper.model.on('remove', _.bind(function (cell) {
			if (cell.isLink()) {
				switch (cell.toJSON().type) {
					case 'uml.Association':
						if (cell.toJSON().source.id !== undefined && cell.toJSON().target.id !== undefined){
							JJSdiagram.makeUmpleCodeFromAssociation('removeAssociation', this.paper.model.getCell(cell.toJSON().source.id).toJSON(), this.paper.model.getCell(cell.toJSON().target.id).toJSON(), cell.toJSON());
						}
						break;
					case 'uml.Transition':
						if (cell.toJSON().source.id !== undefined && cell.toJSON().target.id !== undefined){
							JJSdiagram.makeUmpleCodeFromTransition('removeTransition', this.paper.model.getCell(cell.toJSON().source.id).toJSON(), this.paper.model.getCell(cell.toJSON().target.id).toJSON(), cell.toJSON());
						 }
					 break;
					case 'uml.Generalization':
						if (cell.toJSON().source.id !== undefined && cell.toJSON().target.id !== undefined) {
							JJSdiagram.makeUmpleCodeFromGeneralization('removeGeneralization', this.paper.model.getCell(cell.toJSON().target.id).toJSON(), this.paper.model.getCell(cell.toJSON().source.id).toJSON());
						}
						break;
					default:
						console.log('JJSdiagram -->initJJSDiagram -->graph remove listener--> unknown type');
						break;
				}
			}
		}, this));
	},

2018-10-26

Today, I worked on making the Umple code update when transitions are added. However, after I made the changes, the jointJS class diagrams no longer load and I get a unexpected EOF error right when I click the joint.js option.

php -S localhost:8002
PHP 5.6.17 Development Server started at Fri Oct 26 22:51:06 2018
Listening on http://localhost:8002
Document root is /home/glorialaw/umple/umple/umpleonline
Press Ctrl-C to quit.
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52372 [200]: /umple.php
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52375 [200]: /scripts/_load.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52376 [200]: /scripts/class.png
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52377 [200]: /scripts/umpleonline_title.jpg
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52378 [200]: /scripts/copy.png
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52380 [200]: /scripts/generalization.png
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52379 [200]: /scripts/assoc.png
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52381 [200]: /scripts/delete.png
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52382 [200]: /scripts/undo.png
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52383 [200]: /scripts/redo.png
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52384 [200]: /scripts/sync_diagram.png
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52385 [200]: /scripts/jquery/showLoading/css/showLoading.css
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52386 [200]: /scripts/jquery/jquery-ui-1.10.4.custom.min.css
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52387 [200]: /scripts/shCore.css
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52388 [200]: /scripts/shThemeDefault.css
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52389 [200]: /scripts/CodeMirror/lib/codemirror.css
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52390 [200]: /scripts/dropbox/dropbox.css
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52391 [200]: /scripts/styles.css
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52392 [200]: /scripts/jjs/joint.css
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52393 [200]: /scripts/jquery/jquery-2.2.4.min.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52394 [200]: /scripts/jquery/jquery-ui-1.10.4.custom.min.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52396 [200]: /scripts/jquery.ui.touch-punch.min.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52397 [200]: /scripts/jquery/showLoading/js/jquery.showLoading.min.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52398 [200]: /scripts/allumple-min.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52399 [200]: /scripts/jjs/graphlib.min.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52400 [200]: /scripts/jjs/backbone.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52401 [200]: /scripts/mousetrap.min.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52402 [200]: /scripts/jjs/dagre.min.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52403 [200]: /scripts/structureDiagram.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52404 [200]: /scripts/jjs/joint.shapes.umpleuml.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52405 [200]: /scripts/jjs/joint.shapes.uml-state-machine.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52406 [200]: /scripts/jjs/index.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52407 [200]: /scripts/jjs/joint.js
[Fri Oct 26 22:51:11 2018] 127.0.0.1:52408 [200]: /scripts/jjs/jjs_parse.js
[Fri Oct 26 22:51:12 2018] 127.0.0.1:52413 [200]: /scripts/jquery/images/ui-icons_70b2e1_256x240.png
[Fri Oct 26 22:51:12 2018] 127.0.0.1:52414 [200]: /scripts/jquery/images/ui-icons_454545_256x240.png
[Fri Oct 26 22:51:12 2018] 127.0.0.1:52416 [200]: /scripts/compiler.php
[Fri Oct 26 22:51:12 2018] 127.0.0.1:52417 [200]: /favicon.ico
[Fri Oct 26 22:51:12 2018] 127.0.0.1:52418 [200]: /scripts/jquery/showLoading/images/loading.gif
[Fri Oct 26 22:51:12 2018] 127.0.0.1:52419 [200]: /scripts/compiler.php
[Fri Oct 26 22:51:13 2018] 127.0.0.1:52424 [200]: /scripts/jquery/images/ui-bg_inset-soft_50_c9c9c9_1x100.png
[Fri Oct 26 22:51:18 2018] 127.0.0.1:52431 [200]: /scripts/compiler.php
[Fri Oct 26 22:51:18 2018] 127.0.0.1:52432 [200]: /scripts/compiler.php
[Fri Oct 26 22:51:18 2018] 127.0.0.1:52434 [200]: /scripts/_.gif
[Fri Oct 26 22:51:18 2018] 127.0.0.1:52435 [200]: /scripts/delete2.jpg
[Fri Oct 26 22:51:19 2018] 127.0.0.1:52438 [200]: /scripts/compiler.php
[Fri Oct 26 22:51:19 2018] 127.0.0.1:52440 [200]: /scripts/compiler.php
[Fri Oct 26 22:51:25 2018] 127.0.0.1:52454 [200]: /scripts/compiler.php
[Fri Oct 26 22:51:33 2018] 127.0.0.1:52458 Invalid request (Unexpected EOF)

2018-10-23

The error below was fixed by killing the process running umplesync.jar found through ps aux | grep java.

[Tue Oct 23 10:03:03 2018] 127.0.0.1:55096 [200]: /umple.php
[Tue Oct 23 10:03:03 2018] 127.0.0.1:55097 [200]: /scripts/_load.js
[Tue Oct 23 10:03:03 2018] 127.0.0.1:55098 [200]: /scripts/umpleonline_title.jpg
[Tue Oct 23 10:03:03 2018] 127.0.0.1:55101 [200]: /scripts/copy.png
[Tue Oct 23 10:03:03 2018] 127.0.0.1:55102 [200]: /scripts/generalization.png
[Tue Oct 23 10:03:03 2018] 127.0.0.1:55099 [200]: /scripts/assoc.png
[Tue Oct 23 10:03:03 2018] 127.0.0.1:55100 [200]: /scripts/class.png
[Tue Oct 23 10:03:03 2018] 127.0.0.1:55103 [200]: /scripts/delete.png
[Tue Oct 23 10:03:03 2018] 127.0.0.1:55104 [200]: /scripts/undo.png
[Tue Oct 23 10:03:03 2018] 127.0.0.1:55105 [200]: /scripts/redo.png
[Tue Oct 23 10:03:03 2018] 127.0.0.1:55106 [200]: /scripts/sync_diagram.png
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55110 [200]: /scripts/jquery/showLoading/css/showLoading.css
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55108 [200]: /scripts/shCore.css
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55109 [200]: /scripts/jquery/jquery-ui-1.10.4.custom.min.css
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55107 [200]: /scripts/shThemeDefault.css
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55111 [200]: /scripts/dropbox/dropbox.css
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55112 [200]: /scripts/CodeMirror/lib/codemirror.css
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55113 [200]: /scripts/styles.css
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55114 [200]: /scripts/jjs/joint.css
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55115 [200]: /scripts/allumple-min.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55116 [200]: /scripts/jjs/backbone.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55117 [200]: /scripts/jquery/jquery-ui-1.10.4.custom.min.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55119 [200]: /scripts/jjs/dagre.min.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55118 [200]: /scripts/jjs/graphlib.min.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55120 [200]: /scripts/jquery.ui.touch-punch.min.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55121 [200]: /scripts/jquery/showLoading/js/jquery.showLoading.min.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55122 [200]: /scripts/mousetrap.min.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55125 [200]: /scripts/jjs/joint.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55123 [200]: /scripts/structureDiagram.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55124 [200]: /scripts/jjs/index.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55127 [200]: /scripts/jjs/joint.shapes.uml-state-machine.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55128 [200]: /scripts/jjs/jjs_parse.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55126 [200]: /scripts/jjs/joint.shapes.umpleuml.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55129 [200]: /scripts/jquery/jquery-2.2.4.min.js
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55130 [200]: /scripts/jquery/images/ui-icons_454545_256x240.png
[Tue Oct 23 10:03:04 2018] 127.0.0.1:55131 [200]: /scripts/jquery/images/ui-icons_70b2e1_256x240.png
[Tue Oct 23 10:03:05 2018] 127.0.0.1:55132 [200]: /scripts/compiler.php
[Tue Oct 23 10:03:05 2018] 127.0.0.1:55133 [200]: /scripts/jquery/showLoading/images/loading.gif
[Tue Oct 23 10:03:09 2018] 127.0.0.1:55134 [200]: /scripts/compiler.php
[Tue Oct 23 10:03:09 2018] 127.0.0.1:55136 [200]: /scripts/jquery/images/ui-bg_inset-soft_50_c9c9c9_1x100.png
[Tue Oct 23 10:03:16 2018] 127.0.0.1:55141 [200]: /scripts/compiler.php
[Tue Oct 23 10:03:21 2018] 127.0.0.1:55142 [200]: /scripts/compiler.php
[Tue Oct 23 10:03:21 2018] 127.0.0.1:55145 [200]: /scripts/delete2.jpg
[Tue Oct 23 10:03:21 2018] 127.0.0.1:55144 [200]: /scripts/_.gif
nice: cannot set niceness: Permission denied
[Tue Oct 23 10:03:31 2018] 127.0.0.1:55149 [200]: /scripts/compiler.php
[Tue Oct 23 10:03:36 2018] 127.0.0.1:55154 [200]: /scripts/compiler.php
nice: cannot set niceness: Permission denied
[Tue Oct 23 10:03:40 2018] 127.0.0.1:55156 [200]: /scripts/compiler.php
nice: cannot set niceness: Permission denied
[Tue Oct 23 10:03:45 2018] 127.0.0.1:55159 [200]: /scripts/compiler.php
nice: cannot set niceness: Permission denied
[Tue Oct 23 10:03:49 2018] 127.0.0.1:55165 [200]: /scripts/compiler.php
nice: cannot set niceness: Permission denied
[Tue Oct 23 10:03:53 2018] 127.0.0.1:55167 [200]: /scripts/compiler.php
nice: cannot set niceness: Permission denied
[Tue Oct 23 10:03:57 2018] 127.0.0.1:55169 [200]: /scripts/compiler.php
nice: cannot set niceness: Permission denied
[Tue Oct 23 10:04:02 2018] 127.0.0.1:55171 [200]: /scripts/compiler.php
nice: cannot set niceness: Permission denied
[Tue Oct 23 10:04:06 2018] 127.0.0.1:55173 [200]: /scripts/compiler.php
[Tue Oct 23 10:04:21 2018] 127.0.0.1:55190 Invalid request (Unexpected EOF)

2018-10-22

Today, I emailed Tim and was able to fix the issue with:

ant -DshouldPackageUmpleOnline=true -Dmyenv=local -f build.umple.xml packageUmpleonline

I also looked into the issue and I estimate that I will finish this feature by next week.

2018-10-21

After clarifying with Tim on what needs to be done for this issue, I have identified that the main task is to allow it to add and delete transitions for the state diagram.

I pulled to my branch for the new changes and I now have this error for Umple online:

php -S localhost:8002
PHP 5.6.17 Development Server started at Sun Oct 21 21:21:56 2018
Listening on http://localhost:8002
Document root is /home/glorialaw/umple/umple/umpleonline
Press Ctrl-C to quit.
[Sun Oct 21 21:21:59 2018] 127.0.0.1:50434 [200]: /umple.php
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50435 [200]: /scripts/_load.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50436 [200]: /scripts/umpleonline_title.jpg
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50437 [200]: /scripts/copy.png
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50438 [200]: /scripts/class.png
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50440 [200]: /scripts/generalization.png
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50439 [200]: /scripts/assoc.png
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50441 [200]: /scripts/delete.png
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50442 [200]: /scripts/undo.png
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50443 [200]: /scripts/redo.png
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50444 [200]: /scripts/sync_diagram.png
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50445 [200]: /scripts/jquery/showLoading/css/showLoading.css
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50446 [200]: /scripts/jquery/jquery-ui-1.10.4.custom.min.css
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50447 [200]: /scripts/shCore.css
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50448 [200]: /scripts/shThemeDefault.css
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50449 [200]: /scripts/CodeMirror/lib/codemirror.css
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50450 [200]: /scripts/dropbox/dropbox.css
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50451 [200]: /scripts/styles.css
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50452 [200]: /scripts/jjs/joint.css
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50453 [200]: /scripts/jquery/jquery-ui-1.10.4.custom.min.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50454 [200]: /scripts/jquery.ui.touch-punch.min.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50455 [200]: /scripts/jquery/showLoading/js/jquery.showLoading.min.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50456 [200]: /scripts/mousetrap.min.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50457 [200]: /scripts/allumple-min.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50458 [200]: /scripts/structureDiagram.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50459 [200]: /scripts/jjs/index.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50461 [200]: /scripts/jjs/backbone.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50462 [200]: /scripts/jjs/graphlib.min.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50463 [200]: /scripts/jjs/dagre.min.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50464 [200]: /scripts/jjs/joint.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50465 [200]: /scripts/jjs/joint.shapes.umpleuml.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50467 [200]: /scripts/jjs/jjs_parse.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50466 [200]: /scripts/jjs/joint.shapes.uml-state-machine.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50468 [200]: /scripts/jquery/jquery-2.2.4.min.js
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50473 [200]: /scripts/jquery/images/ui-icons_70b2e1_256x240.png
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50474 [200]: /scripts/jquery/images/ui-icons_454545_256x240.png
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50475 [200]: /scripts/compiler.php
[Sun Oct 21 21:22:00 2018] 127.0.0.1:50476 [200]: /scripts/jquery/showLoading/images/loading.gif
[Sun Oct 21 21:22:03 2018] 127.0.0.1:50477 [200]: /scripts/compiler.php
[Sun Oct 21 21:22:04 2018] 127.0.0.1:50479 [200]: /scripts/jquery/images/ui-bg_inset-soft_50_c9c9c9_1x100.png
[Sun Oct 21 21:22:04 2018] 127.0.0.1:50480 [200]: /scripts/jquery/images/ui-icons_3383bb_256x240.png
sh: 1: dot: not found
[Sun Oct 21 21:22:16 2018] 127.0.0.1:50481 [200]: /scripts/compiler.php
[Sun Oct 21 21:22:16 2018] 127.0.0.1:50483 [200]: /scripts/compiler.php
sh: 1: dot: not found
[Sun Oct 21 21:22:19 2018] 127.0.0.1:50484 [200]: /scripts/compiler.php
[Sun Oct 21 21:22:26 2018] 127.0.0.1:50486 [200]: /scripts/compiler.php
[Sun Oct 21 21:22:31 2018] 127.0.0.1:50488 Invalid request (Unexpected EOF)
[Sun Oct 21 21:23:13 2018] 127.0.0.1:50496 Invalid request (Unexpected EOF)

###!!! [Child][MessageChannel] Error: (msgtype=0x6E0001,name=PRemoteSpellcheckEngine::Msg___delete__) Channel closing: too late to send/recv, messages will be lost

I tried to do another full build, but that also failed. I tried the fix from last time with clean, but that also did not work. This is the full build error:

    [apply] Success! Processed /home/glorialaw/umple/umple/testbed/src/runtime/StateMachineDo.ump.
    [apply] Processing -> /home/glorialaw/umple/umple/testbed/src/runtime/StateMachineEntry.ump
    [apply] Success! Processed /home/glorialaw/umple/umple/testbed/src/runtime/StateMachineEntry.ump.
    [javac] Compiling 726 source files to /home/glorialaw/umple/umple/testbed/bin
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [echo] Using myenv=local
     [echo] Last Version: 1.29.1.4260.b21abf3a3

compilePhp:
     [java] Processing -> testbed_php/src/TestHarnessPhp.ump
     [java] Success! Processed testbed_php/src/TestHarnessPhp.ump.
     [echo] Using myenv=local
     [echo] Last Version: 1.29.1.4260.b21abf3a3

compileRuby:
     [java] Processing -> testbed_ruby/src/TestHarnessRuby.ump
     [java] Success! Processed testbed_ruby/src/TestHarnessRuby.ump.
     [echo] Using myenv=local
     [echo] Last Version: 1.29.1.4260.b21abf3a3

test:
     [echo] Using myenv=local
     [echo] Last Version: 1.29.1.4260.b21abf3a3

testJava:
     [echo] Running JAVA tests via junit
    [junit] WARNING: multiple versions of ant detected in path for junit
    [junit]          jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
    [junit]      and jar:file:/home/glorialaw/umple/umple/dist/libs/core/ant.jar!/org/apache/tools/ant/Project.class
[junitreport] Processing /home/glorialaw/umple/umple/dist/qa/testbed_java/TESTS-TestSuites.xml to /tmp/null997159182
[junitreport] Loading stylesheet jar:file:/usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 442ms
[junitreport] Deleting: /tmp/null997159182
     [echo] Java tests completed!
     [echo] Using myenv=local
     [echo] Last Version: 1.29.1.4260.b21abf3a3

testPhp:
     [echo] Running PHP tests from command line
     [exec] Result: 255
     [echo] PHP tests completed!
     [echo] Using myenv=local
     [echo] Last Version: 1.29.1.4260.b21abf3a3

testRuby:
     [echo] Running RUBY tests via rake task
     [exec] Result: 1
     [echo] Using myenv=local
     [echo] Last Version: 1.29.1.4260.b21abf3a3

qaLandingPage:
     [echo] Creating a QA Landing Page
     [copy] Copying 1 file to /home/glorialaw/umple/umple/dist/qa

BUILD FAILED
/home/glorialaw/umple/umple/build/build.xml:9: /home/glorialaw/umple/umple/build/build.xml:32: The following error occurred while executing this line:
/home/glorialaw/umple/umple/build/build.testbed.xml:265: The following error occurred while executing this line:
/home/glorialaw/umple/umple/build/build.testbed.xml:158: The following error occurred while executing this line:
/home/glorialaw/umple/umple/build/build.testbed.xml:228: Ruby tests failed ('rake aborted' found)

Total time: 7 minutes 20 seconds

2018-10-20

After looking at issue #1132, I felt that the wording of the issue was a little confusing. What I got from it is that I will need to be making the state machine diagram's transition editable by deleting the existing one and adding the new one. The changes in the diagram will also need to be reflected in Umple code as well. I am referencing issue #1127 to get a better grasp of what I need to do.

As this will be my first exposure to joint.js, I decided to learn the basics of joint.js here.

2018-10-17

After the meeting on Tuesday, we concluded that I will work on issue #59 after Tim has some more time to look into the issue. I will start working on issue #1132 first.

2018-10-14

I began working on issue #59 today.

From searching in past pull requests and files, I believe I will need to add modifications to the umple_action.js, umple_association.js and inlineeditor.js in order to be able to edit the multiplicity.

2018-10-13

I worked on issue #755 today. The test case on eclipse passed but I ran into the following error while doing a full build:

BUILD FAILED
/home/glorialaw/umple/umple/build/build.xml:9: /home/glorialaw/umple/umple/build/build.xml:35: The following error occurred while executing this line:
/home/glorialaw/umple/umple/build/build.exampletests.xml:44: /home/glorialaw/umple/umple/build/build.exampletests.xml:46: The following error occurred while executing this line:
/home/glorialaw/umple/umple/build/build.exampletests.xml:126: The following error occurred while executing this line:
/home/glorialaw/umple/umple/build/build.exampletests.xml:128: The following error occurred while executing this line:
/home/glorialaw/umple/umple/build/build.exampletests.xml:208: Failed to compile Java code generated from ATempCrashCheck-5bc2465277f6e.ump

Total time: 15 minutes 55 seconds

With some help from Paul, we found that git clean -nf fixed the issue!

PR was created for issue #755

I worked on Issue #893 afterwards and created a PR. I ran into some trouble with file authorization errors for reading and writing to the text file, but it was resolved with chmod. I created a PR for this issue as well.

2018-10-08

I was able to fix the issues with my first build after restarting my ubuntu. I also ran into issues with my full build, which was fixed with reinstalling php.

For setting up UmpleOnline, I ran into Unable to find umpleSync.jar. This error can be fixed by:

ant -DshouldPackageUmpleOnline=true -Dmyenv=local -f build.umple.xml packageUmpleonline

2018-10-07

I was setting up Umple and on the step for running my first build, I got an error which caused it to fail.

codegen:
     [java] Error: Unable to access jarfile /home/glorialaw/umple/umple/dist/umple-1.29.1.4260.b21abf3a3.jar
     [java] Error: Unable to access jarfile /home/glorialaw/umple/umple/dist/umple-1.29.1.4260.b21abf3a3.jar
     [java] Error: Unable to access jarfile /home/glorialaw/umple/umple/dist/umple-1.29.1.4260.b21abf3a3.jar
     [java] Error: Unable to access jarfile /home/glorialaw/umple/umple/dist/umple-1.29.1.4260.b21abf3a3.jar
     [java] Error: Unable to access jarfile /home/glorialaw/umple/umple/dist/umple-1.29.1.4260.b21abf3a3.jar
     [java] Error: Unable to access jarfile /home/glorialaw/umple/umple/dist/umple-1.29.1.4260.b21abf3a3.jar

BUILD FAILED
/home/glorialaw/umple/umple/build/build.umple.xml:667: The following error occurred while executing this line:
/home/glorialaw/umple/umple/build/build.umple.xml:162:
Java returned: 1
Java returned: 1
Java returned: 1
Java returned: 1
Java returned: 1
Java returned: 1

Total time: 5 seconds

2018-10-06

Most of the set up process for the sub environment went smoothly, however, I was having difficulties setting up XMing for the GUI.

To set it up the GUI, I was following the instructions here.

On the last step, I downloaded putty and used 127.0.0.1 as my host name, which allowed me to ssh to the sub linux from putty. However when I tried to open any window, I got this error:

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(gedit:213): Gtk-WARNING **: cannot open display: 

To finally open Gedit, I used export DISPLAY=:0 but it ended up triggering a few more errors.

Running dbus-uuidgen > /var/lib/dbus/machine-id fixed the dbus issue regarding machine-id.

I also had warnings about dconf failed to execute child process dbus-launch. Running Sudo apt install dbus-x11 fixed that warning.

Code Sprint - 2018-09-20 to 2018-09-23

To summarize, in the code sprint, I fixed issue #546 and started on issue #755. I wanted to set up Umple online to make testing easier, but kept running into errors on my current platform (Windows). Therefore, I decided to set up the same environment as Paul, since his Umple online was working.

2018-09-16

As I tried to fix the problem by doing a build on the command line, the build kept failing, showing this message at the bottom:

BUILD FAILED
C:\Users\glori\Documents\Umple\umple\build\build.xml:9: C:\Users\glori\Documents\Umple\umple\build\build.xml:17: The following error occurred while executing this line:
C:\Users\glori\Documents\Umple\umple\build\build.umple.xml:673: The following error occurred while executing this line:
C:\Users\glori\Documents\Umple\umple\build\build.umple.xml:262: Compile failed; see the compiler error output for details.

Total time: 22 minutes 26 seconds

2018-09-15

I was finishing up the environment set up but ran into trouble with the JUnit tests. There were 312 errors and 2413 failures.

2018-09-13

After following the environment set up instructions for Umple, I realized I may have installed the wrong versions. I checked which versions of ruby and php I was running by listing the Chocolately.

clist -l

After realizing I had the wrong versions of ruby and php, I uninstalled the packages and installed the correct versions. There was no problem with ruby, but php had this error:

PS C:\WINDOWS\system32> choco install php --version=5.6.17
Chocolatey v0.10.11
Installing the following packages:
php
By installing you accept licenses for the packages.
Progress: Downloading php 5.6.17... 100%

php v5.6.17 [Approved]
php package files install completed. Performing other installation steps.
The package php wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[N]o/[P]rint): Y

Please make sure you have CGI installed in IIS for local hosting
Locating package .
Get-BinRoot is going to be deprecated in v1 and removed in v2. It has been replaced with Get-ToolsLocation (starting with v0.9.10), however many packages no longer require a special separate directory since package folders no longer have versions on them. Some do though and should continue to use Get-ToolsLocation.
Attempt to get headers for http://windows.php.net/downloads/releases/php-5.6.17-nts-Win32-VC11-x64.zip failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://windows.php.net/downloads/releases/php-5.6.17-nts-Win32-VC11-x64.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
Downloading php 64 bit
  from 'http://windows.php.net/downloads/releases/php-5.6.17-nts-Win32-VC11-x64.zip'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://windows.php.net/downloads/releases/php-5.6.17-nts-Win32-VC11-x64.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
The install of php was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\php\tools\chocolateyInstall.ps1'.
 See log for details.

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - php (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\php\tools\chocolateyInstall.ps1'.
 See log for details.

I saw that the source link had moved to the archives page, so I added a source and installed it from that source in Chocolatey.

choco source add -n=phparchives -s="https://windows.php.net/downloads/releases/archives/"
choco install php --version=5.6.17 -n=phparchives
Clone this wiki locally
You can’t perform that action at this time.