[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-dev
Subject:    [jira] [Commented] (FOP-3043) NPE
From:       "Gianluca Lenti (Jira)" <jira () apache ! org>
Date:       2021-12-23 18:36:00
Message-ID: JIRA.13419103.1640214551000.63983.1640284560009 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/FOP-3043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17464742#comment-17464742 \
] 

Gianluca Lenti commented on FOP-3043:
-------------------------------------

It seems that a FopFactory per thread/request is not enough. You can't share \
configuration.

> NPE
> ---
> 
> Key: FOP-3043
> URL: https://issues.apache.org/jira/browse/FOP-3043
> Project: FOP
> Issue Type: Bug
> Affects Versions: 2.6
> Reporter: Gianluca Lenti
> Priority: Blocker
> Attachments: 20sm2019render_fop.xml, 20sm2019render_fop.xsl, NPE.txt, \
> pommsa-render-testfop.zip 
> 
> In a Spring Boot application,   we get a lot of NPE, with only four REST clients \
> asking to produce pdf continuosly. In attachment example spring boot app, \
> stacktrace and input files (issue is indipendent from this test files). example \
> call to endpoint: curl -X POST "http://localhost:8080/pom/render/fopUncompressed" \
> -H  "accept: application/pdf" -H  "Content-Type: multipart/form-data" -F \
> "xsl=@20sm2019render_fop.xsl;type=text/xml" -F \
> "xml=@20sm2019render_fop.xml;type=text/xml"   on windows dev pc, using jmeter, I \
> can reproduce the issue occasionally, last test with 30 concurrent threads \
> producing 3000 pdf files shows only 2 NPE. In the openshift production enviroment \
> with less concurrent clients, the issue is disruptive. 
> 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic