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 201851 - Applet and Webstart artifacts generated for sample javaFX project fail to run
Summary: Applet and Webstart artifacts generated for sample javaFX project fail to run
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Deployment (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Petr Somol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 18:07 UTC by joemcglynn
Modified: 2011-09-14 17:42 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 joemcglynn 2011-09-08 18:07:51 UTC
Using NetBeans IDE 7.1 Build 201109070600, JDK7u27 and JavaFX B45

1. Set up new platform using JavaFX
2. Create new JavaFX project
3. Run -> OK
4. Clean & build -> OK
5. Double click on generated HTML or JNLP files from windows explorer

//exp: Runs
//act: Fails with error (log file attached)
Comment 1 Anton Chechel 2011-09-08 21:09:50 UTC
I don't see log attached but I can reproduce it though. I have:

===
...
Got ErrorEvent[url=file:/E:/Projects/Sandbox/JavaFXApplication7/dist/JavaFXApplication7.jnlp label=Found unsigned entry in resource: file:/E:/Projects/Sandbox/JavaFXApplication7/dist/JavaFXApplication7.jar cause=Found unsigned entry in resource: file:/E:/Projects/Sandbox/JavaFXApplication7/dist/JavaFXApplication7.jar
===

We didn't implement signing yet. I think will fix it at Monday.
Comment 2 joemcglynn 2011-09-08 21:29:47 UTC
the cause is in nbproject/jfx-impl.xml elevated permissions are requested even though this option isn't checked on the deployment properties page

<permissions elevated="true"/> does not match properties settings.
Comment 3 joemcglynn 2011-09-14 16:51:00 UTC
This is still true in the latest build:
NetBeans IDE Build 201109132156
Comment 4 Anton Chechel 2011-09-14 17:42:49 UTC
fixed
http://hg.netbeans.org/jet-main/rev/01e46c26fc32