Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8114157

getFontNames throws Runtime Exception

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: fx2.0
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      Win 7 32 bit , FX 2.0 , b38

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                prr Philip Race
                Reporter:
                srikchan Srikalyan Chandrashekar (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: