Hi all,

There's an error that is in our cas.log file very two minutes, regarding the 
DefaultTicketRegistryCleaner.  The error is coming up on all three of our 
production CAS servers.  I don't know if it is causing issues or not - but when 
I look at the ticket registry (MongoDB) - I see tickets going back as far as 
October 9th of this year.  The error has been in our logs since October 9th 
(same date on all three servers) - which was (I'm sure not coincidentally) when 
I upgraded our production CAS hosts from 5.2.9 to 5.3.12.1.

Our environment is:

  *   OS: RHEL 7
  *   Tomcat: 8.5.46
  *   MongoDB (as Ticket Registry): 3.6.14


Does anyone have any idea what could be causing this (or what I need to do to 
resolve this)?  Any assistance or guidance in this would be greatly appreciated.


The error is below:

2019-11-06 13:13:14,305 ERROR 
[org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <null>
org.apereo.cas.ticket.InvalidTicketException: null
    at 
org.apereo.cas.ticket.BaseTicketSerializers.deserializeTicket(BaseTicketSerializers.java:176)
 ~[cas-server-core-tickets-api-5.3.12.1.jar:5.3.12.1]
    at 
org.apereo.cas.ticket.registry.MongoDbTicketRegistry.deserializeTicketFromMongoDocument(MongoDbTicketRegistry.java:289)
 ~[cas-server-support-mongo-ticket-registry-5.3.12.1.jar:5.3.12.1]
    at 
org.apereo.cas.ticket.registry.MongoDbTicketRegistry.lambda$getTicketsStream$8(MongoDbTicketRegistry.java:238)
 ~[cas-server-support-mongo-ticket-registry-5.3.12.1.jar:5.3.12.1]
    at 
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) 
~[?:1.8.0_222]
    at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[?:1.8.0_222]
    at 
java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
 ~[?:1.8.0_222]
    at 
java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:647) 
~[?:1.8.0_222]
    at 
java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:272) 
~[?:1.8.0_222]
    at 
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) 
~[?:1.8.0_222]
    at 
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) 
~[?:1.8.0_222]
    at 
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) 
~[?:1.8.0_222]
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) 
~[?:1.8.0_222]
    at 
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) 
~[?:1.8.0_222]
    at 
java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) 
~[?:1.8.0_222]
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 
~[?:1.8.0_222]
    at java.util.stream.IntPipeline.reduce(IntPipeline.java:479) ~[?:1.8.0_222]
    at java.util.stream.IntPipeline.sum(IntPipeline.java:437) ~[?:1.8.0_222]
    at 
org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner.cleanInternal(DefaultTicketRegistryCleaner.java:66)
 ~[cas-server-core-tickets-api-5.3.12.1.jar:5.3.12.1]
    at 
org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner.clean(DefaultTicketRegistryCleaner.java:47)
 ~[cas-server-core-tickets-api-5.3.12.1.jar:5.3.12.1]
    at 
org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner$$FastClassBySpringCGLIB$$29f046b2.invoke(<generated>)
 ~[cas-server-core-tickets-api-5.3.12.1.jar:5.3.12.1]
    at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) 
~[spring-core-4.3.25.RELEASE.jar:4.3.25.RELEASE]
    at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
 ~[spring-aop-4.3.25.RELEASE.jar:4.3.25.RELEASE]
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
 ~[spring-aop-4.3.25.RELEASE.jar:4.3.25.RELEASE]
    at 
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
 ~[spring-tx-4.3.25.RELEASE.jar:4.3.25.RELEASE]
    at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
 ~[spring-tx-4.3.25.RELEASE.jar:4.3.25.RELEASE]
    at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
 ~[spring-tx-4.3.25.RELEASE.jar:4.3.25.RELEASE]
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
 ~[spring-aop-4.3.25.RELEASE.jar:4.3.25.RELEASE]
    at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
 ~[spring-aop-4.3.25.RELEASE.jar:4.3.25.RELEASE]
    at 
org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner$$EnhancerBySpringCGLIB$$105be668.clean(<generated>)
 ~[cas-server-core-tickets-api-5.3.12.1.jar:5.3.12.1]
    at 
org.apereo.cas.config.CasCoreTicketsSchedulingConfiguration$TicketRegistryCleanerScheduler.run(CasCoreTicketsSchedulingConfiguration.java:89)
 ~[cas-server-core-tickets-5.3.12.1.jar:5.3.12.1]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_222]
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_222]
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_222]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222]
    at 
org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
 ~[spring-context-4.3.25.RELEASE.jar:4.3.25.RELEASE]
    at 
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
 ~[spring-context-4.3.25.RELEASE.jar:4.3.25.RELEASE]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
~[?:1.8.0_222]
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) 
~[?:1.8.0_222]
    at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
 ~[?:1.8.0_222]
    at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
 ~[?:1.8.0_222]
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
~[?:1.8.0_222]
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
~[?:1.8.0_222]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]




Paul Chauvet, CISSP
Information Security Officer
State University of New York at New Paltz
845-257-3828
[email protected]<mailto:[email protected]>
[emlogo]

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/MWHPR20MB14714ADCE2A3B1AF23221A8CA7790%40MWHPR20MB1471.namprd20.prod.outlook.com.

Reply via email to