java.lang.NullPointerException

Oracle Community | 807577 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Paint(Graphics g) method problem

    Oracle Community | 1 decade ago | 807577
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at Kmeans.update()
    2. Unknown
      Kmeans.paint
      1. Kmeans.update(Kmeans.java:468)
      2. Kmeans.paint(Kmeans.java:520)
      2 frames
    3. Java RT
      JComponent.paint
      1. javax.swing.JComponent.paintChildren(JComponent.java:523)
      2. javax.swing.JComponent.paint(JComponent.java:748)
      3. javax.swing.JComponent.paintChildren(JComponent.java:523)
      4. javax.swing.JComponent.paint(JComponent.java:748)
      4 frames