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

NPE with createGlyphVector if composite not yet initialised

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • client-libs
    • 2d
    • b38
    • sparc
    • solaris_9

      The new regression test EmptyGlyphContours.java is failing because of an NPE
      % java EmptyGlyphContours
      Exception in thread "main" java.lang.NullPointerException
      at sun.font.CompositeFont.getValidatedGlyphCode(CompositeFont.java:353)
      at sun.font.StandardGlyphVector.getValidatedGlyphs(StandardGlyphVector.java:963)
      at sun.font.StandardGlyphVector.<init>(StandardGlyphVector.java:189)
      at java.awt.Font.createGlyphVector(Font.java:2168)
      at EmptyGlyphContours.main(EmptyGlyphContours.java:22)

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: