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 157445 - Project does not run in Browser and WebStart with Pack200 compression option
Summary: Project does not run in Browser and WebStart with Pack200 compression option
Alias: None
Product: javafx
Classification: Unclassified
Component: Deployment (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Adam Sotona
Keywords: RELNOTE
Depends on:
Reported: 2009-01-26 14:41 UTC by Alexandr Scherbatiy
Modified: 2009-04-28 14:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-01-26 14:41:08 UTC
JavaFX_NB_Plugin_Franca_NB_65_fixes_promoted_SDK_installer: JavaFX SDK Promoted Build b03

  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.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_12-ea-b03

Steps to reproduce:

- Create a JavaFX Script project
- Go to the project properties
- Select Run-> Run in Browser
- Select Application -> Self Signed Jar
- Select Application -> Pack200 Compression
- Run the project

There is an error when the project starts in the Browser

JNLPException[category: Security Error : Exception: null : LaunchDesc: 
<jnlp spec="1.0+"
    <shortcut online="true">
  <update check="timeout" policy="always"/>
    <java version="1.5+"/>
    <property name="jnlp.packEnabled" value="true"/>
    <property name="jnlp.versionEnabled" value="true"/>
name="JavaFX Runtime"/>
download="eager" main="true"/>
  <applet-desc name="JavaFXApplication2" main-class="com.sun.javafx.runtime.adapter.Applet"
width="200" height="200">
    <param name="MainJavaFXScript" value="javafxapplication2.Main"/>
</jnlp> ]
	at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
	at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
	at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
	at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$ Source)
	at Source)
Comment 1 Adam Sotona 2009-01-29 16:39:30 UTC
The described case works for me.
This pretty much depends on your JNLP / JDK / Browser configuration.
Please fill an issue into JIRA on JavaFX Deployment is happens again.
Comment 2 Alexandr Scherbatiy 2009-02-05 10:46:51 UTC
It is reproduced on Windows XP and Vista with JDK 6u12
Comment 3 Adam Sotona 2009-02-05 11:17:56 UTC
From my experience with JDK6u12 - it seems to be the reason.
Please report such issues (which work with u11 and doesn't with u12) on JDK, thanks.
Comment 4 Alexandr Scherbatiy 2009-04-28 14:03:18 UTC