java.lang.IllegalArgumentException

Unknown entity: org.apereo.cas.support.oauth.ticket.code.OAuthCodeImpl

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11

  • via GitHub by yisiqi
    ,
  • via Stack Overflow by Nabor
    ,
  • Stack trace

    • java.lang.IllegalArgumentException: Unknown entity: org.apereo.cas.support.oauth.ticket.code.OAuthCodeImpl at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1149)[hibernate-entitymanager-5.1.0.Final.jar:5.1.0.Final] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_92] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_92] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_92] at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:298)[spring-orm-4.3.2.RELEASE.jar:4.3.2.RELEASE] at com.sun.proxy.$Proxy171.persist(Unknown Source)[?:?] at org.apereo.cas.ticket.registry.JpaTicketRegistry.addTicket(JpaTicketRegistry.java:58)[cas-server-support-jpa-ticket-registry-5.0.0.RC1-SNAPSHOT.jar:5.0.0.RC1-SNAPSHOT] at org.apereo.cas.ticket.registry.JpaTicketRegistry$$FastClassBySpringCGLIB$$84ce3a7e.invoke(<generated>)[cas-server-support-jpa-ticket-registry-5.0.0.RC1-SNAPSHOT.jar:5.0.0.RC1-SNAPSHOT] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[spring-core-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    bamboomybamboomy
    Once,
    nasimknasimk
    4 times, last one
    thiago.santosthiago.santos
    4 times, last one
    1 more bugmates