Skip to Content
author's profile photo Former Member
Former Member

Data Hub VErsion 5.5.0.1 Problem with MS SQL/SAP-Customer Extension

Hi everyone,

it seems there is an existing problem with the SAP-Customer Extension in Version 5.5.0.1. in conncetion with MS SQL.

Exception which occured is:

 17:24:47.688 [ERROR] [com.hybris.datahub.extension.load.impl.DefaultExtensionLoaderService] Could not load extension com.hybris.datahub.extension.load.ExtensionImportException: Failed to create attribute com.hybris.datahub.dto.extension.RawItems$Item$Attributes$Attribute@610dbe3f for raw type RawHybrisCustomer ....
 Caused by: java.lang.IllegalArgumentException: Property Name cannot be changed at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125) ~[guava-17.0.jar:na] at com.hybris.kernel.services.metadata.impl.DefaultMetadataService.setPropertyDefinition(DefaultMetadataService.java:89) ~[kernel-service-5.5.0.1-RC2.jar:na]

Quick and Dirty Fix for me was to remove all occurence of RawHybrisCustomer and RawHybrisB2BCustomer because we do not need them in our use-case (no User-Replication hybris-> SAP) So it seems it is just an issue with the SAP-Customer Extension not a general one. On the other hand with HSQL there are no problems at all...

Is anyone having the same issues?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 12, 2015 at 10:24 AM

    It looks like the SAP-Customer Extension tries to modify a SchemalessAttribute in the kernel metadata service which is not allowed.

    But maybe the reason behind is that you have some violated database state which contains invalid schemaless attribute definitions for RawHybrisCustomers

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Matthias, thank you for your answer -> i already dropped the hole DB and created a new one but it makes no difference.

      Cause of the problem could be a failure in how the schema is created by the data hub for MS-SQL.

      Do you have a running data hub with MS-SQL?

  • Posted on May 12, 2015 at 06:37 PM

    There is an attribute "name" and another attribute "Name". The properties are case sensitive while the DB is case insensitive.

    Please read the following thread : https://answers.sap.com/questions/12752949/data-hub-55-installation-issue-with-db-with-collat.html

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Robin, the DB indeed is case insensitive, when i switch that to case sensitiv the Data Hub starts but i get SQL-Errors during Data-Import -> I already read the thread you mentioned -> that is my point i am using 5.5.0.1 for the datahub and we have the same issue here.

      BR Dennis

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.