This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | IDE hangs after drawing navigable aggregation link to 'java.lang.Class' Datatype | ||
---|---|---|---|
Product: | uml | Reporter: | Alexandr Scherbatiy <sunflower> |
Component: | Synchronization | Assignee: | Kris Richards <krichard> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | REGRESSION |
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Hanging IDE snapshot
Actions before hanging of IDE (Information Logging is enabled) Actions after hanging of IDE (Information Logging is enabled) |
Description
Alexandr Scherbatiy
2006-08-10 12:30:58 UTC
Created attachment 32753 [details]
Hanging IDE snapshot
sunflower: I'm curious. Do you not see the Navigable Association link on the diagram when you drag the java.lang.Class DataType onto the diagram? I see it. And I even add an additional NavAggr link from MyClass to Class datatype and it works fine. I noticed that there is a duplicate DataType element at the root package level in the UML project. I dragged that to the diagram and added NavAgg from MyClass to it and it still did not hang. I am using WinXP. What OS are you testing on? Solaris I assume? I assigned this issue to you. Just reassigned back to me (conover) when you reply. Thanks. I can't reproduce either using jdk 1.6 (I assume that's what you use) on WinXP, Linux FC3, Solaris 10 sparc, and MacOS ppc. I tried a few times on each platform and I didn't see any ide hang at all. It seems like there is an issue with threads... For me on milestone17 this bug is always reproducible on two computerns, rarely reproducible on the third and 50/50 on the fourth. And on the fourth I have different errors from time to time. Like UML attempt to remove associated methods or NPE. And on milestone m17a bug is not reproducible on the box where it was 100% reproducible on m17. Will retry with 17a and update comments. Hi Conover, I want to add the second aggregation link between class and datatype to make one more attributes in my class. If I have some attributes with the same types that means that they all will be connected to the same datatype. The issue is still reproduced. Please, have a look at attached log_1.txt and log_2.txt files. I enabled UML information logging. So these files have all information what I did. My IDE was hanging for 9 minutes according to the log files. Created attachment 32883 [details]
Actions before hanging of IDE (Information Logging is enabled)
Created attachment 32884 [details]
Actions after hanging of IDE (Information Logging is enabled)
This was fixed as a result of the new reverse engineering code. (tested against jdk1.5) verified in all-nbms-griffin-061015. To be sure have tried similar usecases with current RE/CodeGen. |