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 25848 - Drag and Drop action throws Exception in Console
Summary: Drag and Drop action throws Exception in Console
Status: CLOSED DUPLICATE of bug 22618
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-20 07:47 UTC by naveen
Modified: 2008-12-22 23:37 UTC (History)
2 users (show)

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 naveen 2002-07-20 07:47:32 UTC
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)
Comment 1 _ ttran 2002-07-21 22:58:34 UTC
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.
Comment 2 Jiri Rechtacek 2002-07-22 08:48:54 UTC
Fixed in 3.4, duplicate of 22618.

*** This issue has been marked as a duplicate of 22618 ***
Comment 3 Marek Grummich 2002-07-22 08:56:11 UTC
Target milestone was changed from '3.4' to TBD.
Comment 4 Marek Grummich 2002-07-22 09:01:21 UTC
Target milestone was changed from '3.4' to TBD.
Comment 5 Marek Grummich 2002-07-22 09:02:01 UTC
Target milestone was changed from '3.4' to TBD.
Comment 6 Marek Grummich 2002-07-22 09:05:44 UTC
Target milestone was changed from '3.4' to TBD.
Comment 7 Quality Engineering 2003-07-01 15:57:50 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 8 Quality Engineering 2003-07-01 16:27:12 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.