{"action":"closed","issue":{"url":"https://api.github.com/repos/metasfresh/metasfresh/issues/3671","repository_url":"https://api.github.com/repos/metasfresh/metasfresh","labels_url":"https://api.github.com/repos/metasfresh/metasfresh/issues/3671/labels{/name}","comments_url":"https://api.github.com/repos/metasfresh/metasfresh/issues/3671/comments","events_url":"https://api.github.com/repos/metasfresh/metasfresh/issues/3671/events","html_url":"https://github.com/metasfresh/metasfresh/issues/3671","id":304400548,"number":3671,"title":"Compensation group interceptor fails to start when elasticsearch is enabled","user":{"login":"teosarca","id":1244701,"avatar_url":"https://avatars2.githubusercontent.com/u/1244701?v=4","gravatar_id":"","url":"https://api.github.com/users/teosarca","html_url":"https://github.com/teosarca","followers_url":"https://api.github.com/users/teosarca/followers","following_url":"https://api.github.com/users/teosarca/following{/other_user}","gists_url":"https://api.github.com/users/teosarca/gists{/gist_id}","starred_url":"https://api.github.com/users/teosarca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teosarca/subscriptions","organizations_url":"https://api.github.com/users/teosarca/orgs","repos_url":"https://api.github.com/users/teosarca/repos","events_url":"https://api.github.com/users/teosarca/events{/privacy}","received_events_url":"https://api.github.com/users/teosarca/received_events","type":"User","site_admin":false},"labels":[{"id":536706344,"url":"https://api.github.com/repos/metasfresh/metasfresh/labels/branch:master","name":"branch:master","color":"0e8a16","default":false},{"id":546012549,"url":"https://api.github.com/repos/metasfresh/metasfresh/labels/branch:release","name":"branch:release","color":"0e8a16","default":false},{"id":553540803,"url":"https://api.github.com/repos/metasfresh/metasfresh/labels/priority:high","name":"priority:high","color":"d93f0b","default":false},{"id":269476094,"url":"https://api.github.com/repos/metasfresh/metasfresh/labels/type:bug","name":"type:bug","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-12T14:44:15Z","updated_at":"2018-03-14T10:04:29Z","closed_at":"2018-03-14T10:04:29Z","author_association":"CONTRIBUTOR","body":"### Is this a bug or feature request?\r\nbug\r\ncaused by https://github.com/metasfresh/metasfresh-webui-api/issues/853\r\n\r\n### What is the current behavior?\r\nWhen starting serverRoot you get in console:\r\n```\r\n1. org.adempiere.ad.modelvalidator.ModelInterceptorInitException: org.adempiere.model.validator.AdempiereBaseValidator: org.adempiere.exceptions.AdempiereException: There are no lookup display columns defined for C_CompensationGroup_SchemaLine table.\r\n HINT: please go to Table and columns, and set IsIdentifier=Y on columns which you want to be part of record's display string. (global)\r\n\tat org.compiere.model.ModelValidationEngine.addModelInterceptorInitError(ModelValidationEngine.java:277)\r\n\tat org.compiere.model.ModelValidationEngine.loadModuleActivatorClass(ModelValidationEngine.java:419)\r\n\tat org.compiere.model.ModelValidationEngine.init(ModelValidationEngine.java:216)\r\n\tat org.compiere.model.ModelValidationEngine.get(ModelValidationEngine.java:114)\r\n\tat org.compiere.Adempiere.startupEnvironment(Adempiere.java:767)\r\n\tat org.compiere.Adempiere.startup(Adempiere.java:726)\r\n\tat de.metas.ServerBoot.adempiere(ServerBoot.java:161)\r\n\tat de.metas.ServerBoot$$EnhancerBySpringCGLIB$$6b8572e6.CGLIB$adempiere$1(<generated>)\r\n\tat de.metas.ServerBoot$$EnhancerBySpringCGLIB$$6b8572e6$$FastClassBySpringCGLIB$$9616b1cc.invoke(<generated>)\r\n\tat org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)\r\n\tat org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)\r\n\tat de.metas.ServerBoot$$EnhancerBySpringCGLIB$$6b8572e6.adempiere(<generated>)\r\n\tat sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)\r\n\tat org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)\r\n\tat org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)\r\n\tat org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:542)\r\n\tat org.springframework.context.support.AbstractApplicationContext.jrLockAndRefresh(AbstractApplicationContext.java)\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java)\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)\r\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737)\r\n\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370)\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:314)\r\n\tat org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)\r\n\tat de.metas.ServerBoot.main(ServerBoot.java:99)\r\nCaused by: org.adempiere.exceptions.AdempiereException: There are no lookup display columns defined for C_CompensationGroup_SchemaLine table.\r\n HINT: please go to Table and columns, and set IsIdentifier=Y on columns which you want to be part of record's display string.\r\n\tat org.adempiere.ad.service.impl.LookupDAO.retrieveLookupDisplayInfo(LookupDAO.java:928)\r\n\tat org.compiere.model.MLookupFactory.buildLookupInfo(MLookupFactory.java:461)\r\n\tat org.compiere.model.MLookupFactory.lambda$0(MLookupFactory.java:455)\r\n\tat com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:5065)\r\n\tat com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716)\r\n\tat com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424)\r\n\tat com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298)\r\n\tat com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211)\r\n\tat com.google.common.cache.LocalCache.get(LocalCache.java:4154)\r\n\tat com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:5060)\r\n\tat org.compiere.util.CCache.get(CCache.java:481)\r\n\tat org.compiere.util.CCache.getOrLoad(CCache.java:515)\r\n\tat org.compiere.model.MLookupFactory.getLookupInfo(MLookupFactory.java:455)\r\n\tat org.compiere.model.MLookupFactory.getLookup_TableDir(MLookupFactory.java:446)\r\n\tat org.compiere.model.MLookupFactory.getLookupInfo(MLookupFactory.java:221)\r\n\tat org.compiere.model.POInfoColumn.getLookupInfo(POInfoColumn.java:412)\r\n\tat org.compiere.model.POInfoColumn.getReferencedTableNameOrNull(POInfoColumn.java:392)\r\n\tat org.compiere.model.POInfo.getReferencedTableNameOrNull(POInfo.java:998)\r\n\tat de.metas.elasticsearch.denormalizers.impl.ESPOModelDenormalizer$ESPOModelDenormalizerBuilder.generateColumn(ESPOModelDenormalizer.java:374)\r\n\tat de.metas.elasticsearch.denormalizers.impl.ESPOModelDenormalizer$ESPOModelDenormalizerBuilder.build(ESPOModelDenormalizer.java:295)\r\n\tat de.metas.elasticsearch.denormalizers.impl.ESDenormalizerFactory.createDefaultModelDenormalizer(ESDenormalizerFactory.java:209)\r\n\tat de.metas.elasticsearch.denormalizers.impl.ESDenormalizerFactory.lambda$0(ESDenormalizerFactory.java:202)\r\n\tat com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:5065)\r\n\tat com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716)\r\n\tat com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424)\r\n\tat com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298)\r\n\tat com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211)\r\n\tat com.google.common.cache.LocalCache.get(LocalCache.java:4154)\r\n\tat com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:5060)\r\n\tat org.compiere.util.CCache.get(CCache.java:481)\r\n\tat org.compiere.util.CCache.getOrLoad(CCache.java:515)\r\n\tat de.metas.elasticsearch.denormalizers.impl.ESDenormalizerFactory.getModelDenormalizer(ESDenormalizerFactory.java:202)\r\n\tat de.metas.elasticsearch.indexer.impl.ESModelIndexerBuilder.getModelDenormalizer(ESModelIndexerBuilder.java:98)\r\n\tat de.metas.elasticsearch.indexer.impl.ESModelIndexer.<init>(ESModelIndexer.java:87)\r\n\tat de.metas.elasticsearch.indexer.impl.ESModelIndexerBuilder.build(ESModelIndexerBuilder.java:69)\r\n\tat de.metas.elasticsearch.indexer.impl.ESModelIndexersRegistry.addModelIndexer(ESModelIndexersRegistry.java:99)\r\n\tat de.metas.elasticsearch.ESServer.installConfig(ESServer.java:44)\r\n\tat de.metas.elasticsearch.impl.ESSystem.installConfig(ESSystem.java:96)\r\n\tat de.metas.elasticsearch.config.ESModelIndexerConfigBuilder.buildAndInstall(ESModelIndexerConfigBuilder.java:64)\r\n\tat de.metas.order.model.interceptor.OrderModuleInterceptor.registerInterceptors(OrderModuleInterceptor.java:52)\r\n\tat org.adempiere.ad.modelvalidator.AbstractModuleInterceptor.onInit(AbstractModuleInterceptor.java:70)\r\n\tat org.adempiere.ad.modelvalidator.AbstractModelInterceptor.initialize(AbstractModelInterceptor.java:44)\r\n\tat org.adempiere.ad.modelvalidator.ModelInterceptor2ModelValidatorWrapper.initialize(ModelInterceptor2ModelValidatorWrapper.java:110)\r\n\tat org.compiere.model.ModelValidationEngine.initialize(ModelValidationEngine.java:484)\r\n\tat org.compiere.model.ModelValidationEngine.addModelValidator(ModelValidationEngine.java:1432)\r\n\tat org.adempiere.model.validator.AdempiereBaseValidator.registerInterceptors(AdempiereBaseValidator.java:173)\r\n\tat org.adempiere.ad.modelvalidator.AbstractModuleInterceptor.onInit(AbstractModuleInterceptor.java:70)\r\n\tat org.adempiere.ad.modelvalidator.AbstractModelInterceptor.initialize(AbstractModelInterceptor.java:44)\r\n\tat org.adempiere.ad.modelvalidator.ModelInterceptor2ModelValidatorWrapper.initialize(ModelInterceptor2ModelValidatorWrapper.java:110)\r\n\tat org.compiere.model.ModelValidationEngine.initialize(ModelValidationEngine.java:484)\r\n\tat org.compiere.model.ModelValidationEngine.addModelValidator(ModelValidationEngine.java:1432)\r\n\tat org.compiere.model.ModelValidationEngine.loadModuleActivatorClass(ModelValidationEngine.java:390)\r\n\t... 64 more\r\n```\r\n\r\n#### Which are the steps to reproduce?\r\n\r\n### What is the expected or desired behavior?\r\n"}}
{"actor":{"display_login":"metas-lc"}}