commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <niall.pember...@gmail.com>
Subject Re: [all] mvn site
Date Thu, 29 Mar 2007 02:02:19 GMT
Strangely I didn't see that problem for jci, copy here if you want it

http://people.apache.org/~niallp/jci-rat-report.html

Niall

On 3/29/07, Torsten Curdt <tcurdt@apache.org> wrote:
> For some reason suddenly I get this nice set of exceptions (see
> below) when building
>
>   http://jakarta.apache.org/commons/sandbox/jci/
>
> Character 0x0? Would be nice to know in what file. I could not find one
>
>
>   #!/usr/bin/ruby
>   require 'find'
>
>   Find.find('./') do |f|
>    if ! ( f =~ /.class$/ || f =~ /.gif$/ || f =~ /.png$/ || f =~ /.ser
> $/ || f =~ /.jar$/ || f =~ /.svn-base$/)
>      if !FileTest.directory?(f)
>          file = File.new(f, "rb")
>          file.each_byte { |c|
>            if c == 0
>              puts "found character in " + f
>            end
>          }
>          file.close
>      end
>    end
>   end
>
> Any suggestions? (Actually my suggestion would be to remove the
> report as it is just for a release check anyway)
>
> cheers
> --
> Torsten
>
> [DEBUG] Generating /Users/tcurdt/Development/commons/trunks-sandbox/
> jci/target/site/rat-report.html
> [INFO] Generate "RAT Report" report.
> ERROR:  'An invalid XML character (Unicode: 0x0) was found in the
> element content of the document.'
> ERROR:
> 'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: An
> invalid XML character (Unicode: 0x0) was found in the element content
> of the document.'
> Exception in thread "Thread-2"
> rat.report.ReportFailedRuntimeException:
> javax.xml.transform.TransformerException:
> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: An
> invalid XML character (Unicode: 0x0) was found in the element content
> of the document.
>          at rat.ReportTransformer.run(ReportTransformer.java:57)
>          at java.lang.Thread.run(Thread.java:613)
> Caused by: javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException:
> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: An
> invalid XML character (Unicode: 0x0) was found in the element content
> of the document.
>          at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform
> (TransformerImpl.java:650)
>          at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform
> (TransformerImpl.java:279)
>          at rat.ReportTransformer.transform(ReportTransformer.java:62)
>          at rat.ReportTransformer.run(ReportTransformer.java:55)
>          ... 1 more
> Caused by: javax.xml.transform.TransformerException:
> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: An
> invalid XML character (Unicode: 0x0) was found in the element content
> of the document.
>          at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM
> (TransformerImpl.java:494)
>          at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform
> (TransformerImpl.java:640)
>          ... 4 more
> Caused by:
> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: An
> invalid XML character (Unicode: 0x0) was found in the element content
> of the document.
>          at
> com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM
> (XSLTCDTMManager.java:393)
>          at
> com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM
> (XSLTCDTMManager.java:228)
>          at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM
> (TransformerImpl.java:472)
>          ... 5 more
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot print license information
> Pipe closed
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> rat.report.ReportFailedRuntimeException: Cannot print license
> information
>          at
> rat.report.xml.visitor.report.license.LicenseReportVisitor.report
> (LicenseReportVisitor.java:78)
>          at
> rat.report.xml.visitor.report.license.LicenseReportVisitor.visit
> (LicenseReportVisitor.java:50)
>          at rat.element.visitor.ElementVisitorMultiplexer.visit
> (ElementVisitorMultiplexer.java:37)
>          at rat.element.visitor.ElementVisitorProxy.visit
> (ElementVisitorProxy.java:33)
>          at rat.element.StandardContentElement.accept
> (StandardContentElement.java:37)
>          at rat.report.xml.XmlReport.consume(XmlReport.java:53)
>          at org.codehaus.mojo.rat.AbstractRatMojo$1.consumeContents
> (AbstractRatMojo.java:312)
>          at rat.Report.report(Report.java:123)
>          at rat.Report.report(Report.java:112)
>          at org.codehaus.mojo.rat.AbstractRatMojo.createReport
> (AbstractRatMojo.java:332)
>          at org.codehaus.mojo.rat.RatReportMojo.createReport
> (RatReportMojo.java:156)
>          at org.codehaus.mojo.rat.RatReportMojo.generate
> (RatReportMojo.java:305)
>          at
> org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument
> (ReportDocumentRenderer.java:67)
>          at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule
> (DefaultSiteRenderer.java:239)
>          at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render
> (DefaultSiteRenderer.java:115)
>          at org.apache.maven.plugins.site.SiteMojo.renderLocale
> (SiteMojo.java:124)
>          at org.apache.maven.plugins.site.SiteMojo.execute
> (SiteMojo.java:92)
>          at org.apache.maven.plugin.DefaultPluginManager.executeMojo
> (DefaultPluginManager.java:412)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> (DefaultLifecycleExecutor.java:534)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> ycle(DefaultLifecycleExecutor.java:475)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> (DefaultLifecycleExecutor.java:454)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:306)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:273)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> (DefaultLifecycleExecutor.java:140)
>          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
> 322)
>          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>          at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>          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)
> Caused by: rat.report.ReportFailedException: XML writing failure:
> Pipe closed
>          at rat.report.claim.impl.xml.SimpleXmlClaimReporter.claim
> (SimpleXmlClaimReporter.java:50)
>          at
> rat.report.xml.visitor.report.license.LicenseReportVisitor.writeHeaderSa
> mple(LicenseReportVisitor.java:83)
>          at
> rat.report.xml.visitor.report.license.LicenseReportVisitor.report
> (LicenseReportVisitor.java:68)
>          ... 34 more
> Caused by: java.io.IOException: Pipe closed
>          at java.io.PipedReader.receive(PipedReader.java:116)
>          at java.io.PipedWriter.write(PipedWriter.java:104)
>          at rat.report.xml.writer.impl.base.XmlWriter.writeEscaped
> (XmlWriter.java:541)
>          at rat.report.xml.writer.impl.base.XmlWriter.writeBodyContent
> (XmlWriter.java:523)
>          at rat.report.xml.writer.impl.base.XmlWriter.content
> (XmlWriter.java:517)
>          at rat.report.claim.impl.xml.SimpleXmlClaimReporter.claim
> (SimpleXmlClaimReporter.java:44)
>          ... 36 more
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message