Stand-alone rptconvert generates zero byte pdf

1 view (last 30 days)
Joy
Joy on 3 Dec 2015
Answered: Yuebin Zhou on 7 Dec 2015
My MATLAB version is Matlab2011a 32bit. I used rptconvert command to covert one XML file into PDF file. I used my own stylesheet. The code worked perfectly fine in the source code environment. However, after I compiled the source code, stand-alone EXE generated 0bytes PDF. The log file contains the message below. Is there work around for this issue? Do I need to modify style sheet to make it work correctly?
Thanks!
Joy -----------------------------------------Log File-------------------------------------------------------------------------------------- Converting file "C:\WUTemp\RPT_StandAlone_Error\Stand_Alone\Deploy_mcr\Deploy\AlignmentReport.xml" Dec 3, 2015 12:39:35 PM org.apache.fop.apps.FopFactoryConfigurator configure
INFO: Default page-height set to: 11in
Dec 3, 2015 12:39:35 PM org.apache.fop.apps.FopFactoryConfigurator configure
INFO: Default page-width set to: 8.26in
Conversion error: "Undefined variable "com" or class "com.mathworks.toolbox.rptgencore.tools.FOPEventListener"."
File conversion complete

Answers (1)

Yuebin Zhou
Yuebin Zhou on 7 Dec 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!