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.

Bug 140377 - NPE and labels at scene 0-0 and some labels are missed
Summary: NPE and labels at scene 0-0 and some labels are missed
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Sequence (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ jyothivasa
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-07-16 18:03 UTC by Sergey Petrov
Modified: 2008-08-12 04:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project (190.82 KB, text/plain)
2008-07-16 18:05 UTC, Sergey Petrov
Details
seq diagram (108.83 KB, image/png)
2008-08-05 00:32 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2008-07-16 18:03:29 UTC
NPE and labels at scene 0-0 and some labels are missed after loading 6.1 diagram sequence diagram from attached project.
it's a regression from latest chnages in MovableLabel
Comment 1 Sergey Petrov 2008-07-16 18:05:16 UTC
Created attachment 64733 [details]
project
Comment 3 Trey Spiva 2008-07-23 18:36:21 UTC
Reviewed
Comment 4 Peter Lam 2008-08-05 00:31:14 UTC
verified in build 20080804. The interaction constraints for the combined fragments are still on the upper left corner.
See attached screenshot.
Comment 5 Peter Lam 2008-08-05 00:32:21 UTC
Created attachment 66539 [details]
seq diagram
Comment 6 Peter Lam 2008-08-05 00:37:47 UTC
No exception now. Hide and Show the constraints still show them in the default location as shown in the attached screenshot.
Comment 7 _ jyothivasa 2008-08-05 20:11:27 UTC
The main reason for the labels showing up at 0,0 in 6.1 diagram conversion is: TSDiagramConverter.java ::
handleNodeLabel :: proportionalOffset calculation is not implemented yet.
Comment 8 Sergey Petrov 2008-08-05 20:20:14 UTC
and may be will not be implemented at all, at least wasn't planned and may be too complex to implement.
so I really need a way to have ability to load labels in default location.
Comment 9 _ jyothivasa 2008-08-05 22:55:19 UTC
Ok. For TSImport purposes, we now load labels at default locations for combined fragments. Please NOTE that label
locations will NOT be preserved from TSDiagrams.
http://hg.netbeans.org/uml-main/rev/9cac6e507adf
Comment 10 Trey Spiva 2008-08-06 18:08:30 UTC
Reviewed
Comment 11 Peter Lam 2008-08-09 00:12:00 UTC
verified in build 20080807.
Comment 12 Quality Engineering 2008-08-12 04:16:06 UTC
Integrated into 'main-golden', available in build *200808120201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/9cac6e507adf
User: jyothivasa@netbeans.org
Log: Fix for #140377 - provided a workaround to load cf labels at default location