jhipster/jhipster-online

Production Error when Submitting Statistics

SudharakaP opened this issue · 0 comments

Describe the bug

The following error was logged in production;


java.lang.NullPointerException: null

        at io.github.jhipster.online.util.DateUtil.setAbsoluteDate (DateUtil.java:54)
        at io.github.jhipster.online.service.StatisticsService.addEntry (StatisticsService.java:98)
        at io.github.jhipster.online.service.StatisticsService$$FastClassBySpringCGLIB$$b9a077f6.invoke (<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invoke (MethodProxy.java:218)
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint (CglibAopProxy.java:769)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (ReflectiveMethodInvocation.java:163)
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed (CglibAopProxy.java:747)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction (TransactionAspectSupport.java:366)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke (TransactionInterceptor.java:99)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (ReflectiveMethodInvocation.java:186)
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed (CglibAopProxy.java:747)
        at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0 (AsyncExecutionInterceptor.java:115)
        at java.util.concurrent.FutureTask.run (Unknown Source)
        at io.github.jhipster.async.ExceptionHandlingAsyncTaskExecutor.lambda$createWrappedRunnable$1 (ExceptionHandlingAsyncTaskExecutor.java:78)
        at java.util.concurrent.ThreadPoolExecutor.runWorker (Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
        at java.lang.Thread.run (Unknown Source)