Skip to content

fix(deps): update dependency org.mongodb:mongodb-driver-reactivestreams to v5 #814

fix(deps): update dependency org.mongodb:mongodb-driver-reactivestreams to v5

fix(deps): update dependency org.mongodb:mongodb-driver-reactivestreams to v5 #814

GitHub Actions / Java CI / Test Report (17) failed Nov 11, 2024 in 0s

25 tests run, 22 passed, 0 skipped, 3 failed.

Annotations

Check failure on line 61 in mongo-sync/src/test/groovy/io/micronaut/configuration/mongo/sync/MongoConfigurationSpec.groovy

See this annotation in the file changed.

@github-actions github-actions / Java CI / Test Report (17)

MongoConfigurationSpec.test a basic blocking driver connection

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [com.mongodb.client.MongoClient]

Message: com/mongodb/connection/StreamFactory
Path Taken: DefaultMongoClientFactory.mongoClient(MongoClientSettings settings)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [com.mongodb.client.MongoClient]

Message: com/mongodb/connection/StreamFactory
Path Taken: DefaultMongoClientFactory.mongoClient(MongoClientSettings settings)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2349)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2304)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2316)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3127)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3029)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2990)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2756)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1745)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:842)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:834)
	at io.micronaut.configuration.mongo.sync.MongoConfigurationSpec.test a basic blocking driver connection(MongoConfigurationSpec.groovy:61)
Caused by: java.lang.NoClassDefFoundError: com/mongodb/connection/StreamFactory
	at app//com.mongodb.client.MongoClients.create(MongoClients.java:108)
	at app//com.mongodb.client.MongoClients.create(MongoClients.java:50)
	at app//io.micronaut.configuration.mongo.sync.DefaultMongoClientFactory.mongoClient(DefaultMongoClientFactory.java:49)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2334)
	... 11 more
Caused by: java.lang.ClassNotFoundException: com.mongodb.connection.StreamFactory
	at [email protected]/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at [email protected]/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
	... 15 more

Check failure on line 84 in mongo-sync/src/test/groovy/io/micronaut/configuration/mongo/sync/MongoConfigurationSpec.groovy

See this annotation in the file changed.

@github-actions github-actions / Java CI / Test Report (17)

MongoConfigurationSpec.test id property is set automatically after inserting the document

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [com.mongodb.client.MongoClient]

Message: com/mongodb/connection/StreamFactory
Path Taken: DefaultMongoClientFactory.mongoClient(MongoClientSettings settings)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [com.mongodb.client.MongoClient]

Message: com/mongodb/connection/StreamFactory
Path Taken: DefaultMongoClientFactory.mongoClient(MongoClientSettings settings)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2349)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2304)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2316)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3127)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3029)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2990)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2756)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1745)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:842)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:834)
	at io.micronaut.configuration.mongo.sync.MongoConfigurationSpec.test id property is set automatically after inserting the document(MongoConfigurationSpec.groovy:84)
Caused by: java.lang.NoClassDefFoundError: com/mongodb/connection/StreamFactory
	at app//com.mongodb.client.MongoClients.create(MongoClients.java:108)
	at app//com.mongodb.client.MongoClients.create(MongoClients.java:50)
	at app//io.micronaut.configuration.mongo.sync.DefaultMongoClientFactory.mongoClient(DefaultMongoClientFactory.java:49)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2334)
	... 11 more
Caused by: java.lang.ClassNotFoundException: com.mongodb.connection.StreamFactory
	at [email protected]/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at [email protected]/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
	... 15 more

Check failure on line 136 in mongo-sync/src/test/groovy/io/micronaut/configuration/mongo/sync/MongoConfigurationSpec.groovy

See this annotation in the file changed.

@github-actions github-actions / Java CI / Test Report (17)

MongoConfigurationSpec.test custom enum codec is used instead of default mongo enum codec

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [com.mongodb.client.MongoClient]

Message: com/mongodb/connection/StreamFactory
Path Taken: DefaultMongoClientFactory.mongoClient(MongoClientSettings settings)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [com.mongodb.client.MongoClient]

Message: com/mongodb/connection/StreamFactory
Path Taken: DefaultMongoClientFactory.mongoClient(MongoClientSettings settings)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2349)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2304)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2316)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3127)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3029)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2990)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2756)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1745)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:842)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:834)
	at io.micronaut.configuration.mongo.sync.MongoConfigurationSpec.test custom enum codec is used instead of default mongo enum codec(MongoConfigurationSpec.groovy:136)
Caused by: java.lang.NoClassDefFoundError: com/mongodb/connection/StreamFactory
	at app//com.mongodb.client.MongoClients.create(MongoClients.java:108)
	at app//com.mongodb.client.MongoClients.create(MongoClients.java:50)
	at app//io.micronaut.configuration.mongo.sync.DefaultMongoClientFactory.mongoClient(DefaultMongoClientFactory.java:49)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2334)
	... 11 more
Caused by: java.lang.ClassNotFoundException: com.mongodb.connection.StreamFactory
	at [email protected]/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at [email protected]/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
	... 15 more