java.lang.ClassCastException: java.io.PrintStream

Oracle Community | 3004 | 2 decades 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

    debugging

    Oracle Community | 2 decades ago | 3004
    java.lang.ClassCastException: java.io.PrintStream

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.io.PrintStream

      at com.hughesorama.KodoTest.MyClass.<init>()
    2. com.hughesorama.KodoTest
      MyClass$TEST.setUp
      1. com.hughesorama.KodoTest.MyClass.<init>(Unknown Source)
      2. com.hughesorama.KodoTest.MyClass$TEST.setUp(Unknown Source)
      2 frames
    3. JUnit
      TestCase.runBare
      1. junit.framework.TestCase.runBare(TestCase.java:138)
      1 frame