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 138457 - Applet is not run
Summary: Applet is not run
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Deployment (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-06-27 10:14 UTC by Alexandr Scherbatiy
Modified: 2008-07-02 11: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 Alexandr Scherbatiy 2008-06-27 10:14:54 UTC
JavaFX Script plugin: 2008-06-27_02-01-48.zip 

Steps to reproduce:

- Create a JavaFX Script Applet:

------------------------------------------
import javafx.application.Application;
import javafx.ext.swing.Label;

Application{
    content: Label{ text: "Application content"}
} 
------------------------------------------

- Invoke Run Applet from popup menu
  There is an exception in the output:

run-applet:
java.lang.NullPointerException
        at com.sun.javafx.runtime.Entry.deferTask(Entry.java:79)
        at com.sun.javafx.runtime.Entry.deferTask(Entry.java:69)
        at javafx.lang.DeferredTask.postInit$(DeferredTask.fx:41)
        at javafx.lang.DeferredTask.initialize$(DeferredTask.fx:33)
        at javafx.application.Applet.init(Applet.fx:78)
        at sun.applet.AppletPanel.run(AppletPanel.java:424)
        at java.lang.Thread.run(Thread.java:619)
Comment 1 Alexey Butenko 2008-06-27 11:16:17 UTC
It is compiler issue, please fill the bug into JIRA.
Comment 2 Alexandr Scherbatiy 2008-06-27 12:36:05 UTC
I tried to run the applet with the latest compiler libraries and it works.
Comment 3 Andrey Yamkovoy 2008-06-30 16:47:03 UTC
Not reproducible with the latest runtime.
Looks like was fixed in the runtime.
Comment 4 Alexandr Scherbatiy 2008-07-02 11:42:06 UTC
verified