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 149006 - converting NB 6.1 class diagram popped up AssertionError indefinitely
Summary: converting NB 6.1 class diagram popped up AssertionError indefinitely
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sergey Petrov
URL:
Keywords: REGRESSION
Depends on: 149007
Blocks:
  Show dependency tree
 
Reported: 2008-10-02 21:25 UTC by Peter Lam
Modified: 2008-10-04 09:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log file (315.87 KB, text/plain)
2008-10-02 21:26 UTC, Peter Lam
Details
nb 6.1 uml project (190.82 KB, application/x-compressed)
2008-10-02 21:27 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2008-10-02 21:25:53 UTC
build 20081002

- Download, unpack and open the attached NB 6.1 UML project. 
- Expand the Diagrams node
- Open the first diagram ok
- Open the 2nd (class) diagram got the following error popped up. The error could not be closed and it continuously
coming up until ide is exited. See attached ide log file.

java.lang.AssertionError: Scene.validate was not called after last change. Widget is not validated. See first Q/A at
http://graph.netbeans.org/faq.html page.
	at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:307)
	at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:316)
	at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:316)
	at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:279)
	at org.netbeans.api.visual.widget.SceneComponent.mouseEntered(SceneComponent.java:159)
	at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:282)
	at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:282)
	at java.awt.Component.processMouseEvent(Component.java:6050)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
Comment 1 Peter Lam 2008-10-02 21:26:23 UTC
Created attachment 71078 [details]
ide log file
Comment 2 Peter Lam 2008-10-02 21:27:50 UTC
Created attachment 71079 [details]
nb 6.1 uml project
Comment 3 Sergey Petrov 2008-10-02 21:34:33 UTC
this one looks to be second regression caused by changes in connection widget layout to provide not overlapping labels.
Comment 4 Sergey Petrov 2008-10-03 09:44:27 UTC
was caused by bend points support and was reproducible for cased where connections with labels exist and do not have
bend points.
fixed http://hg.netbeans.org/uml-main/rev/af09b63f5616
Comment 5 Trey Spiva 2008-10-03 18:11:04 UTC
Reviewed
Comment 6 Peter Lam 2008-10-03 23:48:00 UTC
verified in build 20081003
Comment 7 Quality Engineering 2008-10-04 09:25:18 UTC
Integrated into 'main-golden', will be available in build *200810040600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/af09b63f5616
User: sergeyp@netbeans.org
Log: fix #149006 some default bend points are created for cases when no info in 6.1 file