Project

General

Profile

Actions

Bug #5313

closed

java.lang.NullPointerException lorsque l'on tente de réactiver une tâche close dans l'espace personnel

Added by Pierre TEISSONNIERE over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Mes Tâches
Start date:
02/19/2014
Due date:
% Done:

100%

Estimated time:
Navigateur:
Firefox
Votre version de Silverpeas:
5.12.6
Système d'exploitation:
Votre base de données:
PostgreSQL
Livraison en TEST:
Livraison en PROD:

Description

  • Dans l'espace personnel, Mes tâches, créer une tâche.
  • Dans l'onglet Affectations, colonne Etat, cliquer sur le cadenas pour clore la tâche.
  • Dans l'onglet Historique, colonne Etat, cliquer sur le cadenas pour réactiver la tâche -> Erreur
java.lang.NullPointerException
    at com.stratelia.webactiv.calendar.model.ToDoHeader.setCompletedDate(ToDoHeader.java:62)
    at com.stratelia.webactiv.todo.control.ToDoSessionController.reopenToDo(ToDoSessionController.java:290)
    at org.apache.jsp.todo.jsp.todo_jsp._jspService(todo_jsp.java:173)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:541)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407)
    at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.redirectService(ComponentRequestRouter.java:265)
    at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doPost(ComponentRequestRouter.java:88)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at com.stratelia.silverpeas.peasCore.servlets.SilverpeasHttpServlet.service(SilverpeasHttpServlet.java:49)
    at com.stratelia.silverpeas.peasCore.servlets.SilverpeasAuthenticatedHttpServlet.service(SilverpeasAuthenticatedHttpServlet.java:77)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
    at com.silverpeas.whitePages.filters.ComponentRequestRouterFilter.doFilter(ComponentRequestRouterFilter.java:74)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
    at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
    at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
    at java.lang.Thread.run(Thread.java:662)

Actions #1

Updated by Miguel Moquillon over 10 years ago

  • Status changed from New to In progress...
  • Assignee set to Miguel Moquillon
  • Target version set to Version 5.12.8
Actions #2

Updated by Miguel Moquillon over 10 years ago

  • Status changed from In progress... to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Nicolas Eysseric over 10 years ago

  • Category set to Mes Tâches
  • Status changed from Resolved to Closed

Ce problème avait été corrigé dans le cadre d'une évolution. Voilà pourquoi il ne se produit qu'en 5.12.
Pour info, commit associé à la correction de l'époque : https://github.com/Silverpeas/Silverpeas-Core/commit/a5e9aed37166d27f20af621142b4d7fd574f4ecf

Correction poussée directement car la correction présente dans le PR n'était pas complète.

Actions

Also available in: Atom PDF