You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/02/15 00:18:22 UTC
[jira] Updated: (MNG-2056) Exception when starting new page with
AbstractMavenMultiPageReport
[ http://jira.codehaus.org/browse/MNG-2056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-2056:
------------------------------
Fix Version/s: (was: 2.0.x)
2.0.5
> Exception when starting new page with AbstractMavenMultiPageReport
> ------------------------------------------------------------------
>
> Key: MNG-2056
> URL: http://jira.codehaus.org/browse/MNG-2056
> Project: Maven 2
> Issue Type: Bug
> Components: Sites & Reporting
> Affects Versions: 2.0.2
> Environment: OS X 10.3.4. running JDK 1.5 (1.5.0_06-93)
> Reporter: Adam Winer
> Assigned To: Kenney Westerhof
> Fix For: 2.0.5
>
>
> Attempts to call AbstractMavenMultiPageReport.startPage() from a custom report result in the following exception:
> Caused by: java.io.EOFException: input contained no data
> at org.codehaus.plexus.util.xml.pull.MXParser.fillBuf(MXParser.java:2979)
> at org.codehaus.plexus.util.xml.pull.MXParser.more(MXParser.java:3022)
> at org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1407)
> at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1392)
> at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
> at org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:172)
> at org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:83)
> at org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:48)
> at org.codehaus.doxia.module.xhtml.decoration.model.DecorationModelReader.createNavigation(DecorationModelReader.java:30)
> at org.codehaus.doxia.site.renderer.DefaultSiteRenderer.createSink(DefaultSiteRenderer.java:244)
> at org.apache.maven.reporting.sink.SinkFactory.getSink(SinkFactory.java:76)
> at org.apache.maven.reporting.AbstractMavenMultiPageReport.getSink(AbstractMavenMultiPageReport.java:79)
> at org.apache.maven.reporting.AbstractMavenMultiPageReport.startPage(AbstractMavenMultiPageReport.java:85)
> FYI, I'm creating the SinkFactory for the multipage report using:
> SinkFactory factory = new SinkFactory();
> factory.setSiteRenderer(getSiteRenderer());
> factory.setSiteDirectory(getOutputDirectory());
> setSinkFactory(factory);
> Without this code, you just get a NullPointerException in AbstractMavenMultiPageReport.getSink().
--
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