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

Talend exception on Delete method o/headless-commerce-admin-account/v1.0/accounts/by-externalReferenceCode/{external reference code}

    Details

      Description

      Executing the delete method o/headless-commerce-admin-account/v1.0/accounts/by-externalReferenceCode/{external reference code} with the tLiferayOutput component the account succesfully delete but the talend component generate the following exception:

      javax.json.JsonException: Cannot auto-detect encoding, not enough chars
       at org.glassfish.json.UnicodeDetectingInputStream.detectEncoding(UnicodeDetectingInputStream.java:130)
       at org.glassfish.json.UnicodeDetectingInputStream.<init>(UnicodeDetectingInputStream.java:75)
       at org.glassfish.json.JsonParserImpl.<init>(JsonParserImpl.java:95)
       at org.glassfish.json.JsonReaderImpl.<init>(JsonReaderImpl.java:73)
       at org.glassfish.json.JsonProviderImpl.createReader(JsonProviderImpl.java:136)
       at javax.json.Json.createReader(Json.java:225)
       at com.liferay.talend.runtime.client.ResponseHandler.asJsonObject(ResponseHandler.java:40)
       at com.liferay.talend.runtime.LiferaySourceOrSink.doDeleteRequest(LiferaySourceOrSink.java:70)
       at com.liferay.talend.runtime.writer.LiferayWriter.doDelete(LiferayWriter.java:90)
       at com.liferay.talend.runtime.writer.LiferayWriter.write(LiferayWriter.java:174)
       at sapconnector.importcustomers_0_1.importCustomers.tJava_5Process(importCustomers.java:4971)
       at sapconnector.importcustomers_0_1.importCustomers.tLiferayInput_1Process(importCustomers.java:3924)
       at sapconnector.importcustomers_0_1.importCustomers.tFileInputXML_2Process(importCustomers.java:2935)
       at sapconnector.importcustomers_0_1.importCustomers.tJava_4Process(importCustomers.java:9613)
       at sapconnector.importcustomers_0_1.importCustomers.tFileList_1Process(importCustomers.java:9271)
       at sapconnector.importcustomers_0_1.importCustomers.tJava_2Process(importCustomers.java:11946)
       at sapconnector.importcustomers_0_1.importCustomers.runJobInTOS(importCustomers.java:13361)
       at sapconnector.importcustomers_0_1.importCustomers.main(importCustomers.java:12813)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package