-
Bug
-
Resolution: Fixed
-
P2
-
7u25, 8
-
b38
-
windows_7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8022132 | 8 | Leonid Romanov | P2 | Closed | Fixed | b103 |
JDK-8023036 | 7u60 | Leonid Romanov | P2 | Resolved | Fixed | b01 |
JDK-8022713 | 7u51 | Leonid Romanov | P2 | Resolved | Fixed | b01 |
JDK-8022566 | 7u45 | Leonid Romanov | P2 | Resolved | Fixed | b06 |
FULL PRODUCT VERSION :
Java Plug-in 10.25.2.17
Using JRE version 1.7.0_25-b17 Java HotSpot(TM) 64-Bit Server VM
ADDITIONAL OS VERSION INFORMATION :
Windows 7
A DESCRIPTION OF THE PROBLEM :
JavaFX scene included in Swing JDialog not starting from Web Start
REGRESSION. Last worked in version 7u25
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.lang.NullPointerException
at javax.swing.SwingUtilities.appContextGet(SwingUtilities.java:1861)
at javax.swing.JComponent.getDefaultLocale(JComponent.java:2775)
at javax.swing.JComponent.<init>(JComponent.java:600)
at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:197)
at error.Error.start(Error.java:26)
at com.sun.javafx.applet.FXApplet2$1.run(FXApplet2.java:132)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
at java.lang.Thread.run(Thread.java:724)
Exception in runnable
java.lang.RuntimeException: java.lang.NullPointerException
at com.sun.javafx.applet.FXApplet2$1.run(FXApplet2.java:148)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.NullPointerException
at javax.swing.SwingUtilities.appContextGet(SwingUtilities.java:1861)
at javax.swing.JComponent.getDefaultLocale(JComponent.java:2775)
at javax.swing.JComponent.<init>(JComponent.java:600)
at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:197)
at error.Error.start(Error.java:26)
at com.sun.javafx.applet.FXApplet2$1.run(FXApplet2.java:132)
... 8 more
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class Error extends Application {
@Override
public void start(Stage primaryStage) {
StackPane root = new StackPane();
final Scene scene = new Scene(root, 800, 650);
final JFXPanel fxPanel = new JFXPanel();
JDialog jDialog = new JDialog();
jDialog.add(fxPanel);
Platform.runLater(new Runnable() {
@Override
public void run() {
fxPanel.setScene(scene);
}
});
}
public static void main(String[] args) {
launch(args);
}
}
---------- END SOURCE ----------
Java Plug-in 10.25.2.17
Using JRE version 1.7.0_25-b17 Java HotSpot(TM) 64-Bit Server VM
ADDITIONAL OS VERSION INFORMATION :
Windows 7
A DESCRIPTION OF THE PROBLEM :
JavaFX scene included in Swing JDialog not starting from Web Start
REGRESSION. Last worked in version 7u25
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.lang.NullPointerException
at javax.swing.SwingUtilities.appContextGet(SwingUtilities.java:1861)
at javax.swing.JComponent.getDefaultLocale(JComponent.java:2775)
at javax.swing.JComponent.<init>(JComponent.java:600)
at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:197)
at error.Error.start(Error.java:26)
at com.sun.javafx.applet.FXApplet2$1.run(FXApplet2.java:132)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
at java.lang.Thread.run(Thread.java:724)
Exception in runnable
java.lang.RuntimeException: java.lang.NullPointerException
at com.sun.javafx.applet.FXApplet2$1.run(FXApplet2.java:148)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.NullPointerException
at javax.swing.SwingUtilities.appContextGet(SwingUtilities.java:1861)
at javax.swing.JComponent.getDefaultLocale(JComponent.java:2775)
at javax.swing.JComponent.<init>(JComponent.java:600)
at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:197)
at error.Error.start(Error.java:26)
at com.sun.javafx.applet.FXApplet2$1.run(FXApplet2.java:132)
... 8 more
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class Error extends Application {
@Override
public void start(Stage primaryStage) {
StackPane root = new StackPane();
final Scene scene = new Scene(root, 800, 650);
final JFXPanel fxPanel = new JFXPanel();
JDialog jDialog = new JDialog();
jDialog.add(fxPanel);
Platform.runLater(new Runnable() {
@Override
public void run() {
fxPanel.setScene(scene);
}
});
}
public static void main(String[] args) {
launch(args);
}
}
---------- END SOURCE ----------
- backported by
-
JDK-8022566 JavaFX scene included in Swing JDialog not starting from Web Start
- Resolved
-
JDK-8022713 JavaFX scene included in Swing JDialog not starting from Web Start
- Resolved
-
JDK-8023036 JavaFX scene included in Swing JDialog not starting from Web Start
- Resolved
-
JDK-8022132 JavaFX scene included in Swing JDialog not starting from Web Start
- Closed
- duplicates
-
JDK-8021371 lookupPrintServices NullPointerException in trusted JavaFX applet
- Closed
-
JDK-8022894 JavaFX / Swing app not starting from WebStart when Swing initialized first
- Closed
(1 duplicates)