Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidServerResponseException: Character reference "&#x1" is an invalid XML character #286

Open
pawc opened this issue Dec 4, 2018 · 0 comments

Comments

@pawc
Copy link

pawc commented Dec 4, 2018

I get this exception stack when trying to get a WorkItem object with line below
workItemClient.getProjects().get("MyProject").getWorkItemClient().getWorkItemByID(someNumber);
It seems to be thrown only for a particular ID. From its content I cannot tell how this workitem is different from the ones that work. Any ideas what could cause that?

com.microsoft.tfs.core.ws.runtime.exceptions.InvalidServerResponseException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,28930]
Message: Character reference "&#x1" is an invalid XML character.
at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:617)
at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:444)
at ms.tfs.workitemtracking.clientservices._03._ClientService5Soap12Service.getWorkItem(_ClientService5Soap12Service.java:622)
at com.microsoft.tfs.core.clients.workitem.internal.WorkItemImpl.open(WorkItemImpl.java:259)
at com.microsoft.tfs.core.clients.workitem.WorkItemClient.getWorkItemByID(WorkItemClient.java:248)
at [my code...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant