java.lang.NullPointerException: peer

Coderanch | Chris Spiking | 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

    NullPointerException: peer

    Coderanch | 1 decade ago | Chris Spiking
    java.lang.NullPointerException: peer

    Root Cause Analysis

    1. java.lang.NullPointerException

      peer

      at sun.awt.windows.WCanvasPeer.create()
    2. Java RT
      JComponent.addNotify
      1. sun.awt.windows.WCanvasPeer.create(Native Method)
      2. sun.awt.windows.WComponentPeer.<init>(WComponentPeer.java:370)
      3. sun.awt.windows.WCanvasPeer.<init>(WCanvasPeer.java:36)
      4. sun.awt.windows.WToolkit.createCanvas(WToolkit.java:280)
      5. java.awt.Canvas.addNotify(Canvas.java:71)
      6. java.awt.Container.addNotify(Container.java:1574)
      7. javax.swing.JComponent.addNotify(JComponent.java:3495)
      7 frames