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 4218 - Panel and JPanel cannot be pasted.
Summary: Panel and JPanel cannot be pasted.
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-10-05 21:58 UTC by Daniel Prusa
Modified: 2002-07-19 15:19 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 Daniel Prusa 1999-10-05 21:58:18 UTC
[IAN] Fixed???

In Form Editor copy Panel or JPanel, paste it somewhere. Nothing is pasted and following exception is thrown:

Exception occurred during event dispatching:
java.lang.NullPointerException:
	at com.netbeans.developer.modules.loaders.form.RADVisualContainer.getSubComponents(RADVisualContainer.java:129)
	at com.netbeans.developer.modules.loaders.form.FormManager2.addMouseAdapters(Compiled Code)
	at com.netbeans.developer.modules.loaders.form.FormManager2.addVisualComponent(FormManager2.java:655)
	at com.netbeans.developer.modules.loaders.form.RADComponentNode$RADPaste.paste(RADComponentNode.java:562)
	at org.openide.actions.PasteAction.performAction(PasteAction.java:110)
	at org.openide.actions.PasteAction$ActSubMenuModel.performActionAt(PasteAction.java:195)
	at org.openide.awt.Actions$SubMenuBridge$ISubActionListener.actionPerformed(Actions.java:469)
	at org.openide.awt.Actions$SubMenu.doClick(Actions.java:710)
	at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:674)
	at java.awt.Component.processMouseEvent(Compiled Code)
	at java.awt.Component.processEvent(Compiled Code)

	at java.awt.Container.processEvent(Compiled Code)
	at java.awt.Component.dispatchEventImpl(Compiled Code)
	at java.awt.Container.dispatchEventImpl(Compiled Code)
	at java.awt.Component.dispatchEvent(Compiled Code)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
	at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
	at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
	at java.awt.Container.dispatchEventImpl(Compiled Code)
	at java.awt.Window.dispatchEventImpl(Compiled Code)
	at java.awt.Component.dispatchEvent(Compiled Code)
	at java.awt.EventQueue.dispatchEvent(Compiled Code)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
Comment 1 Marek Grummich 2000-07-25 09:38:59 UTC
Priority is changed to P4 (normal).