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.
JavaFX_NB_Plugin_Franca_NB_65_fixes_promoted_SDK_installer: #16 24-Jan-2009 01:21:44 Product Version = NetBeans IDE 6.5 (Build 200901231801) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_12-ea; Java HotSpot(TM) Client VM 11.2-b01; Sun Microsystems Inc. Steps to reproduce: - Create a JavaFX Script project - Go to the project properties - Select Run-> Run in Browser - Select Application -> Self Signed Jar - Run the project - Run the project the send time There is a message in the output file: init: deps-jar: keytool error: java.lang.Exception: Key pair not generated, alias <key1> already exists
does it fail ?
No, it does not. init: deps-jar: keytool error: java.lang.Exception: Key pair not generated, alias <key1> already exists Warning: The signer certificate will expire within six months. compile: jar: standard-run: browser-run: Browsing: http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/andromeda/My+Documents/NetBeansProjects/temp/07/JavaFXApplication7/dist//JavaFXApplication7.html jws-run: midp-run: run: BUILD SUCCESSFUL (total time: 2 seconds)
The message is from the keytool, it is valid as the key already exists and cannot be easily filtered out. Detection for of the already existing key would require several subsequent executions of the keytool and that would cause performance regression.
This is not message from JavaFx Project build system but rather JavaFX Pacakger.
See JIRA issue: keytool error: java.lang.Exception: Key pair not generated, alias <key1> already exists http://javafx-jira.kenai.com/browse/APP-2674
There is the comment from the JIRA issue APP-2674 http://javafx-jira.kenai.com/browse/APP-2674 ------------------------------------------------------- The bug was not reproducible outside of Netbeans. Further study revealed that this is a bug filed on the Netbeans issue tracker. The URL for the "key-pair" issue is pasted below. -------------------------------------------------------
We are not checking if the keypair already exists. It is pretty complicated to do the check during the build time. If it does not cause build to fail then it is just annoying message in the log.
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.