java.lang.ClassCastException: $Proxy1

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

    Failed to run jaas sample client in wls61 example

    Oracle Community | 2 decades ago | 3004
    java.lang.ClassCastException: $Proxy1

    Root Cause Analysis

    1. java.lang.ClassCastException

      $Proxy1

      at examples.security.jaas.SampleAction.run()
    2. examples.security.jaas
      SampleAction.run
      1. examples.security.jaas.SampleAction.run(SampleAction.java:61)
      1 frame
    3. Java RT
      Subject.doAs
      1. javax.security.auth.Subject.doAs(Subject.java:80)
      1 frame
    4. examples.security.jaas
      SampleClient.main
      1. examples.security.jaas.SampleClient.main(SampleClient.java:121)
      1 frame