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 140333 - Clock tutorial: Applet deployment freezes JRE and Mozilla
Summary: Clock tutorial: Applet deployment freezes JRE and Mozilla
Status: VERIFIED INVALID
Alias: None
Product: usersguide
Classification: Unclassified
Component: JavaFX (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Michal Skvor
URL:
Keywords: RELNOTE
Depends on:
Blocks:
 
Reported: 2008-07-16 15:45 UTC by Alexandr Scherbatiy
Modified: 2008-08-21 12:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Clock application (83.40 KB, application/octet-stream)
2008-07-16 15:46 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2008-07-16 15:45:55 UTC
Steps to reproduce:
  - Open the attached Clock demo
  - Build the project
  - Select clock.Applet.fx file
  - Invoke 'Run Applet'
    The applet opens in a Browser
  - Reload the applet
    Animation stops ( JRE is frozen )
  - Close the applet
    The Mozilla is frozen 

The root cause is JFXC-1531 Animation in Applet freezes JRE and Mozilla
http://openjfx.java.sun.com/jira/browse/JFXC-1531
Comment 1 Alexandr Scherbatiy 2008-07-16 15:46:37 UTC
Created attachment 64712 [details]
Clock application
Comment 2 Lark Fitzgerald 2008-07-16 20:40:17 UTC
I can not reproduce this using:
Product Version: NetBeans IDE 6.1 (Build 200805300101)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Installer build: NO
fx NB61 continuous plugin: 364

I was told this issue manifests itself if you have a old Java version.  Can you check?
Comment 3 Lark Fitzgerald 2008-07-16 20:46:27 UTC
Also, if you run this sample app on Mac, you get the following exception:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackages.sun.misc) 
Comment 4 Alexandr Scherbatiy 2008-07-17 12:50:22 UTC
> Also, if you run this sample app on Mac, you get the following exception:
> java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackages.sun.misc) 
See issue 138625 [Mac] AccessControlException when starting JavaFX Script applet
Comment 5 Lark Fitzgerald 2008-07-17 17:04:12 UTC
This is a JRE issue. Not only is JDK 1.6 needed, but also JRE 1.6 is required for the browser runtime.
Comment 6 Lark Fitzgerald 2008-07-17 19:01:31 UTC
Closing.
Comment 7 Alexandr Scherbatiy 2008-08-21 12:48:57 UTC
verified.
JRE 6u10 is required for the applet deployment.