java.lang.IllegalArgumentException

Incorrect type for parameter [tenantId]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • Stack trace

    • java.lang.IllegalArgumentException: Incorrect type for parameter [tenantId] at org.hibernate.internal.FilterImpl.setParameter(FilterImpl.java:82) at org.grails.orm.hibernate.AbstractHibernateDatastore.enableMultiTenancyFilter(AbstractHibernateDatastore.java:342) at org.grails.orm.hibernate.AbstractHibernateDatastore$1.call(AbstractHibernateDatastore.java:368) at groovy.lang.Closure.call(Closure.java:430) at org.grails.orm.hibernate.GrailsHibernateTemplate$1.doInHibernate(GrailsHibernateTemplate.java:140) at org.grails.orm.hibernate.GrailsHibernateTemplate.doExecute(GrailsHibernateTemplate.java:243) at org.grails.orm.hibernate.GrailsHibernateTemplate.execute(GrailsHibernateTemplate.java:187) at org.grails.orm.hibernate.GrailsHibernateTemplate.executeWithNewSession(GrailsHibernateTemplate.java:137) at org.grails.orm.hibernate.AbstractHibernateDatastore.withNewSession(AbstractHibernateDatastore.java:322) at org.grails.orm.hibernate.AbstractHibernateDatastore.withNewSession(AbstractHibernateDatastore.java:331) at grails.gorm.multitenancy.Tenants.withTenantIdInternal_closure1(Tenants.groovy:182) at grails.gorm.multitenancy.Tenants$CurrentTenant.withTenant(Tenants.groovy:273) at grails.gorm.multitenancy.Tenants.withTenantIdInternal(Tenants.groovy:181) at grails.gorm.multitenancy.Tenants.withId(Tenants.groovy:157)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,