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: java.io.FileNotFoundException: /usr/local/MATLAB/R2011a_Student/toolbox/matlab/codetools/private/fop_config.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source) at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown 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 org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:254) at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:237) at org.apache.fop.apps.FopFactoryConfigurator.setUserConfig(FopFactoryConfigurator.java:263) at org.apache.fop.apps.FopFactory.setUserConfig(FopFactory.java:666)
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.

 採用された回答

Matthew Simoneau
Matthew Simoneau 2013 年 1 月 18 日

0 投票

Sorry for the trouble, Eric. This is a known issue in R2011a. The workaround is here:

3 件のコメント

Eric
Eric 2013 年 1 月 18 日
Gah, zombie thread! Thanks for the workaround link. I might actually have to start using this again very soon! Strange timing!
Leo Simon
Leo Simon 2014 年 10 月 28 日
While the bug has apparently been fixed since R2011, I'm getting the same error message in R2014b
log4j:WARN No appenders could be found for logger (org.apache.fop.util.ContentHandlerFactoryRegistry).
log4j:WARN Please initialize the log4j system properly.
Is the bug known to still be active? If so, is there an updated fix for R2014b?
Thanks, Leo
Rajesh
Rajesh 2014 年 11 月 10 日
Is this now fixed? I am seeing the same in 2014b.

サインインしてコメントする。

その他の回答 (1 件)

Rajesh
Rajesh 2014 年 11 月 10 日

0 投票

Is this fixed in later versions?

1 件のコメント

Chad Greene
Chad Greene 2014 年 11 月 10 日
Under "status" the bug report says "Fixed in R2011b(7.13)".

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

タグ

質問済み:

2012 年 2 月 15 日

コメント済み:

2014 年 11 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by