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

NPE at javax.swing.text.PlainView.updateMetrics(PlainView.java:205)

XMLWordPrintable

      An intermittent NullPointerException is seen in a test system.
      JDK used: jdk8/1.8.0-40-b19

      It looks like updateMetrics() assumes that getContainer() always returns a valid instance but the method can and does return null.

      A Google search indicates there are other people who see NPE in that class at that line.

            aivanov Alexey Ivanov
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: