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 89912 - Two instances of Move class dialog opened at once
Summary: Two instances of Move class dialog opened at once
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-23 06:58 UTC by Jiri Skrivanek
Modified: 2007-04-03 18:02 UTC (History)
1 user (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 Jiri Skrivanek 2006-11-23 06:58:03 UTC
The commit validation test suite randomly fails because two instances of the
"Move Class" dialog are opened at once. The test does the copy action on a class
node and the paste action on a package node.

org.netbeans.core.windows.services.NbDialog[dialog10,257,260,510x248,invalid,hidden,layout=java.awt.BorderLayout,modal,title=Move
Class,defaultCloseOperation=DISPOSE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,510x248,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
   
org.netbeans.core.windows.services.NbDialog[dialog9,257,260,510x248,invalid,layout=java.awt.BorderLayout,modal,title=Move
Class,defaultCloseOperation=DISPOSE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,510x248,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]

http://deadlock.nbextras.org/hudson/job/trunk/1157/artifact/xtest/instance/results/testrun_061122-214216/testbag_4/user/validation.IDEValidation/testProjectsView/jemmy.log
http://deadlock.nbextras.org/hudson/job/trunk/1157/artifact/xtest/instance/results/testrun_061122-214216/testbag_4/user/validation.IDEValidation/testProjectsView/screen.png
Comment 1 Jan Becicka 2006-11-23 07:31:56 UTC
Commit validation fixed.

Checking in IDEValidation.java;
/cvs/ide/test/qa-functional/src/validation/IDEValidation.java,v  <-- 
IDEValidation.java
new revision: 1.172; previous revision: 1.171
done

I cannot reproduce those 2 dialogs. Please reopen the issue as soon as you have
steps to reproduce.
Comment 2 Jiri Skrivanek 2006-11-23 07:47:43 UTC
I realized that paste action was called twice. It happens because of
commenting/uncommenting parts of the test during retouche merge. Now it should work.

/cvs/ide/test/qa-functional/src/validation/IDEValidation.java,v  <-- 
IDEValidation.java
new revision: 1.173; previous revision: 1.172