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.
Build : NB3.4Beta3 Steps to Reproduce : 1.Mount the Application directory(Java package) in the explorer window of IDE 2.Perform drag and drop action on 'Specify JAR Recipe Contents Wizard ' from 'Source' to 'Chosen Content' window. The following exception thrown on the console.The exception thrown should be caught instead. Exception: *********** Exception occurred ************ at Tue Jul 16 10:32:56 IST 2002 Annotation: Dragging in modal dialog is forbid! Danger: IDE could freeze during DnD in modal dialog. The heart of problem is investigating. java.lang.Throwable [catch] at org.openide.explorer.view.ExplorerDragSupport.dra gGestureRecognized(ExplorerDragSupport.java:113) at org.openide.explorer.view.TreeViewDragSupport.dra gGestureRecognized(TreeViewDragSupport.java:76) at java.awt.dnd.DragGestureRecognizer.fireDragGestur eRecognized(DragGestureRecognizer.java:339) at sun.awt.motif.MMouseDragGestureRecognizer.mouseDr agged(MMouseDragGestureRecognizer.java:204) at java.awt.AWTEventMulticaster.mouseDragged(AWTEven tMulticaster.java:258) at java.awt.AWTEventMulticaster.mouseDragged(AWTEven tMulticaster.java:257) at java.awt.Component.processMouseMotionEvent(Compon ent.java:5069) at javax.swing.JComponent.processMouseMotionEvent(JC omponent.java:2763) at java.awt.Component.processEvent(Component.java:48 22) at java.awt.Container.processEvent(Container.java:13 80) at java.awt.Component.dispatchEventImpl(Component.ja va:3526) at java.awt.Container.dispatchEventImpl(Container.ja va:1437) at java.awt.Component.dispatchEvent(Component.java:3 367) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:3214) at java.awt.LightweightDispatcher.processMouseEvent( Container.java:2946) at java.awt.LightweightDispatcher.dispatchEvent(Cont ainer.java:2859) at java.awt.Container.dispatchEventImpl(Container.ja va:1423) at java.awt.Window.dispatchEventImpl(Window.java:156 6) at java.awt.Component.dispatchEvent(Component.java:3 367) at java.awt.EventQueue.dispatchEvent(EventQueue.java :445) at java.awt.EventDispatchThread.pumpOneEventForHiera rchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarc hy(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEventsForHierarc hy(EventDispatchThread.java:134) at java.awt.Dialog.show(Dialog.java:524) at org.netbeans.core.NbPresenter.superShow(NbPresent er.java:688) at org.netbeans.core.NbPresenter.run(NbPresenter.jav a:721) at org.openide.util.Mutex.doEventAccess(Mutex.java:9 17) at org.openide.util.Mutex.readAccess(Mutex.java:161) at org.netbeans.core.NbPresenter.show(NbPresenter.ja va:702) at org.openide.loaders.TemplateWizard.instantiateImp l(TemplateWizard.java:490) at org.openide.loaders.TemplateWizard.instantiate(Te mplateWizard.java:423) at org.openide.actions.NewTemplateAction$TemplateAct ionListener.acceptNodes(NewTemplateAction.java:25 6) at org.openide.explorer.view.MenuView$MenuItem.doCli ck(MenuView.java:441) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Ba sicMenuItemUI.java:1092) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInput Handler.mouseReleased(BasicMenuItemUI.java:932) at java.awt.Component.processMouseEvent(Component.ja va:5021)
the exception is intentional. DnD in modal dialogs freezes the JVM in JDK 1.4.0. We detect the situation, log it and don't allow DnD. This is a bug in JDK which has been fixed for 1.4.1.
Fixed in 3.4, duplicate of 22618. *** This issue has been marked as a duplicate of 22618 ***
Target milestone was changed from '3.4' to TBD.
Resolved for 3.4.x or earlier, no new info since then -> verified.
Resolved for 3.4.x or earlier, no new info since then -> closing.