SAP Knowledge Base Article - Preview

3308940 - Hot Folder File Processing Interrupted by UnsupportedOperationException in SAP Commerce Cloud 2211

Symptom

Hot folder file processing interrupted by UnsupportedOperationException, here is snippet of error logs:

"thread": "AzureIntegrationTaskExecutorThread-master-10",
    "level": "ERROR",
    "loggerName": "de.hybris.platform.cloud.commons.services.monitor.logging.LoggingMonitorRecorder",
    "message": "HOT_FOLDER:filename_0000-20230224000046.csv1677280229000 Status [FAILURE]\nStep [DOWNLOADED] Node [0] Status [SUCCESS] 
          Started [2023-02-24T23:10:29.560Z] Ended [2023-02-24T23:10:29.570Z] Duration [10]ms Message [Successfully read blob [transfer/incoming/deposit/test/test_file_0000-20230224000046.csv] of size [3 KB]] 
          Actions [none]\nStep 
          [HEADER_SETUP] Node [0] Status [SUCCESS] Started [2023-02-24T23:10:29.636Z] Ended [2023-02-24T23:10:29.636Z] Duration [0]ms Message [Successfully setup header for file [test_file_0000-20230224000046.csv]. 
            Header will be passed down pipeline.....] Actions [none]\nStep [HEADER_INIT] Node [0] Status [SUCCESS] Started [2023-02-24T23:10:29.636Z] Ended [2023-02-24T23:10:29.636Z] Duration [0]ms Message [Successfully 
              processed file [test_file_0000-20230224000046.csv]. SequenceId [20230224000046]] Actions [none]\nStep 
            [HEADER_TRANSFORMED] Node [0] Status [SUCCESS] Started [2023-02-24T23:10:29.637Z] Ended [2023-02-24T23:10:29.656Z] Duration [19]ms Message [Successfully 
              transformed header for file [test_file_0000-20230224000046.csv] with sequenceId [20230224000046]] 
            Actions [\n\tCode [19WOPsg8] Status [SUCCESS] Started [2023-02-24T23:10:29.637Z] Ended [2023-02-24T23:10:29.656Z] Duration [19]ms Message [Successfully 
              transformed file [test_file_0000-20230224000046.csv] to impex(es) 
                ([impex_1_test_file_0000-20230224000046.csv, 
                  impex_2_test_file_0000-20230224000046.csv, 
                  ...
                  impex_8_test_file_0000-20230224000046.csv, 
                  impex_9_test_file_0000-20230224000046.csv, 
                  impex_10_test_file_0000-20230224000046.csv])]\n]\nStep 
            [HEADER_EXECUTED] Node [0] Status [FAILURE] Started [2023-02-24T23:10:29.657Z] Ended [2023-02-24T23:10:31.509Z] Duration [1852]ms 
            Message [Failed to process file [test_file_0000-20230224000046.csv]] Actions [\n\tCode [18782001] Status [FAILURE] Started [2023-02-24T23:10:29.928Z] Ended [2023-02-24T23:10:31.508Z] Duration [1580]ms 
              Message [Impex didn't run successfully. \nINSERT_UPDATE Order;code[unique=true];...,,column 17: 
                could not resolve item for value1| column 17: cannot resolve value 'value1' for attribute 'attribute1';...",
    "thrown":
    {
      "commonElementCount": 0,
      "localizedMessage": "Please define in the spring configuration a <lookup-method> for getHeaderTaskConfig().",
      "message": "Please define in the spring configuration a <lookup-method> for getHeaderTaskConfig().",
      "name": "java.lang.UnsupportedOperationException",
      "extendedStackTrace": [
          {
            "class": "de.hybris.platform.acceleratorservices.dataimport.batch.task.AbstractImpexRunnerTask",
            "method": "getHeaderTaskConfig",
            "file": "AbstractImpexRunnerTask.java",
            "line": 134,
            "exact": false,
            "location": "acceleratorservicesserver.jar",
            "version": "?"
          },
          {
            "class": "de.hybris.platform.acceleratorservices.dataimport.batch.task.AbstractImpexRunnerTask",
            "method": "processFile",
            "file": "AbstractImpexRunnerTask.java",
            "line": 86,
            "exact": false,
            "location": "acceleratorservicesserver.jar",
            "version": "?"
          },
          {
            "class": "de.hybris.platform.acceleratorservices.dataimport.batch.task.AbstractImpexRunnerTask",
            "method": "execute",
            "file": "AbstractImpexRunnerTask.java",
            "line": 51,
            "exact": false,
            "location": "acceleratorservicesserver.jar",
            "version": "?"
          },
          ...
          {
            "class": "de.hybris.platform.cloud.hotfolder.aop.BatchHeaderAspect",
            "method": "internalMonitor",
            "file": "BatchHeaderAspect.java",
            "line": 244,
            "exact": false,
            "location": "cloudhotfolderserver.jar",
            "version": "?"
          }

Here is error stack, from where it's possible to know NullPointerException happened on method:

"Object.equals(Object)" because “de.hybris.platform.validation.model.constraints.AbstractConstraintModel.getAnnotation()” is null 
com.hybris.backoffice.cockpitng.dataaccess.facades.object.dataquality.impl.BackofficeDataQualityCalculationService@1a4d8606 java.lang.NullPointerException: Cannot invoke “Object.equals(Object)” because the return value of “de.hybris.platform.validation.model.constraints.AbstractConstraintModel.getAnnotation()” is null at de.hybris.platform.validation.services.impl.ConstraintViolationFactoryUtil.findMatchingConstraint(ConstraintViolationFactoryUtil.java:225) at de.hybris.platform.validation.services.impl.ConstraintViolationFactoryUtil.constraintForComposedType(ConstraintViolationFactoryUtil.java:174) at de.hybris.platform.validation.services.impl.ConstraintViolationFactoryUtil.buildConstraintModelForLocalizedMessage(ConstraintViolationFactoryUtil.java:160)


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud 2211

Keywords

hot folder, processing interrupted, ccv2, hybris, java.lang.UnsupportedOperationException, azure, blob , KBA , CEC-SCC-CLA-ENV-CST , Cloud Storage , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.