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 122157 - [Web Start] Can't start the application second time in some cases
Summary: [Web Start] Can't start the application second time in some cases
Status: VERIFIED INVALID
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexey Butenko
URL:
Keywords:
: 132553 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-16 14:55 UTC by Alexandr Scherbatiy
Modified: 2011-10-19 12:01 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 Alexandr Scherbatiy 2007-11-16 14:55:09 UTC
Steps to reproduce:

- Create a JavaFX project
- Create a JavaFX file:
---------------------------------------------------------
import javafx.ui.*;

Frame{
    
    content: Label{
        text: "Hello World!"
    }
    visible: true
}
---------------------------------------------------------

- Enable the Web Start
- Run the project

- Close the started application
- Run the application again
The application is not started:
 
- Try to clean the project
  The project can't delete a dist directory:
---------------------------------------------------------------------------
build-impl.xml:615: Unable to delete file JavaFXApplication\dist\JavaFXApplication7.jar
BUILD FAILED (total time: 1 second)
---------------------------------------------------------------------------
Comment 1 Alexey Butenko 2007-11-22 08:49:55 UTC
It works for me, please provide the exact steps to reproduce
Comment 2 Alexandr Scherbatiy 2007-11-22 10:42:21 UTC
The process still exists (it is shown on the right bottom corner of IDE)
when I close the application. So the application does not start the second time
because the dist directory can't be deleted. 
I can manually kill the process but it does not help. 
 
Comment 3 Alexey Butenko 2007-11-26 14:15:40 UTC
After closing application, the last message in verbose output is
java.awt.EventDispatchThread$StopDispatchEvent,
so somehow awt Thread doesn't stopped.
Comment 4 Alexey Butenko 2007-11-29 12:03:56 UTC
When run jnlp outside IDE, the process still exist, after application closed
Comment 5 Alexey Butenko 2008-04-15 14:56:32 UTC
Not reproduced anymore
Comment 6 Alexey Butenko 2008-04-15 15:33:15 UTC
*** Issue 132553 has been marked as a duplicate of this issue. ***
Comment 7 Alexandr Scherbatiy 2008-04-16 09:54:24 UTC
The issue is still reproduced.
OS Windows XP.
Comment 8 Alexey Butenko 2008-04-23 13:11:55 UTC
process exist because not defined onClose operation for Frames.
In Java for Frames there is setDefaultCloseOperation used automatically, the same functionality should be implemented in JavaFX.
Comment 9 _ tball 2008-04-23 14:59:30 UTC
Frames aren't an FX language issue, they are a UI runtime issue.  File an issue with the Reprise team.
Comment 10 Alexandr Scherbatiy 2008-04-25 10:21:04 UTC
The JFXC-1146 issue has been created
http://openjfx.java.sun.com/jira/browse/JFXC-1146
Comment 11 Alexey Butenko 2008-04-25 10:31:12 UTC
Thus it is not an FX issue
Comment 12 Alexandr Scherbatiy 2008-06-06 11:51:15 UTC
verified
Comment 13 David Strupl 2011-10-19 12:01:22 UTC
Cleaning bugzilla categories ....