[jira] Closed: (DOXIA-413) Missing image is only logged as debug - should be error!

2010-10-01 Thread Lukas Theussl (JIRA)

 [ 
http://jira.codehaus.org/browse/DOXIA-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukas Theussl closed DOXIA-413.
---

Resolution: Fixed

Ok, there was another itch I fixed 
([r1003454|http://svn.apache.org/viewvc?rev=1003454&view=rev]). Please try 
again.

> 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.

[jira] Closed: (DOXIA-413) Missing image is only logged as debug - should be error!

2010-09-30 Thread Lukas Theussl (JIRA)

 [ 
http://jira.codehaus.org/browse/DOXIA-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukas Theussl closed DOXIA-413.
---

   Resolution: Fixed
Fix Version/s: 1.1.4

Fixed in [r1003021|http://svn.apache.org/viewvc?rev=1003021&view=rev].
SNAPSHOTs are deployed, please test.

> 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