Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1758

NullPointer exception at WA refresh time during startup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.3
    • None
    • wa
    • None

    Description

      During startup the following exception is raised very often.

      12:37:42.909 WARN  org.apereo.cas.util.function.FunctionUtils - NullPointerException
      java.lang.NullPointerException: null
              at org.springframework.web.servlet.HttpServletBean$ServletConfigPropertyValues.<init>(HttpServletBean.java:224) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
              at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:152) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
              at org.apereo.cas.support.events.listener.DefaultCasConfigurationEventListener.lambda$initializeBeansEagerly$0(DefaultCasConfigurationEventListener.java:71) ~[cas-server-core-events-configuration-6.6.7.jar!/:6.6.7]
              at org.apereo.cas.util.function.FunctionUtils.doAndHandle(FunctionUtils.java:313) ~[cas-server-core-util-api-6.6.7.jar!/:6.6.7]
              at org.apereo.cas.support.events.listener.DefaultCasConfigurationEventListener.initializeBeansEagerly(DefaultCasConfigurationEventListener.java:64) ~[cas-server-core-events-configuration-6.6.7.jar!/:6.6.7]
              at org.apereo.cas.support.events.listener.DefaultCasConfigurationEventListener.onRefreshScopeRefreshed(DefaultCasConfigurationEventListener.java:48) ~[cas-server-core-events-configuration-6.6.7.jar!/:6.6.7]
              at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
              at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
              at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
              at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) ~[spring-aop-5.3.22.jar!/:5.3.22]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) ~[spring-aop-5.3.22.jar!/:5.3.22]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.22.jar!/:5.3.22]
              at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115) ~[spring-aop-5.3.22.jar!/:5.3.22]
              at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
              at java.lang.Thread.run(Thread.java:829) ~[?:?]
      12:37:42.909 WARN  org.apereo.cas.util.function.FunctionUtils - NullPointerException
      java.lang.NullPointerException: null
              at org.springframework.web.servlet.HttpServletBean$ServletConfigPropertyValues.<init>(HttpServletBean.java:224) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
              at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:152) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
              at org.apereo.cas.support.events.listener.DefaultCasConfigurationEventListener.lambda$initializeBeansEagerly$0(DefaultCasConfigurationEventListener.java:71) ~[cas-server-core-events-configuration-6.6.7.jar!/:6.6.7]
              at org.apereo.cas.util.function.FunctionUtils.doAndHandle(FunctionUtils.java:313) ~[cas-server-core-util-api-6.6.7.jar!/:6.6.7]
              at org.apereo.cas.support.events.listener.DefaultCasConfigurationEventListener.initializeBeansEagerly(DefaultCasConfigurationEventListener.java:64) ~[cas-server-core-events-configuration-6.6.7.jar!/:6.6.7]
              at org.apereo.cas.support.events.listener.DefaultCasConfigurationEventListener.rebind(DefaultCasConfigurationEventListener.java:84) ~[cas-server-core-events-configuration-6.6.7.jar!/:6.6.7]
              at org.apereo.cas.support.events.listener.DefaultCasConfigurationEventListener.onEnvironmentChangedEvent(DefaultCasConfigurationEventListener.java:42) ~[cas-server-core-events-configuration-6.6.7.jar!/:6.6.7]
              at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
              at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
              at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
              at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) ~[spring-aop-5.3.22.jar!/:5.3.22]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) ~[spring-aop-5.3.22.jar!/:5.3.22]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.22.jar!/:5.3.22]
              at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115) ~[spring-aop-5.3.22.jar!/:5.3.22]
              at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
              at java.lang.Thread.run(Thread.java:829) ~[?:?] 

      Attachments

        Activity

          People

            Unassigned Unassigned
            fmartelli Fabio Martelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: