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 258556 - NullPointerException at javafx.embed.swing.JFXPanel.paintComponent
Summary: NullPointerException at javafx.embed.swing.JFXPanel.paintComponent
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-28 16:02 UTC by athompson
Modified: 2016-05-17 11:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 223216


Attachments
stacktrace (3.55 KB, text/plain)
2016-03-28 16:02 UTC, athompson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description athompson 2016-03-28 16:02:50 UTC
Build: NetBeans IDE Dev (Build 201603280001)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.9.0-ea-b93, Java(TM) SE Runtime Environment, 1.9.0-ea-b93
OS: Mac OS X

User Comments:
athompson: deployed web app




Stacktrace: 
java.lang.NullPointerException
   at javafx.embed.swing.JFXPanel.paintComponent(JFXPanel.java:669)
   at javax.swing.JComponent.paint(JComponent.java:1056)
   at javax.swing.JComponent.paintChildren(JComponent.java:889)
   at javax.swing.JComponent.paint(JComponent.java:1065)
   at javax.swing.JComponent.paintChildren(JComponent.java:889)
   at javax.swing.JComponent.paint(JComponent.java:1065)
Comment 1 athompson 2016-03-28 16:02:52 UTC
Created attachment 159023 [details]
stacktrace
Comment 2 Martin Entlicher 2016-05-17 10:18:19 UTC
scenePeer is null, but there is a check for this value.
That means that someone had to call setEmbeddedScene() asynchronously, off the event thread. This might be a result of interference of two toolkits: AWT and FX.
Comment 3 Martin Entlicher 2016-05-17 11:43:39 UTC
https://bugs.openjdk.java.net/browse/JDK-8089841 is consistent with my findings.