One Star

ConcurrentModificationException in Talend Job

Hello to Talend community,
I'm beginner to Talend and i have one of my jobs have a strange behaviour as it sometimes work successfully and sometimes failed and through this exception.
Exception in component
java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(Unknown Source)
at java.util.LinkedList$ListItr.next(Unknown Source)
at routines.system.RunStat.sendMessages(RunStat.java:248)
at routines.system.RunStat.stopThreadStat(RunStat.java:225)
at dw_first_load.dl_dw_barcode_skusuppliercode_0_1.DL_DW_BARCODE_SKUSUPPLIERCODE.tMSSqlInput_3Process(DL_DW_BARCODE_SKUSUPPLIERCODE.java:3293)
at dw_first_load.dl_dw_barcode_skusuppliercode_0_1.DL_DW_BARCODE_SKUSUPPLIERCODE.tMSSqlInput_1Process(DL_DW_BARCODE_SKUSUPPLIERCODE.java:1458)
at dw_first_load.dl_dw_barcode_skusuppliercode_0_1.DL_DW_BARCODE_SKUSUPPLIERCODE.runJobInTOS(DL_DW_BARCODE_SKUSUPPLIERCODE.java:6041)
at dw_first_load.dl_dw_barcode_skusuppliercode_0_1.DL_DW_BARCODE_SKUSUPPLIERCODE.main(DL_DW_BARCODE_SKUSUPPLIERCODE.java:5888)
Note, last week this job was ok.
Do you have any idea about this issue (the root cause & how to fix).
Thanks.
5 REPLIES
Moderator

Re: ConcurrentModificationException in Talend Job

Hi,
Welcome to talend community!
Firstly, which talend product do you used? the version? And which component is used in your work flow? More information will help us addressing your issue quickly. In addition, job screenshots will be appreciated.
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.
One Star

Re: ConcurrentModificationException in Talend Job

Hi All,
I have a one Job in Talend which worked fine previously but when I ran the Job for quite sometime, it returns the following Error in the 
in the tMap where I am joining with tmysql component. Kindly assist me on this.
Exception in component 
java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:761)
at java.util.LinkedList$ListItr.next(LinkedList.java:696)
at routines.system.RunStat.sendMessages(RunStat.java:261)
at routines.system.RunStat.stopThreadStat(RunStat.java:238)
at unifi.bi_transaction_mart_main_0_1.BI_Transaction_Mart_Main.tOracleInput_9Process(BI_Transaction_Mart_Main.java:17107)
at unifi.bi_transaction_mart_main_0_1.BI_Transaction_Mart_Main.tOracleInput_1Process(BI_Transaction_Mart_Main.java:5660)
at unifi.bi_transaction_mart_main_0_1.BI_Transaction_Mart_Main.runJobInTOS(BI_Transaction_Mart_Main.java:17377)
at unifi.bi_transaction_mart_main_0_1.BI_Transaction_Mart_Main.main(BI_Transaction_Mart_Main.java:17231)
Thanks,
Hameed 
One Star

Re: ConcurrentModificationException in Talend Job

Hi ,
I am facing Concurrentmodification Exception in Tsystem component. Sometimes it works properly. few times it throws like this error. Please help me to fix.
One Star

Re: ConcurrentModificationException in Talend Job

Hi Talend team,
We are getting the same 'ConcurrentModificationException' issue in tMDMoutput component while running our job from TAC, we are using talend 5.2.2 version (Talend Platform for MDM).  
we are sending 11185 rows to tMDMoutput component. is this the reason for this failure ? Thanks in advance.
My error message:
AutoMerge Part3 has been started
Exception in component tMDMOutput_11_In
AxisFault
 faultCode: {}Server
 faultSubcode: 
 faultString: null; nested exception is: 
java.lang.RuntimeException: java.util.ConcurrentModificationException
 faultActor: 
 faultNode: 
 faultDetail: 
{}stackTrace:null; nested exception is: 
java.lang.RuntimeException: java.util.ConcurrentModificationException
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 org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
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.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
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.client.AxisClient.invoke(AxisClient.java:165)
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.putItemArray(XtentisBindingStub.java:6666)
at tui_cdm.mergeprep_part1_0_7.MergePrep_Part1.tMDMOutput_11_InProcess(MergePrep_Part1.java:40856)
at tui_cdm.mergeprep_part1_0_7.MergePrep_Part1$1ThreadXMLField_tMDMOutput_11_Out.run(MergePrep_Part1.java:12594)
{}hostname:uktmjs03
null; nested exception is: 
java.lang.RuntimeException: java.util.ConcurrentModificationException
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 org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
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.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
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.client.AxisClient.invoke(AxisClient.java:165)
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.putItemArray(XtentisBindingStub.java:6666)
at tui_cdm.mergeprep_part1_0_7.MergePrep_Part1.tMDMOutput_11_InProcess(MergePrep_Part1.java:40856)
at tui_cdm.mergeprep_part1_0_7.MergePrep_Part1$1ThreadXMLField_tMDMOutput_11_Out.run(MergePrep_Part1.java:12594)
disconnected
Exception in component tRunJob_1
java.lang.RuntimeException: Child job running failed
at tui_cdm.automerge_part3_0_1.AutoMerge_Part3.tRunJob_1Process(AutoMerge_Part3.java:3624)
at tui_cdm.automerge_part3_0_1.AutoMerge_Part3.tJava_1Process(AutoMerge_Part3.java:3506)
at tui_cdm.automerge_part3_0_1.AutoMerge_Part3.runJobInTOS(AutoMerge_Part3.java:8620)
at tui_cdm.automerge_part3_0_1.AutoMerge_Part3.main(AutoMerge_Part3.java:7388)
Moderator

Re: ConcurrentModificationException in Talend Job

Hi Tamil Mynthan,
We are getting the same 'ConcurrentModificationException' issue in tMDMoutput component while running our job from TAC, we are using talend 5.2.2 version (Talend Platform for MDM).

Could you please report a ticket on Talend Support Portal so that we can give you a remote assistance to make a further investigation on your issue through support cycle with priority?
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.