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 94437 - AssertionError when undoing the drop of a component on java source
Summary: AssertionError when undoing the drop of a component on java source
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Craig Mcclanahan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 18:26 UTC by bugbridge
Modified: 2007-02-05 18:26 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2007-02-05 18:26:40 UTC
Original status: 1-Dispatched; Suggested Status: NEW

Original Target Release: mako_dev; Suggested Target Milestone : Dev


Original submitter: sjangity

Description:
050531_3, WinXp

[Note]
We had a Reef customer bug (6181397) that made this feature (ability to drag
components onto java source to drop their id's) possible, so its important to
get this fixed for FCS.

[Steps]
1 - Drop BH->button onto designer
2 - Switch to java source view
3 - Drag/drop button from Outline into java source editor
4 - Ctrl+z (undo) the drop
5 - Switch back to the design view and the following error occurs:

*********** Exception occurred ************ at 2:14 PM on May 31, 2005
java.lang.AssertionError: sourceElement XhtmlElement[ui:form], id=form1 has a
designbean ([FacesDesignBean instanceName:form1 xxx@xxxx different from bean
[FacesDesignBean instanceName:form1 xxx@xxxx
	at com.sun.rave.css2.CssBox.<init>(CssBox.java:271)
	at com.sun.rave.css2.ContainerBox.<init>(ContainerBox.java:64)
	at com.sun.rave.css2.BoxFactory.createBox(BoxFactory.java:189)
	at com.sun.rave.css2.BoxFactory.create(BoxFactory.java:39)
	at com.sun.rave.css2.ContainerBox.addNode(ContainerBox.java:424)
	at com.sun.rave.css2.ContainerBox.createChildren(ContainerBox.java:349)
	at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:104)
	at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:179)
	at com.sun.rave.css2.PageBox.layout(PageBox.java:446)
	at com.sun.rave.css2.PageBox.paint(PageBox.java:160)
	at com.sun.rave.css2.PageBox.paint(PageBox.java:140)
	at com.sun.rave.designer.DesignerPaneUI.paintSafely(DesignerPaneUI.java:642)
	at com.sun.rave.designer.DesignerPaneUI.paint(DesignerPaneUI.java:806)
	at com.sun.rave.designer.DesignerPaneUI.update(DesignerPaneUI.java:784)
	at javax.swing.JComponent.paintComponent(JComponent.java:541)
	at com.sun.rave.designer.DesignerPane.paintComponent(DesignerPane.java:169)
	at javax.swing.JComponent.paint(JComponent.java:808)
	at javax.swing.JComponent.paintChildren(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JViewport.paint(JViewport.java:722)
	at javax.swing.JComponent.paintChildren(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JComponent.paintChildren(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JComponent.paintChildren(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
	at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
	at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
	at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

xxx@xxxx 2005-05-31 21:22:39 GMT