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

Broken tool when synch users? #4

Open
neogeogre opened this issue May 12, 2022 · 1 comment
Open

Broken tool when synch users? #4

neogeogre opened this issue May 12, 2022 · 1 comment

Comments

@neogeogre
Copy link

neogeogre commented May 12, 2022

I did the setup in keycloak, entered the aws credentials of a user pool but when clicking synch users I got the following error logs:

12:12:29,446 INFO  [stdout] (default task-1717) src/haxe/com/beeinventor/keycloak/Cognito.hx:52: paginationToken, null
12:12:29,446 INFO  [stdout] (default task-1717) src/haxe/com/beeinventor/keycloak/Cognito.hx:57: got 2 users
12:12:29,446 INFO  [stdout] (default task-1717) src/haxe/com/beeinventor/keycloak/CognitoMigrationUserStorageProvider.hx:145: createUsersIfNotExist 2
12:12:29,446 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-1717) Uncaught server error: java.lang.NoSuchMethodError: 'java.util.stream.Stream org.keycloak.storage.user.UserQueryProvider.searchForUserByUserAttributeStream(org.keycloak.models.RealmModel, java.lang.String, java.lang.String)'
	at deployment.keycloak-cognito-migration-1.5.1.jar//com.beeinventor.keycloak.CognitoMigrationUserStorageProvider.createUsersIfNotExist(src/haxe/com/beeinventor/keycloak/CognitoMigrationUserStorageProvider.hx:151)
	at deployment.keycloak-cognito-migration-1.5.1.jar//com.beeinventor.keycloak.CognitoMigrationUserStorageProviderFactory$Closure_sync_0.invoke(src/haxe/com/beeinventor/keycloak/CognitoMigrationUserStorageProviderFactory.hx:229)

Any ideas about what can be wrong with the NoSuchMethodError searchForUserByUserAttributeStream ?

@JasonLKelly
Copy link

I'm also seeing this in Keycloak 12.0.4. Any suggestions? Thanks

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

No branches or pull requests

2 participants