Bug #1103
ferméGénération de PDF avec fichier joint versionné
Description
Impossible de générer un pdf dans une GED versionnée si la publi contient un fichier joint :
07/10/10-10:59:09,103 - ERROR : root.EX_REMOTE_EXCEPTION | MODULE : kmelia.PdfGenerator.onOpenDocument | !!! Message root.EX_REMOTE_EXCEPTION NOT INITIALIZED !!! (EXCEPTION : java.net.MalformedURLException: Illegal character in URL)
07/10/10-10:59:09,141 - ERROR : Servlet.service() for servlet KmeliaPdfGeneratorServlet threw exception
Impossible de générer le fichier PDF de la publication
nested (Deepest) :
java.lang.NullPointerException
at com.stratelia.silverpeas.versioning.util.VersioningUtil.isReader(VersioningUtil.java:367)
at com.stratelia.webactiv.kmelia.control.PdfGenerator.generateAttachments(PdfGenerator.java:845)
at com.stratelia.webactiv.kmelia.control.PdfGenerator.generate(PdfGenerator.java:186)
at com.stratelia.webactiv.kmelia.servlets.KmeliaPdfGeneratorServlet.processRequest(KmeliaPdfGeneratorServlet.java:44)
at com.stratelia.webactiv.kmelia.servlets.KmeliaPdfGeneratorServlet.doGet(KmeliaPdfGeneratorServlet.java:66)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.silverpeas.whitePages.filters.ComponentRequestRouterFilter.doFilter(ComponentRequestRouterFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)