java.lang.ClassCastException: $Proxy1

Oracle Community | 3004 | 2 decades ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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