[ http://jira.codehaus.org/browse/DOXIA-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237097#action_237097 ]
Michael Wenig edited comment on DOXIA-413 at 10/1/10 6:23 AM: -------------------------------------------------------------- Thanks Lukas, now there is a real error message: [INFO] [doxia:render-books {execution: default}] [WARNING] [iText Sink] No image '/software/hudson/slave-1/data/workspace/de.wwag.infra.oocsd~projectadmin~B-trunk~site/modules/projectadmin-_doku/target/generated-site/pdf/book-userDoku/ui_namespace_New.png' found in your system, check the path. [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] The URL of the image is missing. [INFO] ------------------------------------------------------------------------ Thanks for your work! Regards Michael was (Author: micha123): Thnaks Lukas, now there is a real error message: [INFO] [doxia:render-books {execution: default}] [WARNING] [iText Sink] No image '/software/hudson/slave-1/data/workspace/de.wwag.infra.oocsd~projectadmin~B-trunk~site/modules/projectadmin-_doku/target/generated-site/pdf/book-userDoku/ui_namespace_New.png' found in your system, check the path. [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] The URL of the image is missing. [INFO] ------------------------------------------------------------------------ Thanks for your work! Regards Michael > Missing image is only logged as debug - should be error! > -------------------------------------------------------- > > Key: DOXIA-413 > URL: http://jira.codehaus.org/browse/DOXIA-413 > Project: Maven Doxia > Issue Type: Bug > Components: Book, Module - Itext > Affects Versions: 1.1.3 > Reporter: Michael Wenig > Assignee: Lukas Theussl > Fix For: 1.1.4 > > > I have a project which uses doxia to create books in html, pdf and rtf. > My development is on Windows, CI is on Linux. > Accidently I added an image and referenced it in the apt-sources with a wrong > case. > The local build works fine (as windows is case-insensitive) but the central > build fails (as expected) > Unfortunately I cannot see the problem unless I activate the Debug (!) mode: > This error should be logged as error and not as debug as it denotes a serious > problem and leads directly to the solution of the problem > [DEBUG] [iText Sink] No image > '/software/hudson/slave-1/data/workspace/de.wwag.infra.oocsd~projectadmin~B-trunk~site/modules/projectadmin-_doku/target/generated-site/pdf/book-userDoku/ui_natureMaven_updateParentPOM.png' > found in your system, check the path. > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The URL of the image is missing. > [INFO] > ------------------------------------------------------------------------ > [DEBUG] Trace > ExceptionConverter: java.net.MalformedURLException: The URL of the image is > missing. > at com.lowagie.text.Image.getInstance(Unknown Source) > at com.lowagie.text.xml.SAXiTextHandler.handleStartingTags(Unknown > Source) > at com.lowagie.text.xml.SAXiTextHandler.startElement(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown > Source) > at > org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(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.xerces.jaxp.SAXParserImpl.parse(Unknown Source) > at com.lowagie.text.xml.XmlParser.go(Unknown Source) > at com.lowagie.text.xml.XmlParser.parse(Unknown Source) > at com.lowagie.text.xml.XmlToXXX.parse(Unknown Source) > at > org.apache.maven.doxia.module.itext.ITextUtil.writePdf(ITextUtil.java:132) > at > org.apache.maven.doxia.book.services.renderer.PdfBookRenderer.renderXML(PdfBookRenderer.java:50) > at > org.apache.maven.doxia.book.services.renderer.AbstractITextBookRenderer.renderBook(AbstractITextBookRenderer.java:165) > at > org.apache.maven.doxia.book.DefaultBookDoxia.renderBook(DefaultBookDoxia.java:142) > at > org.apache.maven.doxia.plugin.DoxiaRenderBooksMojo.execute(DoxiaRenderBooksMojo.java:265) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) > at > hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) > at > org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at hudson.maven.agent.Main.launch(Main.java:165) > at hudson.maven.MavenBuilder.call(MavenBuilder.java:165) > at > hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:708) > at > hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:652) > at hudson.remoting.UserRequest.perform(UserRequest.java:114) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > [INFO] > ------------------------------------------------------------------------ -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira