Bug 165055 - "Failed to create report data wrapper" when using parameter user input
Summary: "Failed to create report data wrapper" when using parameter user input
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
25.2.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-05 09:11 UTC by Serhiy
Modified: 2025-10-24 18:45 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
stdout for Failed to create report data wrapper (3.96 KB, text/plain)
2025-02-05 09:11 UTC, Serhiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Serhiy 2025-02-05 09:11:52 UTC
Created attachment 198992 [details]
stdout for Failed to create report data wrapper

Without any updates and setup changes the report generation suddenly stopped working with a query that contains a filter :parameter. It was working yesterday, I put the system to sleep and in the morning it isn't generating the report anymore. It wasn't even connected to the network for any updates to take place. I've just updated to 25.2.0.3 from the previous release and the issue persisted.

Removing the :parameter from the query "helps".

There is only three reports of a similar problem known to search engines, from 2018 and 2019:

https://forum.openoffice.org/en/forum/viewtopic.php?f=13&t=92234&p=437882#p437882

https://forum.openoffice.org/en/forum/viewtopic.php?t=94189

https://forum.openoffice.org/en/forum/viewtopic.php?t=98730

My hardware is the Steam Deck with the SteamOS and LO installed via Flatpak.

Attaching stdout and Java traceback shown in GUI.
Comment 1 Serhiy 2025-02-05 09:12:32 UTC
The traceback / error message:

SQL Status: S1000


An exception of type com.sun.star.lang.WrappedTargetException was caught.


org.libreoffice.report.ReportExecutionException: Failed to create report data wrapper
org.libreoffice.report.ReportExecutionException: Failed to create report data wrapper
	at org.libreoffice.report.pentaho.PentahoReportJob.execute(PentahoReportJob.java:348)
	at org.libreoffice.report.pentaho.SOReportJobFactory$_SOReportJobFactory.execute(SOReportJobFactory.java:237)
Caused by: org.jfree.report.ReportDataFactoryException: Failed to create report data wrapper
	at org.libreoffice.report.pentaho.StarReportDataFactory.queryData(StarReportDataFactory.java:68)
	at org.jfree.report.data.CachingReportDataFactory.queryData(Unknown Source)
	at org.jfree.report.data.ReportDataRow.createDataRow(Unknown Source)
	at org.jfree.report.flow.DefaultFlowController.performQuery(Unknown Source)
	at org.jfree.report.flow.layoutprocessor.ReportLayoutController.startData(Unknown Source)
	at org.jfree.report.flow.layoutprocessor.ElementLayoutController.startElement(Unknown Source)
	at org.jfree.report.flow.layoutprocessor.ElementLayoutController.advance(Unknown Source)
	at org.jfree.report.flow.AbstractReportProcessor.processReportRun(Unknown Source)
	at org.libreoffice.report.pentaho.output.spreadsheet.SpreadsheetRawReportProcessor.processReport(SpreadsheetRawReportProcessor.java:95)
	at org.libreoffice.report.pentaho.PentahoReportJob.execute(PentahoReportJob.java:336)
	... 1 more
Comment 2 Buovjaga 2025-10-24 18:45:38 UTC
A new C++-based report builder has been created as part of Google Summer of Code. It still has some work to do before it can be tested, f.ex. https://gerrit.libreoffice.org/c/core/+/188896 "Add Env variable to switch between Pentaho/C++ ReportBuilder"