The service ticket validation failed and in the logs there is an error 
which says json parse exception: Unexpected character (I) at position 0.

this is the error log :


=============================================================
WHO: audit:unknown
WHAT: ST-***************************************************************
ACTION: SERVICE_TICKET_VALIDATE_FAILED
APPLICATION: CAS
WHEN: Tue Dec 26 10:57:17 MYT 2017
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================

>
2017-12-26 10:57:17,110 DEBUG 
[org.apereo.cas.web.FlowExecutionExceptionResolver] - <Ignoring the 
received exception due to a type mismatch>
java.lang.IllegalArgumentException: Parsing error: 
org.jose4j.json.internal.json_simple.parser.ParseException: Unexpected 
character (I) at position 0.
    at 
org.apereo.cas.util.cipher.BaseStringCipherExecutor.decode(BaseStringCipherExecutor.java:168)
 
~[cas-server-core-util-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
    at 
org.apereo.cas.util.cipher.BaseStringCipherExecutor.decode(BaseStringCipherExecutor.java:26)
 
~[cas-server-core-util-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
    at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source) ~[?:?]
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:1.8.0_151]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
    at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at com.sun.proxy.$Proxy333.decode(Unknown Source) ~[?:?]
    at 
org.apereo.cas.AbstractCentralAuthenticationService.isTicketAuthenticityVerified(AbstractCentralAuthenticationService.java:301)
 
~[cas-server-core-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
    at 
org.apereo.cas.DefaultCentralAuthenticationService.validateServiceTicket(DefaultCentralAuthenticationService.java:267)
 
~[cas-server-core-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
    at 
org.apereo.cas.DefaultCentralAuthenticationService$$FastClassBySpringCGLIB$$b02e48f2.invoke(<generated>)
 
~[cas-server-core-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
    at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) 
~[spring-core-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.apereo.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:134)
 
~[inspektr-audit-1.7.GA.jar:1.7.GA]
    at sun.reflect.GeneratedMethodAccessor324.invoke(Unknown Source) ~[?:?]
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:1.8.0_151]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
    at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
 
~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
 
~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
 
~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.apereo.cas.DefaultCentralAuthenticationService$$EnhancerBySpringCGLIB$$af6978b2.validateServiceTicket(<generated>)
 
~[cas-server-core-5.2.0-SNAPSHOT.jar:5.2.0-SNAPSHOT]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_151]
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_151]
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:1.8.0_151]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
    at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
 
~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
 
~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
 
~[spring-tx-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
 
~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at com.sun.proxy.$Proxy335.validateServiceTicket(Unknown Source) ~[?:?]



How to solve this error?

-Fazla





-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/143d119b-6550-4287-b56e-136ed8a8ff61%40apereo.org.

Reply via email to