Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P3
-
Resolution: Duplicate
-
Affects Version/s: fx2.0
-
Fix Version/s: None
-
Component/s: javafx
-
Labels:
-
Environment:
Win 7 32 bit , FX 2.0 , b38
-
Subcomponent:
Description
- Please see the attached test case.
- We are trying to load the fonts pertaining to a particular family and get the following Exception
*** checking family: Aharoni ***
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:202)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:17)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:55)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
at com.sun.t2k.T2KFontFactory.getFontFullNames(T2KFontFactory.java:863)
at com.sun.javafx.font.PrismFontLoader.getFontNames(PrismFontLoader.java:168)
at javafx.scene.text.Font.getFontNames(Font.java:106)
at javatest.getFamilies.start(getFamilies.java:34)
at com.sun.javafx.application.LauncherImpl$4.run(LauncherImpl.java:163)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:124)
at com.sun.javafx.application.PlatformImpl$3.run(PlatformImpl.java:100)
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$1$1.run(WinApplication.java:49)
... 1 more
Java Result: 1
- We are trying to load the fonts pertaining to a particular family and get the following Exception
*** checking family: Aharoni ***
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:202)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:17)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:55)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
at com.sun.t2k.T2KFontFactory.getFontFullNames(T2KFontFactory.java:863)
at com.sun.javafx.font.PrismFontLoader.getFontNames(PrismFontLoader.java:168)
at javafx.scene.text.Font.getFontNames(Font.java:106)
at javatest.getFamilies.start(getFamilies.java:34)
at com.sun.javafx.application.LauncherImpl$4.run(LauncherImpl.java:163)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:124)
at com.sun.javafx.application.PlatformImpl$3.run(PlatformImpl.java:100)
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$1$1.run(WinApplication.java:49)
... 1 more
Java Result: 1
Attachments
Issue Links
- duplicates
-
JDK-8113807 NullPointerException when no embedded fonts are found.
-
- Closed
-