v8.1 -- Sequence diagram ghost still haunts, and other observations
Hi,
1) Sequence Diagram:
I've been reading some posts in the past 2 days on the abilities, capabilities and issues with JSE8, and the "Skewed Sequence-Diag" issue etc, and it was written that v8.1 fixes it. I believe that the fixes overlooked some conditions, because yesterday, I encountered the problem 2-3 time. I have a model with about 30 odd classes, 8 diagrams (of which only 1 is a sequence diagram), I'd say about 30-40 odd relationships etc. In the sequence-diagram, for first 5 objects and their interactions I found the modelling a breeze. On adding the 6th object (Object existed, I just dragged it onto the Seq-Diag canvas), but adding an operation for that Object on the Seq-Diag canvas itself, modified the "synchronous-call" arrow to point up at 30 degrees. I could drag or pull either object, or the arrow to modify it. I save the model, existed, reloaded model, and saw the skewed diagram in it's last form.
The good news is that, deleting the operation & arrow from model, and redoing it, permitted me to get around.
2) Problem with Code generation:
I've attempted to do a select-all and right click on code-generation. Code was generated for only about 20% classes / interfaces, but no error/warning was thrown for remaining 80%. I got a success-all report.
3) Problem with associations:
I've found a problem for last few additions to the model, i.e. I added 2 classes, and had both of them have "implementation relation". For some reason, I didn't see the operation of the interface automatically added for both classes (which were almost identical, just different names), but only for one of the 2 classes. So I delete both associations, and attempted to put in a Realizes-relation between the interface and each of the 2 classes, and again the same result.
4) Problem with multiplicities:
I've found that in few cases, the multiplicity attribute added to a relation don't seem to take any visual-effect. In fact for these classes, even the code-generation didn't succeed, so I can't tell the difference from code. Although, these are not the only cases for which code-generation didn't succeed.
I hope to be able to report more issues, and get some fixes. I like the tool over few others (and the fact that it's free). The ability to perform XMI export would be such a great thing. Keep up the good work.
regards,
Banibrata Dutta
[2448 byte] By [
bduttaa] at [2007-11-26 21:15:05]

# 2
Hi Karthik,
I tried to follow the procedure for both "Update centre" based update, and "Manual" update, and both failed. What I did was to uninstall the entire set of "UML" modules, as instructed, via Tools > Module Centre. Then I tried an automatic update. First attempt was with just the "NetBeans Update Center Beta" checkbox selected, and with it, I found many updates under "Features", but no "UML" !! Then I tried with all other "... Update Centre" checkboxes selected, and same result. Then I tried manual option, and followed the instructions to the last word. I got a "lot" of unfulfilled dependencies, yet got an option to proceed anyway. I proceeded anyway, and then again lot of error messages about missing dependencies (lot of them). Restarting JSE is now a problem, as I only got a big warning which refuses to go away. Stuck bad, real bad.
Finally, I decide to remove JSE, and reinstall it. That I did. Guess what -- after reinstallation, I get same warning. Which means uninstall didn't remove the previous settings completely. Bad! Do I need to go and do registry hunting!
I had created a fairly big and complex model, and was hoping to share it with my exntended team today, but now it looks very unlikely. Will try. Any help/tips are appreciated.
BTW, I am still wondering, if the latest UML beta based on Netbeans 5.5 is really supported in JSE8.1. I read somewhere that JSE8.1 uses bridges and not the native Netbeans API to invoke the UML functionality. Could that be a roadblock ? Wondering...
- bd
# 4
My apologies for not being clearer earlier; i do see that my reply kind of implied that the problems may not be present in the 5.5 version.
I suggested the move to uml for netbeans 5.5 because:
- JSE8.1 is based on NetBeans 5.0 and is meant as a companion product for Java System Enterprise middleware.
- All the features in jse8.1 have now been moved to opensource and are being developed against latest versions of NetBeans there. This is where future versions of the modules will be avialable from.
- Being an opensource product, it gives users better opportunities to be involved in the product development. You can even take a look at the uml module sources, build them and debug them.
# 6
Please do not try to install the NetBeans 5.5 UML Module on JSE 8.1 because they are not compatible since JSE 8.1 is based on NetBeans 5.0 while NetBeans 5.5 UML is based on NetBeans 5.5. If after you uninstalled and reinstalled JSE 8.1 in your case, you might have installed the NetBeans 5.5 UML as a local installation so that it stays in your JSE 8.1's userdir and might not get uninstalled when you uninstalled JSE 8.1. In this case after you reinstalled JSE 8.1, you might want to rename your JSE 8.1's userdir (or delete it if nothing important) before starting JSE 8.1 again or start JSE 8.1 in a new userdir.
On the other side, the NetBeans 5.5 UML Module includes everything (except Rose Import) from JSE 8.1 and some bug fixes as well. I think a few bugs were fixed in the sequence diagrams too so the sequence diagram is more stable than the one in JSE 8.1.
You can install both JSE 8.1 and NetBeans 5.5 side by side without any problem. Once you have NetBeans 5.5 installed, you can go to the update center to download and install the UML Module there.