Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-5727

Talend Salesforce Account Import fails if run more than once

    Details

      Description

      Based on logs there is problem with Java inside Talend Job design. Timestamps are not formatted correctly.

      It could be handy to provide Log of parameters passed to job in UI to be able to understand command and parameters that caused issue.

      Exception in component tJava_1 (accounts)
      java.lang.RuntimeException: yyyy-MM-dd'T'HH:mm:ssZ can't support the date!
      	at routines.TalendDate.addDate(TalendDate.java:478)
      	at etl_salesforce_connector.accounts_0_2.accounts.tJava_1Process(accounts.java:771)
      	at etl_salesforce_connector.accounts_0_2.accounts.tPrejob_1Process(accounts.java:660)
      	at etl_salesforce_connector.accounts_0_2.accounts.runJobInTOS(accounts.java:8080)
      	at etl_salesforce_connector.accounts_0_2.accounts.main(accounts.java:7875)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.dispatch.talend.web.internal.process.TalendProcessCallable.call(TalendProcessCallable.java:92)
      	at com.liferay.dispatch.talend.web.internal.process.TalendProcessCallable.call(TalendProcessCallable.java:35)
      	at com.liferay.petra.process.local.LocalProcessLauncher.main(LocalProcessLauncher.java:135)
      Exception in component tLiferayOutput_1 (accounts)
      java.lang.NullPointerException
      	at com.liferay.talend.properties.connection.LiferayConnectionProperties.getConnectTimeout(LiferayConnectionProperties.java:77)
      	at com.liferay.talend.runtime.LiferaySourceOrSink.getLiferayClient(LiferaySourceOrSink.java:107)
      	at com.liferay.talend.runtime.LiferaySourceOrSink.initialize(LiferaySourceOrSink.java:214)
      	at com.liferay.talend.runtime.LiferaySourceOrSink.initialize(LiferaySourceOrSink.java:57)
      	at etl_salesforce_connector.accounts_0_2.accounts.tSalesforceInput_1Process(accounts.java:3053)
      	at etl_salesforce_connector.accounts_0_2.accounts.runJobInTOS(accounts.java:8094)
      	at etl_salesforce_connector.accounts_0_2.accounts.main(accounts.java:7875)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.dispatch.talend.web.internal.process.TalendProcessCallable.call(TalendProcessCallable.java:92)
      	at com.liferay.dispatch.talend.web.internal.process.TalendProcessCallable.call(TalendProcessCallable.java:35)
      	at com.liferay.petra.process.local.LocalProcessLauncher.main(LocalProcessLauncher.java:135)
      
      

        Attachments

          Activity

            People

            Assignee:
            igor.beslic Igor Beslic
            Reporter:
            igor.beslic Igor Beslic
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master
                7.3.X