java.lang.NullPointerException: peer

Coderanch | Chris Spiking | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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