This issue has been created
 
 
LaTeX / cid:jira-generated-image-avatar-c3c6062b-886a-42a7-b865-1b58e0bcd6da LATEX-152 Open

500 error when export in parallel different pages

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-e1a477a9-1558-49c4-bfce-90df874283dc George Aristov created this issue on 09/Sep/24 08:47
 
Summary: 500 error when export in parallel different pages
Issue Type: cid:jira-generated-image-avatar-c3c6062b-886a-42a7-b865-1b58e0bcd6da Bug
Affects Versions: 1.25.1
Assignee: Unassigned
Created: 09/Sep/24 08:47
Priority: cid:jira-generated-image-static-critical-fc6adea1-6574-40e1-9825-ac340e35dd56 Critical
Reporter: George Aristov
Description:

Precondition
XWiki Debian 16.7.0

Steps to reproduce:

Open different pages in different tabs (could be different users and PC)
Start export to LaTex on each page
Downoad result file

Expecting result
Result file is downoaded

Actual result
500 error
The same pages exported one by one - work correctly;

 

StackTrace

Error number 0 in 11: Uncaught exceptioncom.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:662)	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:339)	at com.xpn.xwiki.web.LegacyActionServlet.service(LegacyActionServlet.java:112)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:122)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)	at org.xwiki.wysiwyg.filter.ConversionFilter.doFilter(ConversionFilter.java:61)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)	at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)	at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:132)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)	at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359)	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1735)	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.base/java.lang.Thread.run(Thread.java:829)Caused by: java.lang.NullPointerException	at org.xwiki.contrib.latex.internal.export.LaTeXExportResourceReferenceHandler.sendExportFile(LaTeXExportResourceReferenceHandler.java:176)	at org.xwiki.contrib.latex.internal.export.LaTeXExportResourceReferenceHandler.handle(LaTeXExportResourceReferenceHandler.java:143)	at org.xwiki.resource.internal.DefaultResourceReferenceHandlerChain.handleNext(DefaultResourceReferenceHandlerChain.java:79)	at org.xwiki.resource.internal.AbstractResourceReferenceHandlerManager.handle(AbstractResourceReferenceHandlerManager.java:82)	at org.xwiki.resource.internal.entity.EntityResourceReferenceHandler.handle(EntityResourceReferenceHandler.java:71)	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:614)	... 44 more