DeserializationException on calling getEditHistory(session, entityName , id)

Forum for users and developers of Bullhorn's Webservices API suite

Moderators: StaffingSupport, s.emmons, BullhornSupport

gunasma
User
Posts: 2
Joined: Wed Aug 16, 2017 6:05 pm

DeserializationException on calling getEditHistory(session, entityName , id)

Postby gunasma » Wed Aug 16, 2017 6:10 pm

int candidateId = <known valid bullhorn candidate Id>
ApiGetEditHistoryResult ehr = bhService.getEditHistory(bhSession, "Candidate", candidateId);

We get the following kind of errors for some of the candidates for a lot of different control/illegal characters. This is not consistent across all candidate lookups, but there are quite a few instances when there seems to a unmarshall failures dealing with illegal characters.

com.sun.xml.internal.ws.encoding.soap.DeserializationException: [failed to localize] Failed to deserialize the response.(javax.xml.bind.UnmarshalException - with linked exception: [com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character (NULL, unicode 0) encountered: not valid in any content at [row,col {unknown-source}]: [1019,1]]) at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:111) at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77) at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147) at com.sun.proxy.$Proxy94.getEditHistory(Unknown Source) at

com.sun.xml.internal.ws.encoding.soap.DeserializationException: [failed to localize] Failed to deserialize the response.(javax.xml.bind.UnmarshalException - with linked exception: [com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, code 16)) at [row,col {unknown-source}]: [10169,31]]) at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:111) at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:77) at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:147) at com.sun.proxy.$Proxy94.getEditHistory(Unknown Source) at

Is this a known bug? Is there a fix?

Return to “Webservices API”

Who is online

Users browsing this forum: No registered users and 1 guest