Community
Participate
Working Groups
What steps will reproduce the problem? 1. Install latest hudson integration from http://download.eclipse.org/tools/mylyn/update/weekly/incubator 2. Enter build server in LAN and same abitrary label 3. Press "refresh" or "validate" button -- Error Details -- Date: Wed Oct 06 15:56:02 CEST 2010 Message: Server validation failed: Unexpected error: Invalid byte 2 of 3-byte UTF-8 sequence. Severity: Error Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.rcp.product) Plugin: org.eclipse.mylyn.builds.ui Session Data: eclipse.buildId=M20100909-0800 java.version=1.6.0_21 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE Framework arguments: -product org.eclipse.epp.package.rcp.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.rcp.product Exception Stack Trace: org.eclipse.core.runtime.CoreException: Unexpected error: Invalid byte 2 of 3-byte UTF-8 sequence. at org.eclipse.mylyn.internal.hudson.core.HudsonCorePlugin.toCoreException(HudsonCorePlugin.java:61) at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.refreshConfiguration(HudsonServerBehaviour.java:713) at org.eclipse.mylyn.builds.internal.core.operations.RefreshConfigurationOperation$1.run(RefreshConfigurationOperation.java:75) at org.eclipse.mylyn.builds.internal.core.operations.RefreshConfigurationOperation$1.run(RefreshConfigurationOperation.java:1) at org.eclipse.mylyn.builds.internal.core.util.BuildRunner.run(BuildRunner.java:72) at org.eclipse.mylyn.builds.internal.core.operations.RefreshConfigurationOperation.doRefresh(RefreshConfigurationOperation.java:72) at org.eclipse.mylyn.builds.ui.spi.BuildServerPart$Validator.run(BuildServerPart.java:117) at org.eclipse.mylyn.commons.ui.team.RepositoryLocationPart$2.run(RepositoryLocationPart.java:582) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: org.eclipse.mylyn.internal.hudson.core.client.HudsonException: Invalid byte 2 of 3-byte UTF-8 sequence. at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient.parse(RestfulHudsonClient.java:303) at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$5.execute(RestfulHudsonClient.java:260) at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$5.execute(RestfulHudsonClient.java:1) at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.run(HudsonOperation.java:32) at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient.getJobs(RestfulHudsonClient.java:284) at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.refreshConfiguration(HudsonServerBehaviour.java:711) ... 7 more Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-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.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient.parse(RestfulHudsonClient.java:299) ... 12 more
*** Bug 327105 has been marked as a duplicate of this bug. ***
Do you happen to have a URL of a public Hudson server to reproduce this? To track down the cause please open http://<Your Huson URL>/api/xml in a browser to verify that the XML produced by Hudson is valid.
Hi Steffen, the XML looks good, I'll send you the file as private message.
Updating to the latest and greatest hudson version (1.381) solves this problem. Thanks for your support.