Re: [jopendocument] Re: NullPointerException while saving

2016-04-11 Thread Guillaume Gurdil
Sorry for the dealy, I didn't get an email to warn me there was a reply. Here are the mentioned lines : out.flush(); inputStream.close(); Indeed, inputStream is null at this point because those lines are in the "finally" statement and it is triggered just after the problem with the "saveAs"

Re: [jopendocument] Re: NullPointerException while saving

2016-04-07 Thread Guillaume Gurdil
Hi and thanks for your reply. Here is the stack trace I get : 16:03:56,019 ERROR [io.undertow.request] (default task-38) UT005023: Exception handling request to /tim/edition/soldeCET/extract: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is

Re: [jopendocument] Re: NullPointerException while saving

2016-04-07 Thread jOpenDocument, Guillaume
Le 06/04/2016 15:59, Guillaume Gurdil a écrit : I don't know if that will help but I tried decomposing what was going on using the source of EngineTemplate and I found that this was the line that didn't work : | this.template.createDocument(this.engine); | Problem is : neither this.template