java.lang.ExceptionInInitializerError

Coderanch | Brian Bykenhaal | 3 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

    Object-Oriented Programming

    Coderanch | 3 years ago | Brian Bykenhaal
    java.lang.ExceptionInInitializerError
  2. 0

    Object-Oriented Programming

    Coderanch | 3 years ago | Brian Bykenhaal
    java.lang.ExceptionInInitializerError

    Root Cause Analysis

    1. java.lang.RuntimeException

      Uncompilable source code - class games.board.Mark is already defined in package games.board

      at games.board.Mark.<clinit>()
    2. games.board
      BoardGameTester.main
      1. games.board.Mark.<clinit>(Mark.java:15)
      2. games.board.Cell.<init>(Cell.java:10)
      3. games.board.Board.<init>(Board.java:16)
      4. games.board.BoardGameTester.main(BoardGameTester.java:17)
      4 frames