]
Lincoln Baxter III closed FORGE-72.
-----------------------------------
Resolution: Out of Date
We no longer use docbook for documentation. Closing this issue as out of date.
'Invalid byte 2 of 2-byte UTF-8 sequence' error on CentOS
---------------------------------------------------------
Key: FORGE-72
URL:
https://issues.jboss.org/browse/FORGE-72
Project: Forge
Issue Type: Bug
Components: Documentation
Affects Versions: 1.0.0.Beta1
Environment: OS: CentOS5.4
locale: zh_CN.UTF-8
Reporter: kuu yee
build Forge reference guide error:
[root@localhost reference]# mvn clean install
-DjdocbookSourceDirectory=src/main/docbook/en-US/ -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/css/core/maven-metadata...
[WARNING] Could not transfer metadata org.eclipse.wst.css:core/maven-metadata.xml from/to
maven-repository.dev.java.net (
http://download.java.net/maven/1): No connector available
to access repository
maven-repository.dev.java.net (
http://download.java.net/maven/1) of
type legacy using the available factories WagonRepositoryConnectorFactory
Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata...
[WARNING] Could not transfer metadata org.eclipse.wst.sse:core/maven-metadata.xml from/to
maven-repository.dev.java.net (
http://download.java.net/maven/1): No connector available
to access repository
maven-repository.dev.java.net (
http://download.java.net/maven/1) of
type legacy using the available factories WagonRepositoryConnectorFactory
Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/common/uriresolver/mave...
[WARNING] Could not transfer metadata
org.eclipse.wst.common:uriresolver/maven-metadata.xml from/to
maven-repository.dev.java.net (
http://download.java.net/maven/1): No connector available
to access repository
maven-repository.dev.java.net (
http://download.java.net/maven/1) of
type legacy using the available factories WagonRepositoryConnectorFactory
Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata...
[WARNING] Could not transfer metadata org.eclipse.wst.sse:core/maven-metadata.xml from/to
maven-repository.dev.java.net (
http://download.java.net/maven/1): No connector available
to access repository
maven-repository.dev.java.net (
http://download.java.net/maven/1) of
type legacy using the available factories WagonRepositoryConnectorFactory
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Seam Forge - Reference Guide 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ forge-reference-guide ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce) @ forge-reference-guide
---
[WARNING] This rule is not compatible with the current version of Maven. The rule is not
able to perform any checks.
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:maven-version (default) @ forge-reference-guide
---
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:parse-version (default) @ forge-reference-guide
---
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:add-source (attach-source) @
forge-reference-guide ---
[INFO] Source directory: /ci/seam3/forge/docs/reference/src/main/docbook/en-US added.
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (default) @ forge-reference-guide ---
[INFO] Executing tasks
main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-jdocbook-plugin:2.2.3:resources (default-resources) @
forge-reference-guide ---
Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/css/core/maven-metadata...
[WARNING] Could not transfer metadata org.eclipse.wst.css:core/maven-metadata.xml from/to
maven-repository.dev.java.net (
http://download.java.net/maven/1): No connector available
to access repository
maven-repository.dev.java.net (
http://download.java.net/maven/1) of
type legacy using the available factories WagonRepositoryConnectorFactory
Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata...
[WARNING] Could not transfer metadata org.eclipse.wst.sse:core/maven-metadata.xml from/to
maven-repository.dev.java.net (
http://download.java.net/maven/1): No connector available
to access repository
maven-repository.dev.java.net (
http://download.java.net/maven/1) of
type legacy using the available factories WagonRepositoryConnectorFactory
Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/common/uriresolver/mave...
[WARNING] Could not transfer metadata
org.eclipse.wst.common:uriresolver/maven-metadata.xml from/to
maven-repository.dev.java.net (
http://download.java.net/maven/1): No connector available
to access repository
maven-repository.dev.java.net (
http://download.java.net/maven/1) of
type legacy using the available factories WagonRepositoryConnectorFactory
Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata...
[WARNING] Could not transfer metadata org.eclipse.wst.sse:core/maven-metadata.xml from/to
maven-repository.dev.java.net (
http://download.java.net/maven/1): No connector available
to access repository
maven-repository.dev.java.net (
http://download.java.net/maven/1) of
type legacy using the available factories WagonRepositoryConnectorFactory
[INFO] Expanding:
/root/.m2/repository/org/jboss/seam/seam-jdocbook-style/1.1.0.GA/seam-jdocbook-style-1.1.0.GA.jdocbook-style
into /ci/seam3/forge/docs/reference/target/docbook/staging
[INFO] Expanding:
/root/.m2/repository/org/jboss/jbossorg-jdocbook-style/1.1.0/jbossorg-jdocbook-style-1.1.0.jdocbook-style
into /ci/seam3/forge/docs/reference/target/docbook/staging
[INFO]
[INFO] --- maven-jdocbook-plugin:2.2.3:translate (default) @ forge-reference-guide ---
[INFO]
[INFO] --- maven-jdocbook-plugin:2.2.3:generate (default-generate) @
forge-reference-guide ---
[INFO] Processing en-US -> pdf
redirecting output to file
[/ci/seam3/forge/docs/reference/target/docbook/work/log/console-en-US-pdf.log]
Error on line 4 column 17 of
file:/ci/seam3/forge/docs/reference/src/main/docbook/en-US/master.xml:
Error reported by XML parser: Invalid byte 2 of 2-byte UTF-8 sequence.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.919s
[INFO] Finished at: Thu Apr 07 22:11:38 CST 2011
[INFO] Final Memory: 30M/217M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.3:generate (default-generate) on project
forge-reference-guide: XSLT problem: error rendering [org.xml.sax.SAXParseException:
Invalid byte 2 of 2-byte UTF-8 sequence.] on master.xml -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.3:generate (default-generate) on project
forge-reference-guide: XSLT problem
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:134)
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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: XSLT problem
at
org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.execute(AbstractDocBookMojo.java:419)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
... 19 more
Caused by: org.jboss.jdocbook.xslt.XSLTException: error rendering
[org.xml.sax.SAXParseException: Invalid byte 2 of 2-byte UTF-8 sequence.] on master.xml
at
org.jboss.jdocbook.render.impl.BasicRenderer.performRendering(BasicRenderer.java:178)
at org.jboss.jdocbook.render.impl.BasicRenderer.render(BasicRenderer.java:159)
at org.jboss.jdocbook.render.impl.BasicRenderer.render(BasicRenderer.java:100)
at
org.jboss.maven.plugins.jdocbook.GenerationMojo.process(GenerationMojo.java:112)
at
org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.doExecute(AbstractDocBookMojo.java:387)
at
org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.execute(AbstractDocBookMojo.java:415)
... 21 more
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException:
Invalid byte 2 of 2-byte UTF-8 sequence.
at com.icl.saxon.om.Builder.build(Builder.java:273)
at com.icl.saxon.Controller.transform(Controller.java:936)
at
org.jboss.jdocbook.render.impl.BasicRenderer.performRendering(BasicRenderer.java:175)
... 26 more
Caused by: org.xml.sax.SAXParseException: Invalid byte 2 of 2-byte UTF-8 sequence.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.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 com.icl.saxon.om.Builder.build(Builder.java:265)
... 28 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: