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 104987

Summary: CreateSatelliteView throws Assertion error.
Product: platform Reporter: Karthikeyan S <karthik_s>
Component: GraphAssignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker CC: karthik_s
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Karthikeyan S 2007-05-29 05:13:04 UTC
I am trying to integrate the satellite view with  the navigator 
panel. I have an editor associated with my data object. When I open the 
editor the first time, I will parse the model and generate the graph. At 
this point, navigator view is also shown. I am getting the following 
exception.

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.Widget.paint(Widget.java:1082)
    at org.netbeans.api.visual.widget.Widget.paintChildren(Widget.java:1158)
    at org.netbeans.api.visual.widget.Widget.paint(Widget.java:1106)
    at org.netbeans.api.visual.widget.Scene.paint(Scene.java:197)
    at 
org.netbeans.modules.visual.widget.SatelliteComponent.paint(SatelliteComponent.java:78)
    at javax.swing.JComponent.paintChildren(JComponent.java:843)
    at javax.swing.JComponent.paint(JComponent.java:1015)
    at javax.swing.JComponent.paintChildren(JComponent.java:843)
    at javax.swing.JComponent.paint(JComponent.java:1015)
    at javax.swing.JComponent.paintChildren(JComponent.java:843)
    at javax.swing.JComponent.paint(JComponent.java:1015)
    at javax.swing.JComponent.paintChildren(JComponent.java:843)
    at javax.swing.JComponent.paint(JComponent.java:1015)
    at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972)
    at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925)
    at javax.swing.JComponent._paintImmediately(JComponent.java:4868)
    at javax.swing.JComponent.paintImmediately(JComponent.java:4675)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
[catch] at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 David Kaspar 2007-05-29 15:16:42 UTC
Additional comments in:
http://graph.netbeans.org/servlets/ReadMsg?list=users&msgNo=620