[ 
http://jira.codehaus.org/browse/DOXIA-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179446#action_179446
 ] 

Nathan Sowatskey commented on DOXIA-332:
----------------------------------------

Fiixed! Thanks :-)

> Problem with Tables, Doxia, APT Maven site and PDF/RTF generation
> -----------------------------------------------------------------
>
>                 Key: DOXIA-332
>                 URL: http://jira.codehaus.org/browse/DOXIA-332
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Book, Module - FO, Module - Itext
>    Affects Versions: 1.1.1
>         Environment: OSX 10.5.7, Maven 2.1.0, Java 5
>            Reporter: Nathan Sowatskey
>         Attachments: doxia-site-test.zip
>
>
> When running the attached project I get: 
> ~/Documents/java/apache-maven-2.1.0/bin/mvn clean; 
> ~/Documents/java/apache-maven-2.1.0/bin/mvn site
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building doxia-site-test
> [INFO]    task-segment: [clean]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory .../doxia-site-test/target
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Fri Jun 05 10:54:46 CEST 2009
> [INFO] Final Memory: 3M/7M
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building doxia-site-test
> [INFO]    task-segment: [site]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] [doxia:render-books {execution: default}]
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] com.lowagie.text.Table
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.ClassCastException: com.lowagie.text.Table
>       at com.lowagie.text.xml.SAXiTextHandler.handleEndingTags(Unknown Source)
>       at com.lowagie.text.xml.SAXiTextHandler.endElement(Unknown Source)
>       at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
> Source)
>       at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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:118)
>       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:163)
>       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:483)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>       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:585)
>       at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>       at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Fri Jun 05 10:54:51 CEST 2009
> [INFO] Final Memory: 8M/15M
> [INFO] 
> ------------------------------------------------------------------------
> bash-3.2$ pwd
> .../doxia-site-test

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

        

Reply via email to