-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.3 Larks
-
Fix Version/s: 1.4 Larks
-
Labels:None
-
Sprint:1.4 Larks
Here is what logs show:
2013-02-21 20:46:16 [DEBUG][http-8080-41 ][Староверъ][org.jtalks.jcommune.web.exception.PrettyLogExceptionResolver] - Resolving exception from handler [public org.springframework.web.servlet.ModelAndView org.jtalks.jcommune.web.control ler.BranchController.recentTopicsPage(java.lang.Integer)]: java.lang.IllegalArgumentException: Last read post index is bigger than post count in the topic 2013-02-21 20:46:16 [WARN ][http-8080-41 ][Староверъ][ org.jtalks.jcommune] - Handler execution resulted in exception java.lang.IllegalArgumentException: Last read post index is bigger than post count in the topic at org.apache.commons.lang.Validate.isTrue(Validate.java:136) at org.jtalks.jcommune.model.entity.Topic.setLastReadPostIndex(Topic.java:447) at org.jtalks.jcommune.service.transactional.TransactionalLastReadPostService.fillLastReadPostForTopics(TransactionalLastReadPostService.java:60) at sun.reflect.GeneratedMethodAccessor307.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy60.fillLastReadPostForTopics(Unknown Source) at org.jtalks.jcommune.web.controller.BranchController.recentTopicsPage(BranchController.java:134) at sun.reflect.GeneratedMethodAccessor344.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
- relates to
-
JC-1365 There is a warning in logs about last read post after each viewing of topic or list of topics
- Closed