FontMetrics.getStringBounds() has thrown a NullPointerException

We found this prefix in 2 webpages.
MapChildren (2)Typical messages (1)TraceDetailed Map
  1. java.lang.NullPointerException
    1.   at java.awt.Font.getStringBounds()
    2.   at java.awt.FontMetrics.getStringBounds()
  1. Program it's OK but don't run!

    First:13 years ago
    Last:2 years ago
    Author:843810
  2. setDefaultLookAndFeelDecorated(boolean); ???????????

    First:14 years ago
    Last:2 years ago
    Author:807587
MessageNumber of crashes
<No message>2
  1. java.lang.NullPointerException
    1.   at java.awt.Font.getStringBounds()
    2.   at java.awt.FontMetrics.getStringBounds()