java.lang.ClassCastException: oracle.security.am.engine.authn.api.constants.AuthenticationErrorCode cannot be cast to oracle.security.am.engine.authn.api.constants.OAMAuthenticationErrorCode

Oracle Community | securityUser-Oracle | 3 years 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

    OAM11gR2PS1 with WebCenter using Apache Webgate 11g

    Oracle Community | 3 years ago | securityUser-Oracle
    java.lang.ClassCastException: oracle.security.am.engine.authn.api.constants.AuthenticationErrorCode cannot be cast to oracle.security.am.engine.authn.api.constants.OAMAuthenticationErrorCode
  2. 0

    OAM 11gr2ps1 with RSA Auth Manager7.1-->2 factor authentication

    Oracle Community | 3 years ago | Venuy2k
    java.lang.ClassCastException: oracle.security.am.engine.authn.api.constants.AuthenticationErrorCode cannot be cast to oracle.security.am.engine.authn.api.constants.OAMAuthenticationErrorCode

    Root Cause Analysis

    1. java.lang.ClassCastException

      oracle.security.am.engine.authn.api.constants.AuthenticationErrorCode cannot be cast to oracle.security.am.engine.authn.api.constants.OAMAuthenticationErrorCode

      at oracle.security.am.engine.authn.internal.controller.AuthenticationEngineControllerImpl.validateUser()
    2. oracle.security.am
      ControllerMessageBean_eo7ylc_MDOImpl.__WL_invoke
      1. oracle.security.am.engine.authn.internal.controller.AuthenticationEngineControllerImpl.validateUser(AuthenticationEngineControllerImpl.java:318)
      2. oracle.security.am.engines.enginecontroller.AuthnEngineController.authenticateUser(AuthnEngineController.java:816)
      3. oracle.security.am.engines.enginecontroller.AuthnEngineController.processEvent(AuthnEngineController.java:313)
      4. oracle.security.am.controller.MasterController.processEvent(MasterController.java:589)
      5. oracle.security.am.controller.MasterController.processRequest(MasterController.java:780)
      6. oracle.security.am.proxy.oam.requesthandler.NGProvider.authenticate(NGProvider.java:701)
      7. oracle.security.am.proxy.oam.requesthandler.NGProvider.getAuthenticateForDccResponse(NGProvider.java:463)
      8. oracle.security.am.proxy.oam.requesthandler.NGProvider.getResponse(NGProvider.java:394)
      9. oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleRequest(RequestHandler.java:346)
      10. oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleMessage(RequestHandler.java:169)
      11. oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean.getResponseMessage(ControllerMessageBean.java:122)
      12. oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.__WL_invoke(Unknown Source)
      12 frames
    3. weblogic.ejb.container
      MDOMethodInvoker.invoke
      1. weblogic.ejb.container.internal.MDOMethodInvoker.invoke(MDOMethodInvoker.java:35)
      1 frame
    4. oracle.security.am
      ObClientToProxyHandler.messageReceived
      1. oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.getResponseMessage(Unknown Source)
      2. oracle.security.am.proxy.oam.mina.ObClientToProxyHandler.messageReceived(ObClientToProxyHandler.java:205)
      2 frames
    5. org.apache.mina
      IoEvent.run
      1. org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)
      2. org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
      3. org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)
      4. org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823)
      5. org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54)
      6. org.apache.mina.common.IoEvent.run(IoEvent.java:62)
      6 frames
    6. oracle.security.am
      CommonJWorkImpl.run
      1. oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:41)
      1 frame
    7. weblogic.work.j2ee
      J2EEWorkManager$WorkWithListener.run
      1. weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      1 frame
    8. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      2 frames