org.springframework.dao.InvalidDataAccessApiUsageException: The attribute [name] is not present in the managed type [EntityTypeImpl@988673052:EntityBo [ javaType: class org.kuali.rice.kim.impl.identity.entity.EntityBo descriptor: RelationalDescriptor(org.kuali.rice.kim.impl.identity.entity.EntityBo --> [DatabaseTable(KRIM_ENTITY_T)]), mappings: 16]].; nested exception is java.lang.IllegalArgumentException: The attribute [name] is not present in the managed type [EntityTypeImpl@988673052:EntityBo [ javaType: class org.kuali.rice.kim.impl.identity.entity.EntityBo descriptor: RelationalDescriptor(org.kuali.rice.kim.impl.identity.entity.EntityBo --> [DatabaseTable(KRIM_ENTITY_T)]), mappings: 16]].

Kuali JIRA | Claus Niesen | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    The filterSearchCriteria is never called since getControl() always returns null. {code:title=LookupInputField.java} public Map<String, String> filterSearchCriteria(Map<String, String> searchCriteria) { if (getControl() instanceof FilterableLookupCriteriaControl) { return ((FilterableLookupCriteriaControl) getControl()).filterSearchCriteria(getPropertyName(), searchCriteria); } else { return searchCriteria; } } {code} This is due to the performance improvement that pulled content from the view which included the control information. This error can be recreated via the Travel Account Lookup. On the KRAD Demo Travel Account Lookup use the Quickfinder to return a Fiscal Officer. When executing the search the following error will be thrown: {code} org.springframework.dao.InvalidDataAccessApiUsageException: The attribute [name] is not present in the managed type [EntityTypeImpl@988673052:EntityBo [ javaType: class org.kuali.rice.kim.impl.identity.entity.EntityBo descriptor: RelationalDescriptor(org.kuali.rice.kim.impl.identity.entity.EntityBo --> [DatabaseTable(KRIM_ENTITY_T)]), mappings: 16]].; nested exception is java.lang.IllegalArgumentException: The attribute [name] is not present in the managed type [EntityTypeImpl@988673052:EntityBo [ javaType: class org.kuali.rice.kim.impl.identity.entity.EntityBo descriptor: RelationalDescriptor(org.kuali.rice.kim.impl.identity.entity.EntityBo --> [DatabaseTable(KRIM_ENTITY_T)]), mappings: 16]]. at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:296) at org.springframework.orm.jpa.DefaultJpaDialect.translateExceptionIfPossible(DefaultJpaDialect.java:121) {code}

    Kuali JIRA | 3 years ago | Claus Niesen
    org.springframework.dao.InvalidDataAccessApiUsageException: The attribute [name] is not present in the managed type [EntityTypeImpl@988673052:EntityBo [ javaType: class org.kuali.rice.kim.impl.identity.entity.EntityBo descriptor: RelationalDescriptor(org.kuali.rice.kim.impl.identity.entity.EntityBo --> [DatabaseTable(KRIM_ENTITY_T)]), mappings: 16]].; nested exception is java.lang.IllegalArgumentException: The attribute [name] is not present in the managed type [EntityTypeImpl@988673052:EntityBo [ javaType: class org.kuali.rice.kim.impl.identity.entity.EntityBo descriptor: RelationalDescriptor(org.kuali.rice.kim.impl.identity.entity.EntityBo --> [DatabaseTable(KRIM_ENTITY_T)]), mappings: 16]].

    1 unregistered visitors

    Root Cause Analysis

    1. org.springframework.dao.InvalidDataAccessApiUsageException

      The attribute [name] is not present in the managed type [EntityTypeImpl@988673052:EntityBo [ javaType: class org.kuali.rice.kim.impl.identity.entity.EntityBo descriptor: RelationalDescriptor(org.kuali.rice.kim.impl.identity.entity.EntityBo --> [DatabaseTable(KRIM_ENTITY_T)]), mappings: 16]].; nested exception is java.lang.IllegalArgumentException: The attribute [name] is not present in the managed type [EntityTypeImpl@988673052:EntityBo [ javaType: class org.kuali.rice.kim.impl.identity.entity.EntityBo descriptor: RelationalDescriptor(org.kuali.rice.kim.impl.identity.entity.EntityBo --> [DatabaseTable(KRIM_ENTITY_T)]), mappings: 16]].

      at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible()
    2. Spring ORM
      DefaultJpaDialect.translateExceptionIfPossible
      1. org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:296)
      2. org.springframework.orm.jpa.DefaultJpaDialect.translateExceptionIfPossible(DefaultJpaDialect.java:121)
      2 frames