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.
Summary: | The finish button should be disabled after the first click | ||
---|---|---|---|
Product: | installer | Reporter: | dlipin <dlipin> |
Component: | Code | Assignee: | Yulia Novozhilova <ynov> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | ahagopian |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
dlipin
2007-09-13 14:06:41 UTC
*** Issue 118110 has been marked as a duplicate of this issue. *** evaluation: 1) the user first time click 'next' 2) The action listener (SwingFrameContainer.initComponents():~336, contentPane.getNextButton().addActionListener) catches the event 3) It invokes currentUi.evaluateNextButtonClick() that should move to the next wizard component 4) It invokes WizardPanel.evaluateNextButtonClick():215 and do component.getWizard().next() (:220) in it 5) FinilizeRegistryAction starts executing (in background - since it has no UI) 6) The user click 'next' one more time 7) The listener (point 2) catches the event 8) Makes points 3 and 4 9) Wizard.next() moves to line 'else if (parent != null) {' since no more components are available at the same sequence level 10) Then Wizard.next():621 is invoking (final WizardComponent component = getNext();) 11) Since no next component is available in the sequence and no parent is available as well -> the Wizard.next() is reaching the statement 'finishHandler.finish();' 12) It executes (->Installer.finishHandler->System.exit()) whereas the FinalizeRegistryAction is still running 13) As the result, FRA is terminated somewhere in the middle.. The particular issue (data loss) has been fixed by Julya (I`ve checked it on the latest build). The separate issue would be filed against nbi/engine with the common scenario described as "evaluation". It would not occur in NetBeans 6.0 Installer but we should keep it in mind in future... *** Issue 120046 has been marked as a duplicate of this issue. *** *** Issue 122651 has been marked as a duplicate of this issue. *** |