-
Bug
-
Résolution: Résolu
-
Mineur
-
6.04.23
-
Aucune
Une erreur survient parfois lors de la génération de flux RSS :
2016-09-08_02:14:44.932 [ajp-nio-8009-exec-187] ERROR com.univ.rss.CacheFeedManager - Erreur sur une fiche dans l'export RSS : requete = NOMBRE=10&CODE_RUBRIQUE=INTEC&LANGUE=0&SELECTION=0007 (id_fiche = 89405 java.lang.NullPointerException: null at com.univ.rss.AbstractExportRss.getSynEntry(AbstractExportRss.java:236) [AbstractExportRss.class:na] at com.univ.rss.CacheFeedManager.getSyndFeed_aroundBody0(CacheFeedManager.java:94) [CacheFeedManager.class:na] at com.univ.rss.CacheFeedManager$AjcClosure1.run(CacheFeedManager.java:1) [CacheFeedManager$AjcClosure1.class:na] at org.springframework.cache.aspectj.AbstractCacheAspect.ajc$around$org_springframework_cache_aspectj_AbstractCacheAspect$1$2bc714b5proceed(AbstractCacheAspect.aj:64) [AbstractCacheAspect.class:4.2.2.RELEASE] at org.springframework.cache.aspectj.AbstractCacheAspect$AbstractCacheAspect$1.invoke(AbstractCacheAspect.aj:70) [AbstractCacheAspect$AbstractCacheAspect$1.class:4.2.2.RELEASE] at org.springframework.cache.interceptor.CacheAspectSupport.invokeOperation(CacheAspectSupport.java:320) [CacheAspectSupport.class:4.2.2.RELEASE] at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:353) [CacheAspectSupport.class:4.2.2.RELEASE] at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:302) [CacheAspectSupport.class:4.2.2.RELEASE] at org.springframework.cache.aspectj.AbstractCacheAspect.ajc$around$org_springframework_cache_aspectj_AbstractCacheAspect$1$2bc714b5(AbstractCacheAspect.aj:74) [AbstractCacheAspect.class:4.2.2.RELEASE] at com.univ.rss.CacheFeedManager.getSyndFeed(CacheFeedManager.java:73) [CacheFeedManager.class:na] at com.univ.rss.AbstractExportRss.export(AbstractExportRss.java:131) [AbstractExportRss.class:na] at org.apache.jsp.adminsite.webservices.export_005frss_jsp._jspService(export_005frss_jsp.java:77) [ROOT/:na] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [tomcat8-jasper-8.0.14.jar:8.0.14] at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [tomcat8-servlet-api-8.0.14.jar:na] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) [tomcat8-jasper-8.0.14.jar:8.0.14] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [tomcat8-jasper-8.0.14.jar:8.0.14] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [tomcat8-jasper-8.0.14.jar:8.0.14] at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [tomcat8-servlet-api-8.0.14.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat8-websocket-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tomcat8-catalina-8.0.14.jar:8.0.14] at fr.cnam.shibboleth.AuthenticationFilter.doFilter(AuthenticationFilter.java:81) [AuthenticationFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tomcat8-catalina-8.0.14.jar:8.0.14] at com.jsbsoft.jtf.core.LogAppFilter.doFilter(LogAppFilter.java:135) [LogAppFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tomcat8-catalina-8.0.14.jar:8.0.14] at ro.isdc.wro.http.WroContextFilter.doFilter(WroContextFilter.java:64) [WroContextFilter.class:1.7.9] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tomcat8-catalina-8.0.14.jar:8.0.14] at com.kportal.ihm.FrontOfficeFilter.doFilter(FrontOfficeFilter.java:63) [FrontOfficeFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tomcat8-catalina-8.0.14.jar:8.0.14] at com.univ.utils.filter.ContexteFilter.doFilter(ContexteFilter.java:52) [ContexteFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85) [CharacterEncodingFilter.class:4.2.2.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [OncePerRequestFilter.class:4.2.2.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537) [tomcat8-catalina-8.0.14.jar:8.0.14] at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:827) [tomcat8-coyote-8.0.14.jar:8.0.14] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) [tomcat8-coyote-8.0.14.jar:8.0.14] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566) [tomcat8-coyote-8.0.14.jar:8.0.14] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523) [tomcat8-coyote-8.0.14.jar:8.0.14] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_111] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_111] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat8-util-8.0.14.jar:8.0.14] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_111]
L'erreur RSS provient à priori du cas où le rédacteur de la fiche n'a pas été trouvé, et on ne contrôle pas s'il est != null :
final UtilisateurBean redacteur = serviceUser.getByCode(fiche.getCodeRedacteur()); /.../ entry.setAuthor(StringEscapeUtils.unescapeHtml4(Chaine.encodeSpecialEntities(redacteur.getAdresseMail() + " (" + redacteur.getPrenom() + " " + redacteur.getNom() + ")")));