Error Using Publish

4 views (last 30 days)
Eric on 15 Feb 2012
Commented: Chad Greene on 10 Nov 2014
R2011a Student version, glnx86
File > Publish gives the following error:
log4j:WARN No appenders could be found for logger (org.apache.fop.util.ContentHandlerFactoryRegistry). log4j:WARN Please initialize the log4j system properly. ??? Java exception occurred: /usr/local/MATLAB/R2011a_Student/toolbox/matlab/codetools/private/fop_config.xml (No such file or directory) at Method) at<init>(Unknown Source) at<init>(Unknown Source) at Source) at Source) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at at at org.apache.fop.apps.FopFactoryConfigurator.setUserConfig( at org.apache.fop.apps.FopFactory.setUserConfig(
Error in ==> publish>fopInitialize at 550 fopFactory.setUserConfig(file2urn(...
Error in ==> publish>publishToPdf at 501 [fopDriver, fopOutputStream] = fopInitialize(outputAbsoluteFilename);
Error in ==> publish at 193 publishToPdf(dom,options,outputAbsoluteFilename)
Error in ==> mdbpublish at 55 outputPath = publish(file, options);
??? Error using ==> open at 69 NAME must contain a single string.

Accepted Answer

Matthew Simoneau
Matthew Simoneau on 18 Jan 2013
Sorry for the trouble, Eric. This is a known issue in R2011a. The workaround is here:
Rajesh on 10 Nov 2014
Is this now fixed? I am seeing the same in 2014b.

Sign in to comment.

More Answers (1)

Rajesh on 10 Nov 2014
Is this fixed in later versions?
  1 Comment
Chad Greene
Chad Greene on 10 Nov 2014
Under "status" the bug report says "Fixed in R2011b(7.13)".

Sign in to comment.



Community Treasure Hunt

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

Start Hunting!