Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

gorm-mongodb:9.0.0-SNAPSHOT Failing Tests #755

@jamesfredley

Description

@jamesfredley

Requires

4 tests fail with error similar to

Test GORM access
java.lang.IllegalStateException: Either class [functional.tests.Book] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity.
	at org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:467)
	at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:315)
	at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:312)
	at org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormInstanceApi(GormEntity.groovy:1366)
	at org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:153)
	at functional.tests.BookUnitSpec.Test GORM access(BookUnitSpec.groovy:30)

Could not find which method () to invoke from this list: public org.springframework.security.crypto.password.Pbkdf2PasswordEncoder#(java.lang.CharSequence, int, int, int) public org.springframework.security.crypto.password.Pbkdf2PasswordEncoder#(java.lang.CharSequence, int, int, org.springframework.security.crypto.password.Pbkdf2PasswordEncoder$SecretKeyFactoryAlgorithm) at app//grails.plugin.springsecurity.SpringSecurityCoreGrailsPlugin.idToPasswordEncoder(SpringSecurityCoreGrailsPlugin.groovy:1125) at grails.plugin.springsecurity.SpringSecurityCoreGrailsPlugin.doWithSpring_closure12(SpringSecurityCoreGrailsPlugin.groovy:492) at app//groovy.lang.Closure.call(Closure.java:433) at app//groovy.lang.Closure.call(Closure.java:412) at app//grails.spring.BeanBuilder.invokeBeanDefiningClosure(BeanBuilder.java:759) at app//grails.spring.BeanBuilder.beans(BeanBuilder.java:588) at app//grails.spring.BeanBuilder.invokeMethod(BeanBuilder.java:531) at

remove -x test -x integrationTest from gradle.yml and groovy-joint-workflow.yml

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions