Project: talendesb
Issue TESB-5123: Moving a TESBConnector connector from one step to another breaks it
When I move a connector that uses TESBConnector from one step to another, this connector and all newly created TESB Connector connectors are unusable. When the process is executed, the log shows: {noformat}SEVERE: Exception caught while executing connector (instance=Rent_a_car--1.0--2, process=Rent_a_car--1.0, activityId=Enter_user_and_dates) : org.talend.esb.bonita.consumer.TESBConnector - Exception : Exception while evaluating expression. ProcessInstanceUUID: 'Rent_a_car--1.0--2'. ActivityInstanceUUID: 'Rent_a_car--1.0--2--Enter_user_and_dates--it1--mainActivityInstance--noLoop'. ProcessDefinitionUUID: 'Rent_a_car--1.0'. cause: File cannot be nulljava.lang.IllegalArgumentException: File cannot be null at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:201) at javax.xml.parsers.DocumentBuilder$parse.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSi teArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124) at providedscripts.BonitaXML.evaluateXPathOnVariable(BonitaXML.groovy:49) at providedscripts.BonitaXML$evaluateXPathOnVariable.call(Unknown Source){noformat} Deleting the moved connectors and creating them in the existing process doesn't help. I always get the same error message when I execute the process. Due to TESB-5122 I can't export and attach the process here. I'm using an XPath expression with {{providedscripts.BonitaXML.evaluateXPathOnVariable()}}, which I assume is causing this error after moving.
Story points: 1