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 145592 - stackoverflow when select big node
Summary: stackoverflow when select big node
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@uml
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-08-29 15:55 UTC by Sergey Petrov
Modified: 2008-09-12 01:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2008-08-29 15:55:38 UTC
it's from recent changes in context palette.
create package and made it big enough to be not fully visible in diagram area.
deselect.
select.
stackoverflow:
java.lang.StackOverflowError
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4175)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4181)
	at javax.swing.JComponent.computeVisibleRect(JComponent.java:4202)
	at javax.swing.JComponent.getVisibleRect(JComponent.java:4217)
	at org.netbeans.modules.uml.drawingarea.util.Util.centerWidget(Util.java:234)
	at org.netbeans.modules.uml.drawingarea.util.Util.makeSureWidgetIsVisible(Util.java:217)
	at org.netbeans.modules.uml.drawingarea.palette.context.SwingPaletteManager.selectionChanged(SwingPaletteManager.java:152)
	at org.netbeans.modules.uml.drawingarea.palette.context.SwingPaletteManager.selectionChanged(SwingPaletteManager.java:120)
	at
org.netbeans.modules.uml.drawingarea.UMLDiagramTopComponent$SceneSelectionListener.selectionChanged(UMLDiagramTopComponent.java:1456)
	at org.netbeans.api.visual.model.ObjectScene.setSelectedObjects(ObjectScene.java:217)
	at org.netbeans.modules.uml.drawingarea.util.Util.centerWidget(Util.java:247)
	at org.netbeans.modules.uml.drawingarea.util.Util.makeSureWidgetIsVisible(Util.java:217)
	at org.netbeans.modules.uml.drawingarea.palette.context.SwingPaletteManager.selectionChanged(SwingPaletteManager.java:152)
	at org.netbeans.modules.uml.drawingarea.palette.context.SwingPaletteManager.selectionChanged(SwingPaletteManager.java:120)
	at
org.netbeans.modules.uml.drawingarea.UMLDiagramTopComponent$SceneSelectionListener.selectionChanged(UMLDiagramTopComponent.java:1456)
	at org.netbeans.api.visual.model.ObjectScene.setSelectedObjects(ObjectScene.java:217)
	at org.netbeans.modules.uml.drawingarea.util.Util.centerWidget(Util.java:247)
	at org.netbeans.modules.uml.drawingarea.util.Util.makeSureWidgetIsVisible(Util.java:217)
Comment 1 Sergey Petrov 2008-08-29 16:51:16 UTC
fixed with latest code
Comment 2 Peter Lam 2008-09-12 01:31:05 UTC
verified in build 20080911.