There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-db0c11c6-b678-4614-a208-3cf48915306b XWIKI-23211 Closed

Office import fails

 
View issue   ·   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-a901c837-ed30-4e4e-beea-32fb9bc05350 Karl Bielecke on 21/Nov/25 13:42
 
Hi again,

unfortunatly, now i got the same problem.

Today i upgraded from 17.7.x to 17.9.x
 
{code:java}
Das Makro [office] konnte nicht ausgeführt werden. Grund: [Could not open document: input.docx]. Klicke auf diese Nachricht, um Details zu erfahren.
org.xwiki.rendering.macro.MacroExecutionException: Failed to view office attachment.
Caused by: org.xwiki.officeimporter.OfficeImporterException: Error while converting document [PC-Ordnung_02_09_2025-Entwurf (4).docx] into html.
Caused by: org.xwiki.officeimporter.converter.OfficeConverterException: Error while performing conversion.
Caused by: org.jodconverter.core.office.OfficeException: Local conversion failed
Caused by: java.lang.NullPointerException: Could not open document: input.docx
{code}
 

This page had shown the document without problems before the update. I have absolutely no clue whats causing the problem. But i'm sure when i install a complete fresh instance on a new server this problem won't occure.

It's just the office component that's failing the rest seem to work just fine.


Edit: I have deinstalled the office importer extension but it is still available as an makro. Is this normal? Shouldn't it be not available after deinstall?