SAP Knowledge Base Article - Preview

2222728 - NullPointerException after running dataSupplierCronJob cronjob

Symptom

After following the documentation “Running hybris Data Supplier” the following exception is shown:

de.hybris.datasupplier.exceptions.DSContentGenerationException: com.sap.sup.admin.sldsupplier.error.SLDDataSupplierTechnicalException: java.lang.NullPointerException
    at de.hybris.datasupplier.services.impl.DefaultDSContentGeneratorService.generateContent(DefaultDSContentGeneratorService.java:54)
    at de.hybris.datasupplier.facades.impl.DefaultDataSupplierFacade.supplyData(DefaultDataSupplierFacade.java:66)
    at de.hybris.datasupplier.jobs.DataSupplierJobPerformable.perform(DataSupplierJobPerformable.java:54)
    at de.hybris.datasupplier.jobs.DataSupplierJobPerformable.perform(DataSupplierJobPerformable.java:1)
    at de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob.performCronJob(ServicelayerJob.java:38)
    at de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1301)
    at de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:819)
    at de.hybris.platform.cronjob.jalo.Job.access$1(Job.java:772)
    at de.hybris.platform.cronjob.jalo.Job$JobRunable.run(Job.java:677)
    at de.hybris.platform.util.threadpool.PoolableThread.run(PoolableThread.java:198)
Caused by: com.sap.sup.admin.sldsupplier.error.SLDDataSupplierTechnicalException: java.lang.NullPointerException
    at de.hybris.datasupplier.generator.tomcat.collector.sc.TomcatSoftwareComponentCollectorServiceImpl.collectSoftwareComponents(TomcatSoftwareComponentCollectorServiceImpl.java:60)
    at de.hybris.datasupplier.generator.tomcat.collector.TomcatSLDDataSupplierServiceImpl.collectProductSoftwareComponenDeployments(TomcatSLDDataSupplierServiceImpl.java:76)
    at de.hybris.datasupplier.services.impl.DefaultDSContentGeneratorService.collectSLDData(DefaultDSContentGeneratorService.java:113)
    at de.hybris.datasupplier.services.impl.DefaultDSContentGeneratorService.generateContent(DefaultDSContentGeneratorService.java:52)
    ... 9 more
Caused by: java.lang.NullPointerException
    at de.hybris.datasupplier.generator.hybris.collector.sc.HybrisSoftwareComponentCollectorImpl.filterProductSoftwareDeploymentsByVersion(HybrisSoftwareComponentCollectorImpl.java:302)
    at de.hybris.datasupplier.generator.hybris.collector.sc.HybrisSoftwareComponentCollectorImpl.buildProductSoftwareComponentDeployments(HybrisSoftwareComponentCollectorImpl.java:229)
    at de.hybris.datasupplier.generator.hybris.collector.sc.HybrisSoftwareComponentCollectorImpl.startCollect(HybrisSoftwareComponentCollectorImpl.java:156)
    at de.hybris.datasupplier.generator.hybris.collector.sc.HybrisSoftwareComponentCollectorImpl.collect(HybrisSoftwareComponentCollectorImpl.java:98)
    at de.hybris.datasupplier.generator.tomcat.collector.sc.TomcatSoftwareComponentCollectorServiceImpl.collectServerSoftwareComponents(TomcatSoftwareComponentCollectorServiceImpl.java:180)
    at de.hybris.datasupplier.generator.tomcat.collector.sc.TomcatSoftwareComponentCollectorServiceImpl.startCollectSoftwareComponents(TomcatSoftwareComponentCollectorServiceImpl.java:74)
    at de.hybris.datasupplier.generator.tomcat.collector.sc.TomcatSoftwareComponentCollectorServiceImpl.collectSoftwareComponents(TomcatSoftwareComponentCollectorServiceImpl.java:44)
    ... 12 more
INFO  [dataSupplierCronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (dataSupplierCronJob) [DataSupplierJobPerformable] An error occured while supplying SLD data


Read more...

Product

SAP Hybris Commerce 6.0 ; SAP hybris Commerce 5.7 ; SAP hybris Commerce Suite 5.2 ; SAP hybris Commerce Suite 5.3 ; SAP hybris Commerce Suite 5.4 ; SAP hybris Commerce Suite 5.5 ; SAP hybris Commerce Suite 5.5-1 ; SAP hybris Commerce Suite 5.6

Keywords

dataSupplierCronJob, data supplier, build.version, build.number, SLD , KBA , CEC-COM-CPS , SAP Commerce , Problem

About this page

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

Search for additional results

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