java.lang.NullPointerException

Coderanch | Larissa Perkins | 2 years 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

    NullPointerExceptions on first attempt at JButtons

    Coderanch | 2 years ago | Larissa Perkins
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at blackjackControls.GameConsole.userTurn()
    2. blackjackControls
      ResultPanel$1.actionPerformed
      1. blackjackControls.GameConsole.userTurn(GameConsole.java:163)
      2. blackjackControls.ResultPanel$1.actionPerformed(ResultPanel.java:34)
      2 frames
    3. Java RT
      AbstractButton.fireActionPerformed
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
      1 frame