Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gorm-mongodb:9.0.0-SNAPSHOT Failing Tests #755

Open
jamesfredley opened this issue Sep 17, 2024 · 0 comments
Open

gorm-mongodb:9.0.0-SNAPSHOT Failing Tests #755

jamesfredley opened this issue Sep 17, 2024 · 0 comments
Assignees

Comments

@jamesfredley
Copy link
Contributor

jamesfredley commented Sep 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant