Update file command fails with RollbackException

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
gunasma
User
Posts: 3
Joined: Wed Aug 16, 2017 6:05 pm

Update file command fails with RollbackException

Post by gunasma » Thu May 10, 2018 4:58 pm

I try to update a file that exists in bullhorn SOAP API using the following code.

bhService.updateFile()

But it fails with the following exception

Caused by: java.lang.RuntimeException: Client received an exception from server: java.lang.RuntimeException: javax.persistence.RollbackException: Error while commiting the transaction Please see the server log to find more detail regarding exact cause of the failure. at com.bullhorn.apiservice.impl.DataService.updateFile(DataService.java:446) at com.bullhorn.apiservice.ApiServiceImpl.updateFile(ApiServiceImpl.java:116) at sun.reflect.GeneratedMethodAccessor1971.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246) at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146) at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257) at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)

Post Reply