Five Stars

Recurring "java.lang.RuntimeException: com.amalto.core.save.SaveException: Exception occurred during save" error

Hi,

 

We have a Talend 5.2 MDM system running on Tomcat 7 and the server on jboss 4.2.2 GA. A recurring issue has been this exception which is encountered intermittently. However, when we retry the job with the same XML sometime later, it runs without an issue.

 

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: Exception occurred during save: ; nested exception is: 
	java.lang.RuntimeException: com.amalto.core.save.SaveException: Exception occurred during save: 
 faultActor: 
 faultNode: 
 faultDetail: 
	{http://xml.apache.org/axis/}stackTrace:Exception occurred during save: ; nested exception is: 
	java.lang.RuntimeException: com.amalto.core.save.SaveException: Exception occurred during save: 
	at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
	at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
	at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
	at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
	at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
	at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
	at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
	at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
	at org.apache.axis.client.Call.invoke(Call.java:2767)
	at org.apache.axis.client.Call.invoke(Call.java:2443)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at org.talend.mdm.webservice.XtentisBindingStub.putItem(XtentisBindingStub.java:6538)
	at mdm_workspace.l3_insertdata_1_0.L3_InsertData.tJavaFlex_1Process(L3_InsertData.java:806)
	at mdm_workspace.l3_insertdata_1_0.L3_InsertData.tMDMConnection_1Process(L3_InsertData.java:713)
	at mdm_workspace.l3_insertdata_1_0.L3_InsertData.tJava_3Process(L3_InsertData.java:623)
	at mdm_workspace.l3_insertdata_1_0.L3_InsertData.runJobInTOS(L3_InsertData.java:1360)
	at mdm_workspace.l3_insertdata_1_0.L3_InsertData.runJob(L3_InsertData.java:1205)
	at mdm_workspace.l2_updatedata_1_0.L2_UpdateData.tRunJob_1Process(L2_UpdateData.java:846)
	at mdm_workspace.l2_updatedata_1_0.L2_UpdateData.tLoop_1Process(L2_UpdateData.java:683)
	at mdm_workspace.l2_updatedata_1_0.L2_UpdateData.tJava_3Process(L2_UpdateData.java:543)
	at mdm_workspace.l2_updatedata_1_0.L2_UpdateData.runJobInTOS(L2_UpdateData.java:1191)
	at mdm_workspace.l2_updatedata_1_0.L2_UpdateData.runJob(L2_UpdateData.java:1027)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tRunJob_15Process(L1_UpdateDataEE.java:3825)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tRunJob_5Process(L1_UpdateDataEE.java:3670)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tJava_9Process(L1_UpdateDataEE.java:3459)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tLibraryLoad_1Process(L1_UpdateDataEE.java:3238)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tRunJob_7Process(L1_UpdateDataEE.java:3162)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tJava_5Process(L1_UpdateDataEE.java:2930)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tRunJob_13Process(L1_UpdateDataEE.java:2841)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tJava_8Process(L1_UpdateDataEE.java:2603)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tRunJob_14Process(L1_UpdateDataEE.java:2504)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tRunJob_8Process(L1_UpdateDataEE.java:1329)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tJava_1Process(L1_UpdateDataEE.java:1130)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.runJobInTOS(L1_UpdateDataEE.java:4421)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.runJob(L1_UpdateDataEE.java:4129)
	at sun.reflect.GeneratedMethodAccessor601.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
	at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
	at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
	at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
	at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
	at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
	at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)

	{http://xml.apache.org/axis/}hostname:vmmblrayprapp02

Exception occurred during save: ; nested exception is: 
	java.lang.RuntimeException: com.amalto.core.save.SaveException: Exception occurred during save: 
	at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
	at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
	at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
	at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
	at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
	at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
	at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
	at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
	at org.apache.axis.client.Call.invoke(Call.java:2767)
	at org.apache.axis.client.Call.invoke(Call.java:2443)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at org.talend.mdm.webservice.XtentisBindingStub.putItem(XtentisBindingStub.java:6538)
	at mdm_workspace.l3_insertdata_1_0.L3_InsertData.tJavaFlex_1Process(L3_InsertData.java:806)
	at mdm_workspace.l3_insertdata_1_0.L3_InsertData.tMDMConnection_1Process(L3_InsertData.java:713)
	at mdm_workspace.l3_insertdata_1_0.L3_InsertData.tJava_3Process(L3_InsertData.java:623)
	at mdm_workspace.l3_insertdata_1_0.L3_InsertData.runJobInTOS(L3_InsertData.java:1360)
	at mdm_workspace.l3_insertdata_1_0.L3_InsertData.runJob(L3_InsertData.java:1205)
	at mdm_workspace.l2_updatedata_1_0.L2_UpdateData.tRunJob_1Process(L2_UpdateData.java:846)
	at mdm_workspace.l2_updatedata_1_0.L2_UpdateData.tLoop_1Process(L2_UpdateData.java:683)
	at mdm_workspace.l2_updatedata_1_0.L2_UpdateData.tJava_3Process(L2_UpdateData.java:543)
	at mdm_workspace.l2_updatedata_1_0.L2_UpdateData.runJobInTOS(L2_UpdateData.java:1191)
	at mdm_workspace.l2_updatedata_1_0.L2_UpdateData.runJob(L2_UpdateData.java:1027)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tRunJob_15Process(L1_UpdateDataEE.java:3825)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tRunJob_5Process(L1_UpdateDataEE.java:3670)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tJava_9Process(L1_UpdateDataEE.java:3459)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tLibraryLoad_1Process(L1_UpdateDataEE.java:3238)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tRunJob_7Process(L1_UpdateDataEE.java:3162)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tJava_5Process(L1_UpdateDataEE.java:2930)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tRunJob_13Process(L1_UpdateDataEE.java:2841)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tJava_8Process(L1_UpdateDataEE.java:2603)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tRunJob_14Process(L1_UpdateDataEE.java:2504)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tRunJob_8Process(L1_UpdateDataEE.java:1329)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.tJava_1Process(L1_UpdateDataEE.java:1130)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.runJobInTOS(L1_UpdateDataEE.java:4421)
	at mdm_workspace.l1_updatedataee_1_0.L1_UpdateDataEE.runJob(L1_UpdateDataEE.java:4129)
	at sun.reflect.GeneratedMethodAccessor601.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
	at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
	at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
	at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
	at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
	at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
	at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)
] with primary key : SLANV4A_120366_1

The primary key part of the XML is correct and runs next time without a problem.

3 REPLIES
Moderator

Re: Recurring "java.lang.RuntimeException: com.amalto.core.save.SaveException: Exception occurred during save" error

Hi,

Is it a random issue on your side? Could you please give us more detailed steps to repro your issue?

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: Recurring "java.lang.RuntimeException: com.amalto.core.save.SaveException: Exception occurred during save" error

This is a random issue, and thus is tough to reproduce. But we have observed this occurs during peak service times when the load is high.

Moderator

Re: Recurring "java.lang.RuntimeException: com.amalto.core.save.SaveException: Exception occurred during save" error

Hello,

Are you using talend subscription solution MDM 5.2?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.