[JIRA] (JENKINS-39717) Insufficient error message of maven-info-plugin: "Invalid byte 1 of 1-byte UTF-8 sequence" error

14 views
Skip to first unread message

rhierlmeier@java.net (JIRA)

unread,
Nov 14, 2016, 8:22:04 AM11/14/16
to jenkinsc...@googlegroups.com
rhierlmeier created an issue
 
Jenkins / Bug JENKINS-39717
Insufficient error message of maven-info-plugin: "Invalid byte 1 of 1-byte UTF-8 sequence" error
Issue Type: Bug Bug
Assignee: rhierlmeier
Components: maven-info-plugin
Created: 2016/Nov/14 1:21 PM
Priority: Minor Minor
Reporter: rhierlmeier

If the maven-info-plugin raises an error when post processing the poms the user does not get the information what file is affected. In our case we got the following error message:

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 55:07.127s
[INFO] Finished at: Mon Nov 14 10:17:49 CET 2016
[INFO] Final Memory: 64M/196M
[INFO] ------------------------------------------------------------------------
...
ERROR: Failed to parse POMs
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
	at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at org.apache.commons.digester.Digester.parse(Digester.java:1916)
	at jenkins.plugins.maveninfo.extractor.properties.PomPropertiesFinder.findProperties(PomPropertiesFinder.java:52)
	at jenkins.plugins.maveninfo.extractor.MavenInfoExtractor.extract(MavenInfoExtractor.java:58)
	at jenkins.plugins.maveninfo.extractor.MavenInfoEnvironment.tearDown(MavenInfoEnvironment.java:42)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:882)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
	at hudson.model.Run.execute(Run.java:1741)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
channel stopped
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

rhierlmeier@java.net (JIRA)

unread,
Nov 14, 2016, 8:23:02 AM11/14/16
to jenkinsc...@googlegroups.com
rhierlmeier updated an issue
Change By: rhierlmeier

If the maven-info-plugin raises an error when post processing the poms the user does not get the information what file is affected. In our case we got the following error message:


{noformat}
{noformat}

The project is a bigger multi module project. The user get no hint want pom caused the problem

rhierlmeier@java.net (JIRA)

unread,
Nov 14, 2016, 9:06:01 AM11/14/16
to jenkinsc...@googlegroups.com

rhierlmeier@java.net (JIRA)

unread,
Nov 14, 2016, 9:06:02 AM11/14/16
to jenkinsc...@googlegroups.com
rhierlmeier started work on Bug JENKINS-39717
 
Change By: rhierlmeier
Status: Open In Progress

rhierlmeier@java.net (JIRA)

unread,
Nov 14, 2016, 9:06:02 AM11/14/16
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages