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

fix(deps): update managed.protobuf to v4 (major) #867

Closed
wants to merge 3 commits into from

fix some compile issues by adding compile dependency on com.google.pr…

3f462ba
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

fix(deps): update managed.protobuf to v4 (major) #867

fix some compile issues by adding compile dependency on com.google.pr…
3f462ba
Select commit
Loading
Failed to load commit list.
GitHub Actions / Java CI / Test Report (17) failed Mar 27, 2024 in 0s

28 tests run, 10 passed, 0 skipped, 18 failed.

Annotations

Check failure on line 1 in grpc-client-runtime/src/test/groovy/io/micronaut/grpc/GrpcNamedChannelSpec.groovy

See this annotation in the file changed.

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

GrpcNamedChannelSpec.test named client

org.opentest4j.MultipleFailuresError: Multiple Failures (4 failures)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: com/google/protobuf/RuntimeVersion$RuntimeDomain
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
org.opentest4j.MultipleFailuresError: Multiple Failures (4 failures)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: com/google/protobuf/RuntimeVersion$RuntimeDomain
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//org.spockframework.runtime.ErrorInfoCollector.assertEmpty(ErrorInfoCollector.java:32)
	at app//org.spockframework.runtime.IterationNode.execute(IterationNode.java:51)
	at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:58)
	at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:15)
	at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
	at app//org.spockframework.runtime.IterationNode.lambda$around$0(IterationNode.java:67)
	at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunIteration$5(PlatformSpecRunner.java:236)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
	at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
	at app//org.spockframework.runtime.PlatformSpecRunner.runIteration(PlatformSpecRunner.java:218)
	at app//org.spockframework.runtime.IterationNode.around(IterationNode.java:67)
	at app//org.spockframework.runtime.SimpleFeatureNode.lambda$around$0(SimpleFeatureNode.java:52)
	at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
	at app//org.spockframework.runtime.FeatureNode.lambda$around$0(FeatureNode.java:41)
	at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunFeature$4(PlatformSpecRunner.java:199)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
	at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
	at app//org.spockframework.runtime.PlatformSpecRunner.runFeature(PlatformSpecRunner.java:192)
	at app//org.spockframework.runtime.FeatureNode.around(FeatureNode.java:41)
	at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:52)
	at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:15)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
	at app//org.spockframework.runtime.SpecNode.lambda$around$0(SpecNode.java:63)
	at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunSpec$0(PlatformSpecRunner.java:61)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
	at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
	at app//org.spockframework.runtime.PlatformSpecRunner.runSpec(PlatformSpecRunner.java:55)
	at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:63)
	at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:11)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 28 in grpc-client-runtime/src/test/groovy/io/micronaut/grpc/GrpcNamedChannelSpec.groovy

See this annotation in the file changed.

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

GrpcNamedChannelSpec.test named client times out with connect-on-startup

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2347)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.GrpcNamedChannelSpec.test named client times out with connect-on-startup(GrpcNamedChannelSpec.groovy:52)
	Suppressed: java.lang.NullPointerException: Cannot invoke method close() on null object
		at app//org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:113)
		at app//org.codehaus.groovy.vmplugin.v8.IndyGuardsFiltersAndSignatures.invokeGroovyObjectInvoker(IndyGuardsFiltersAndSignatures.java:151)
		at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
		at app//io.micronaut.grpc.GrpcNamedChannelSpec.$spock_feature_0_1(GrpcNamedChannelSpec.groovy:69)
		at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
		at app//org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:187)
		at app//org.spockframework.runtime.model.MethodInfo.lambda$new$0(MethodInfo.java:49)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runFeatureMethod(PlatformSpecRunner.java:324)
		at app//org.spockframework.runtime.IterationNode.execute(IterationNode.java:50)
		at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:58)
		at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:15)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.IterationNode.lambda$around$0(IterationNode.java:67)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunIteration$5(PlatformSpecRunner.java:236)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runIteration(PlatformSpecRunner.java:218)
		at app//org.spockframework.runtime.IterationNode.around(IterationNode.java:67)
		at app//org.spockframework.runtime.SimpleFeatureNode.lambda$around$0(SimpleFeatureNode.java:52)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.FeatureNode.lambda$around$0(FeatureNode.java:41)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunFeature$4(PlatformSpecRunner.java:199)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runFeature(PlatformSpecRunner.java:192)
		at app//org.spockframework.runtime.FeatureNode.around(FeatureNode.java:41)
		at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:52)
		at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:15)
		at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.SpecNode.lambda$around$0(SpecNode.java:63)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunSpec$0(PlatformSpecRunner.java:61)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runSpec(PlatformSpecRunner.java:55)
		at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:63)
		at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:11)
		at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.grpc.examples.helloworld.HelloRequest
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	... 25 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain [in thread "main"]
	at app//io.grpc.examples.helloworld.HelloRequest.<clinit>(HelloRequest.java:20)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.GrpcNamedChannelSpec.test named client(GrpcNamedChannelSpec.groovy:28)

Check failure on line 1 in grpc-client-runtime/src/test/groovy/io/micronaut/grpc/GrpcNamedChannelSpec.groovy

See this annotation in the file changed.

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

GrpcNamedChannelSpec.test named client successfully with connect-on-startup

org.opentest4j.MultipleFailuresError: Multiple Failures (4 failures)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
org.opentest4j.MultipleFailuresError: Multiple Failures (4 failures)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//org.spockframework.runtime.ErrorInfoCollector.assertEmpty(ErrorInfoCollector.java:32)
	at app//org.spockframework.runtime.IterationNode.execute(IterationNode.java:51)
	at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:58)
	at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:15)
	at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
	at app//org.spockframework.runtime.IterationNode.lambda$around$0(IterationNode.java:67)
	at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunIteration$5(PlatformSpecRunner.java:236)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
	at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
	at app//org.spockframework.runtime.PlatformSpecRunner.runIteration(PlatformSpecRunner.java:218)
	at app//org.spockframework.runtime.IterationNode.around(IterationNode.java:67)
	at app//org.spockframework.runtime.SimpleFeatureNode.lambda$around$0(SimpleFeatureNode.java:52)
	at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
	at app//org.spockframework.runtime.FeatureNode.lambda$around$0(FeatureNode.java:41)
	at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunFeature$4(PlatformSpecRunner.java:199)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
	at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
	at app//org.spockframework.runtime.PlatformSpecRunner.runFeature(PlatformSpecRunner.java:192)
	at app//org.spockframework.runtime.FeatureNode.around(FeatureNode.java:41)
	at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:52)
	at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:15)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
	at app//org.spockframework.runtime.SpecNode.lambda$around$0(SpecNode.java:63)
	at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunSpec$0(PlatformSpecRunner.java:61)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
	at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
	at app//org.spockframework.runtime.PlatformSpecRunner.runSpec(PlatformSpecRunner.java:55)
	at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:63)
	at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:11)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 1 in grpc-client-runtime/src/test/groovy/io/micronaut/grpc/GrpcNamedChannelSpec.groovy

See this annotation in the file changed.

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

GrpcNamedChannelSpec.test named client - eager init

org.opentest4j.MultipleFailuresError: Multiple Failures (4 failures)
	io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.grpc.examples.helloworld.GreeterGrpc$GreeterBlockingStub] could not be loaded: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: GrpcServerChannel.serverChannel(GrpcEmbeddedServer server,ExecutorService executorService,List clientInterceptors) --> GrpcServerChannel.serverChannel([GrpcEmbeddedServer server],ExecutorService executorService,List clientInterceptors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.grpc.examples.helloworld.GreeterGrpc$GreeterBlockingStub] could not be loaded: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: GrpcServerChannel.serverChannel(GrpcEmbeddedServer server,ExecutorService executorService,List clientInterceptors) --> GrpcServerChannel.serverChannel([GrpcEmbeddedServer server],ExecutorService executorService,List clientInterceptors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.grpc.examples.helloworld.GreeterGrpc$GreeterBlockingStub] could not be loaded: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: GrpcServerChannel.serverChannel(GrpcEmbeddedServer server,ExecutorService executorService,List clientInterceptors) --> GrpcServerChannel.serverChannel([GrpcEmbeddedServer server],ExecutorService executorService,List clientInterceptors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.grpc.examples.helloworld.GreeterGrpc$GreeterBlockingStub] could not be loaded: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: GrpcServerChannel.serverChannel(GrpcEmbeddedServer server,ExecutorService executorService,List clientInterceptors) --> GrpcServerChannel.serverChannel([GrpcEmbeddedServer server],ExecutorService executorService,List clientInterceptors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
org.opentest4j.MultipleFailuresError: Multiple Failures (4 failures)
	io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.grpc.examples.helloworld.GreeterGrpc$GreeterBlockingStub] could not be loaded: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: GrpcServerChannel.serverChannel(GrpcEmbeddedServer server,ExecutorService executorService,List clientInterceptors) --> GrpcServerChannel.serverChannel([GrpcEmbeddedServer server],ExecutorService executorService,List clientInterceptors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.grpc.examples.helloworld.GreeterGrpc$GreeterBlockingStub] could not be loaded: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: GrpcServerChannel.serverChannel(GrpcEmbeddedServer server,ExecutorService executorService,List clientInterceptors) --> GrpcServerChannel.serverChannel([GrpcEmbeddedServer server],ExecutorService executorService,List clientInterceptors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.grpc.examples.helloworld.GreeterGrpc$GreeterBlockingStub] could not be loaded: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: GrpcServerChannel.serverChannel(GrpcEmbeddedServer server,ExecutorService executorService,List clientInterceptors) --> GrpcServerChannel.serverChannel([GrpcEmbeddedServer server],ExecutorService executorService,List clientInterceptors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.grpc.examples.helloworld.GreeterGrpc$GreeterBlockingStub] could not be loaded: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: GrpcServerChannel.serverChannel(GrpcEmbeddedServer server,ExecutorService executorService,List clientInterceptors) --> GrpcServerChannel.serverChannel([GrpcEmbeddedServer server],ExecutorService executorService,List clientInterceptors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//org.spockframework.runtime.ErrorInfoCollector.assertEmpty(ErrorInfoCollector.java:32)
	at app//org.spockframework.runtime.IterationNode.execute(IterationNode.java:51)
	at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:58)
	at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:15)
	at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
	at app//org.spockframework.runtime.IterationNode.lambda$around$0(IterationNode.java:67)
	at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunIteration$5(PlatformSpecRunner.java:236)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
	at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
	at app//org.spockframework.runtime.PlatformSpecRunner.runIteration(PlatformSpecRunner.java:218)
	at app//org.spockframework.runtime.IterationNode.around(IterationNode.java:67)
	at app//org.spockframework.runtime.SimpleFeatureNode.lambda$around$0(SimpleFeatureNode.java:52)
	at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
	at app//org.spockframework.runtime.FeatureNode.lambda$around$0(FeatureNode.java:41)
	at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunFeature$4(PlatformSpecRunner.java:199)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
	at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
	at app//org.spockframework.runtime.PlatformSpecRunner.runFeature(PlatformSpecRunner.java:192)
	at app//org.spockframework.runtime.FeatureNode.around(FeatureNode.java:41)
	at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:52)
	at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:15)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
	at app//org.spockframework.runtime.SpecNode.lambda$around$0(SpecNode.java:63)
	at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunSpec$0(PlatformSpecRunner.java:61)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
	at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
	at app//org.spockframework.runtime.PlatformSpecRunner.runSpec(PlatformSpecRunner.java:55)
	at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:63)
	at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:11)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 1 in grpc-client-runtime/src/test/groovy/io/micronaut/grpc/HelloWordGrpcSpec.groovy

See this annotation in the file changed.

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

HelloWordGrpcSpec.initializationError

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2347)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.beforeClass(AbstractMicronautExtension.java:344)
	at app//io.micronaut.test.extensions.spock.MicronautSpockExtension.lambda$visitSpecAnnotation$2(MicronautSpockExtension.java:93)
	at app//org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.grpc.examples.helloworld.HelloRequest
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	... 27 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain [in thread "main"]
	at app//io.grpc.examples.helloworld.HelloRequest.<clinit>(HelloRequest.java:20)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.GrpcNamedChannelSpec.test named client(GrpcNamedChannelSpec.groovy:28)

Check failure on line 62 in grpc-client-runtime/src/test/groovy/io/micronaut/grpc/discovery/GrpcServiceDiscoverySpec.groovy

See this annotation in the file changed.

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

GrpcServiceDiscoverySpec.test GRPC named service discovery

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2347)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.test GRPC named service discovery(GrpcServiceDiscoverySpec.groovy:43)
	Suppressed: java.lang.NullPointerException: Cannot invoke method stop() on null object
		at app//org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:113)
		at app//org.codehaus.groovy.vmplugin.v8.IndyGuardsFiltersAndSignatures.invokeGroovyObjectInvoker(IndyGuardsFiltersAndSignatures.java:151)
		at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
		at app//io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.$spock_feature_0_0(GrpcServiceDiscoverySpec.groovy:62)
		at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
		at app//org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:187)
		at app//org.spockframework.runtime.model.MethodInfo.lambda$new$0(MethodInfo.java:49)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runFeatureMethod(PlatformSpecRunner.java:324)
		at app//org.spockframework.runtime.IterationNode.execute(IterationNode.java:50)
		at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:58)
		at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:15)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.IterationNode.lambda$around$0(IterationNode.java:67)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunIteration$5(PlatformSpecRunner.java:236)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runIteration(PlatformSpecRunner.java:218)
		at app//org.spockframework.runtime.IterationNode.around(IterationNode.java:67)
		at app//org.spockframework.runtime.SimpleFeatureNode.lambda$around$0(SimpleFeatureNode.java:52)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.FeatureNode.lambda$around$0(FeatureNode.java:41)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunFeature$4(PlatformSpecRunner.java:199)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runFeature(PlatformSpecRunner.java:192)
		at app//org.spockframework.runtime.FeatureNode.around(FeatureNode.java:41)
		at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:52)
		at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:15)
		at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.SpecNode.lambda$around$0(SpecNode.java:63)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunSpec$0(PlatformSpecRunner.java:61)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runSpec(PlatformSpecRunner.java:55)
		at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:63)
		at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:11)
		at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.grpc.examples.helloworld.HelloRequest
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	... 25 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain [in thread "main"]
	at app//io.grpc.examples.helloworld.HelloRequest.<clinit>(HelloRequest.java:20)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.GrpcNamedChannelSpec.test named client(GrpcNamedChannelSpec.groovy:28)

Check failure on line 109 in grpc-client-runtime/src/test/groovy/io/micronaut/grpc/discovery/GrpcServiceDiscoverySpec.groovy

See this annotation in the file changed.

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

GrpcServiceDiscoverySpec.test GRPC channel explicit URI

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2347)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.test GRPC channel explicit URI(GrpcServiceDiscoverySpec.groovy:71)
	Suppressed: java.lang.NullPointerException: Cannot invoke method stop() on null object
		at app//org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:113)
		at app//org.codehaus.groovy.vmplugin.v8.IndyGuardsFiltersAndSignatures.invokeGroovyObjectInvoker(IndyGuardsFiltersAndSignatures.java:151)
		at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
		at app//io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.$spock_feature_0_1(GrpcServiceDiscoverySpec.groovy:109)
		at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
		at app//org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:187)
		at app//org.spockframework.runtime.model.MethodInfo.lambda$new$0(MethodInfo.java:49)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runFeatureMethod(PlatformSpecRunner.java:324)
		at app//org.spockframework.runtime.IterationNode.execute(IterationNode.java:50)
		at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:58)
		at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:15)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.IterationNode.lambda$around$0(IterationNode.java:67)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunIteration$5(PlatformSpecRunner.java:236)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runIteration(PlatformSpecRunner.java:218)
		at app//org.spockframework.runtime.IterationNode.around(IterationNode.java:67)
		at app//org.spockframework.runtime.SimpleFeatureNode.lambda$around$0(SimpleFeatureNode.java:52)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.FeatureNode.lambda$around$0(FeatureNode.java:41)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunFeature$4(PlatformSpecRunner.java:199)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runFeature(PlatformSpecRunner.java:192)
		at app//org.spockframework.runtime.FeatureNode.around(FeatureNode.java:41)
		at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:52)
		at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:15)
		at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.SpecNode.lambda$around$0(SpecNode.java:63)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunSpec$0(PlatformSpecRunner.java:61)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runSpec(PlatformSpecRunner.java:55)
		at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:63)
		at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:11)
		at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.grpc.examples.helloworld.HelloRequest
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	... 25 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain [in thread "main"]
	at app//io.grpc.examples.helloworld.HelloRequest.<clinit>(HelloRequest.java:20)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.GrpcNamedChannelSpec.test named client(GrpcNamedChannelSpec.groovy:28)

Check failure on line 179 in grpc-client-runtime/src/test/groovy/io/micronaut/grpc/discovery/GrpcServiceDiscoverySpec.groovy

See this annotation in the file changed.

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

GrpcServiceDiscoverySpec.test GRPC channel explicit URI - no DNS

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2347)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.test GRPC channel explicit URI - no DNS(GrpcServiceDiscoverySpec.groovy:118)
	Suppressed: java.lang.NullPointerException: Cannot invoke method stop() on null object
		at app//org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:113)
		at app//org.codehaus.groovy.vmplugin.v8.IndyGuardsFiltersAndSignatures.invokeGroovyObjectInvoker(IndyGuardsFiltersAndSignatures.java:151)
		at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
		at app//io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.$spock_feature_0_2(GrpcServiceDiscoverySpec.groovy:179)
		at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
		at app//org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:187)
		at app//org.spockframework.runtime.model.MethodInfo.lambda$new$0(MethodInfo.java:49)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runFeatureMethod(PlatformSpecRunner.java:324)
		at app//org.spockframework.runtime.IterationNode.execute(IterationNode.java:50)
		at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:58)
		at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:15)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.IterationNode.lambda$around$0(IterationNode.java:67)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunIteration$5(PlatformSpecRunner.java:236)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runIteration(PlatformSpecRunner.java:218)
		at app//org.spockframework.runtime.IterationNode.around(IterationNode.java:67)
		at app//org.spockframework.runtime.SimpleFeatureNode.lambda$around$0(SimpleFeatureNode.java:52)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.FeatureNode.lambda$around$0(FeatureNode.java:41)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunFeature$4(PlatformSpecRunner.java:199)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runFeature(PlatformSpecRunner.java:192)
		at app//org.spockframework.runtime.FeatureNode.around(FeatureNode.java:41)
		at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:52)
		at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:15)
		at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.SpecNode.lambda$around$0(SpecNode.java:63)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunSpec$0(PlatformSpecRunner.java:61)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runSpec(PlatformSpecRunner.java:55)
		at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:63)
		at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:11)
		at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.grpc.examples.helloworld.HelloRequest
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	... 25 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain [in thread "main"]
	at app//io.grpc.examples.helloworld.HelloRequest.<clinit>(HelloRequest.java:20)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.GrpcNamedChannelSpec.test named client(GrpcNamedChannelSpec.groovy:28)

Check failure on line 1 in grpc-opentracing/src/test/groovy/io/micronaut/grpc/server/tracing/GrpcTracingSpec.groovy

See this annotation in the file changed.

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

GrpcTracingSpec.initializationError

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: com/google/protobuf/RuntimeVersion$RuntimeDomain
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: com/google/protobuf/RuntimeVersion$RuntimeDomain
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2347)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.beforeClass(AbstractMicronautExtension.java:344)
	at app//io.micronaut.test.extensions.spock.MicronautSpockExtension.lambda$visitSpecAnnotation$2(MicronautSpockExtension.java:93)
	at app//org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain
	at app//io.grpc.examples.helloworld.HelloRequest.<clinit>(HelloRequest.java:20)
	at app//io.grpc.examples.helloworld.GreeterGrpc.getSayHelloMethod(GreeterGrpc.java:41)
	at app//io.grpc.examples.helloworld.GreeterGrpc.getServiceDescriptor(GreeterGrpc.java:316)
	at app//io.grpc.examples.helloworld.GreeterGrpc.bindService(GreeterGrpc.java:260)
	at app//io.grpc.examples.helloworld.GreeterGrpc$GreeterImplBase.bindService(GreeterGrpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	... 27 more
Caused by: java.lang.ClassNotFoundException: com.google.protobuf.RuntimeVersion$RuntimeDomain
	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:520)
	... 37 more

Check failure on line 34 in grpc-server-runtime/src/test/groovy/io/micronaut/grpc/GrpcEmbeddedServerSpec.groovy

See this annotation in the file changed.

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

GrpcEmbeddedServerSpec.test fires server startup events - no application name

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2347)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:190)
	at io.micronaut.grpc.GrpcEmbeddedServerSpec.test fires server startup events - no application name(GrpcEmbeddedServerSpec.groovy:34)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.grpc.examples.helloworld.HelloRequest
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	... 26 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain [in thread "main"]
	at app//io.grpc.examples.helloworld.HelloRequest.<clinit>(HelloRequest.java:20)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.test GRPC named service discovery(GrpcServiceDiscoverySpec.groovy:37)

Check failure on line 58 in grpc-server-runtime/src/test/groovy/io/micronaut/grpc/GrpcEmbeddedServerSpec.groovy

See this annotation in the file changed.

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

GrpcEmbeddedServerSpec.test fires server startup events with application name

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2347)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.GrpcEmbeddedServerSpec.test fires server startup events with application name(GrpcEmbeddedServerSpec.groovy:58)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.grpc.examples.helloworld.HelloRequest
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	... 25 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain [in thread "main"]
	at app//io.grpc.examples.helloworld.HelloRequest.<clinit>(HelloRequest.java:20)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.test GRPC named service discovery(GrpcServiceDiscoverySpec.groovy:37)

Check failure on line 86 in grpc-server-runtime/src/test/groovy/io/micronaut/grpc/GrpcEmbeddedServerSpec.groovy

See this annotation in the file changed.

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

GrpcEmbeddedServerSpec.test fires server startup events with application name and instance id

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2347)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.GrpcEmbeddedServerSpec.test fires server startup events with application name and instance id(GrpcEmbeddedServerSpec.groovy:86)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.grpc.examples.helloworld.HelloRequest
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	... 25 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain [in thread "main"]
	at app//io.grpc.examples.helloworld.HelloRequest.<clinit>(HelloRequest.java:20)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.test GRPC named service discovery(GrpcServiceDiscoverySpec.groovy:37)

Check failure on line 1 in grpc-client-runtime/src/test/groovy/io/micronaut/grpc/GrpcNamedChannelSpec.groovy

See this annotation in the file changed.

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

GrpcNamedChannelSpec.test named client

org.opentest4j.MultipleFailuresError: Multiple Failures (4 failures)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
org.opentest4j.MultipleFailuresError: Multiple Failures (4 failures)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//org.spockframework.runtime.ErrorInfoCollector.assertEmpty(ErrorInfoCollector.java:32)
	at app//org.spockframework.runtime.IterationNode.execute(IterationNode.java:51)
	at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:58)
	at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:15)
	at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
	at app//org.spockframework.runtime.IterationNode.lambda$around$0(IterationNode.java:67)
	at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunIteration$5(PlatformSpecRunner.java:236)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
	at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
	at app//org.spockframework.runtime.PlatformSpecRunner.runIteration(PlatformSpecRunner.java:218)
	at app//org.spockframework.runtime.IterationNode.around(IterationNode.java:67)
	at app//org.spockframework.runtime.SimpleFeatureNode.lambda$around$0(SimpleFeatureNode.java:52)
	at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
	at app//org.spockframework.runtime.FeatureNode.lambda$around$0(FeatureNode.java:41)
	at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunFeature$4(PlatformSpecRunner.java:199)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
	at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
	at app//org.spockframework.runtime.PlatformSpecRunner.runFeature(PlatformSpecRunner.java:192)
	at app//org.spockframework.runtime.FeatureNode.around(FeatureNode.java:41)
	at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:52)
	at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:15)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
	at app//org.spockframework.runtime.SpecNode.lambda$around$0(SpecNode.java:63)
	at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunSpec$0(PlatformSpecRunner.java:61)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
	at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
	at app//org.spockframework.runtime.PlatformSpecRunner.runSpec(PlatformSpecRunner.java:55)
	at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:63)
	at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:11)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 1 in grpc-server-runtime/src/test/groovy/io/micronaut/grpc/GrpcServerConfigurationSpec.groovy

See this annotation in the file changed.

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

GrpcServerConfigurationSpec.initializationError

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2347)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.beforeClass(AbstractMicronautExtension.java:344)
	at app//io.micronaut.test.extensions.spock.MicronautSpockExtension.lambda$visitSpecAnnotation$2(MicronautSpockExtension.java:93)
	at app//org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.grpc.examples.helloworld.HelloRequest
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	... 27 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain [in thread "main"]
	at app//io.grpc.examples.helloworld.HelloRequest.<clinit>(HelloRequest.java:20)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.test GRPC named service discovery(GrpcServiceDiscoverySpec.groovy:37)

Check failure on line 1 in grpc-client-runtime/src/test/groovy/io/micronaut/grpc/HelloWordGrpcSpec.groovy

See this annotation in the file changed.

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

HelloWordGrpcSpec.initializationError

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2347)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.beforeClass(AbstractMicronautExtension.java:344)
	at app//io.micronaut.test.extensions.spock.MicronautSpockExtension.lambda$visitSpecAnnotation$2(MicronautSpockExtension.java:93)
	at app//org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101)
	at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.grpc.examples.helloworld.HelloRequest
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	... 27 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain [in thread "main"]
	at app//io.grpc.examples.helloworld.HelloRequest.<clinit>(HelloRequest.java:20)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.test GRPC named service discovery(GrpcServiceDiscoverySpec.groovy:37)

Check failure on line 56 in grpc-client-runtime/src/test/groovy/io/micronaut/grpc/discovery/GrpcServiceDiscoverySpec.groovy

See this annotation in the file changed.

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

GrpcServiceDiscoverySpec.test GRPC named service discovery

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: com/google/protobuf/RuntimeVersion$RuntimeDomain
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: com/google/protobuf/RuntimeVersion$RuntimeDomain
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2347)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.test GRPC named service discovery(GrpcServiceDiscoverySpec.groovy:37)
	Suppressed: java.lang.NullPointerException: Cannot invoke method stop() on null object
		at app//org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:113)
		at app//org.codehaus.groovy.vmplugin.v8.IndyGuardsFiltersAndSignatures.invokeGroovyObjectInvoker(IndyGuardsFiltersAndSignatures.java:151)
		at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
		at app//io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.$spock_feature_0_0(GrpcServiceDiscoverySpec.groovy:56)
		at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
		at app//org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:187)
		at app//org.spockframework.runtime.model.MethodInfo.lambda$new$0(MethodInfo.java:49)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runFeatureMethod(PlatformSpecRunner.java:324)
		at app//org.spockframework.runtime.IterationNode.execute(IterationNode.java:50)
		at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:58)
		at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:15)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.IterationNode.lambda$around$0(IterationNode.java:67)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunIteration$5(PlatformSpecRunner.java:236)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runIteration(PlatformSpecRunner.java:218)
		at app//org.spockframework.runtime.IterationNode.around(IterationNode.java:67)
		at app//org.spockframework.runtime.SimpleFeatureNode.lambda$around$0(SimpleFeatureNode.java:52)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.FeatureNode.lambda$around$0(FeatureNode.java:41)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunFeature$4(PlatformSpecRunner.java:199)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runFeature(PlatformSpecRunner.java:192)
		at app//org.spockframework.runtime.FeatureNode.around(FeatureNode.java:41)
		at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:52)
		at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:15)
		at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.SpecNode.lambda$around$0(SpecNode.java:63)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunSpec$0(PlatformSpecRunner.java:61)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runSpec(PlatformSpecRunner.java:55)
		at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:63)
		at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:11)
		at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain
	at app//io.grpc.examples.helloworld.HelloRequest.<clinit>(HelloRequest.java:20)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	... 25 more
Caused by: java.lang.ClassNotFoundException: com.google.protobuf.RuntimeVersion$RuntimeDomain
	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:520)
	... 35 more

Check failure on line 37 in grpc-client-runtime/src/test/groovy/io/micronaut/grpc/discovery/GrpcServiceDiscoverySpec.groovy

See this annotation in the file changed.

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

GrpcServiceDiscoverySpec.test GRPC channel explicit URI

io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
Raw output
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.micronaut.grpc.server.GrpcEmbeddedServer]

Message: Could not initialize class io.grpc.examples.helloworld.HelloRequest
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2347)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.test GRPC channel explicit URI(GrpcServiceDiscoverySpec.groovy:63)
	Suppressed: java.lang.NullPointerException: Cannot invoke method stop() on null object
		at app//org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:113)
		at app//org.codehaus.groovy.vmplugin.v8.IndyGuardsFiltersAndSignatures.invokeGroovyObjectInvoker(IndyGuardsFiltersAndSignatures.java:151)
		at app//org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
		at app//io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.$spock_feature_0_1(GrpcServiceDiscoverySpec.groovy:101)
		at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
		at app//org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:187)
		at app//org.spockframework.runtime.model.MethodInfo.lambda$new$0(MethodInfo.java:49)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runFeatureMethod(PlatformSpecRunner.java:324)
		at app//org.spockframework.runtime.IterationNode.execute(IterationNode.java:50)
		at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:58)
		at app//org.spockframework.runtime.SimpleFeatureNode.execute(SimpleFeatureNode.java:15)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.IterationNode.lambda$around$0(IterationNode.java:67)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunIteration$5(PlatformSpecRunner.java:236)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runIteration(PlatformSpecRunner.java:218)
		at app//org.spockframework.runtime.IterationNode.around(IterationNode.java:67)
		at app//org.spockframework.runtime.SimpleFeatureNode.lambda$around$0(SimpleFeatureNode.java:52)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.FeatureNode.lambda$around$0(FeatureNode.java:41)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunFeature$4(PlatformSpecRunner.java:199)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runFeature(PlatformSpecRunner.java:192)
		at app//org.spockframework.runtime.FeatureNode.around(FeatureNode.java:41)
		at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:52)
		at app//org.spockframework.runtime.SimpleFeatureNode.around(SimpleFeatureNode.java:15)
		at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
		at app//org.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40)
		at app//org.spockframework.runtime.SpecNode.lambda$around$0(SpecNode.java:63)
		at app//org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunSpec$0(PlatformSpecRunner.java:61)
		at app//org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
		at app//org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407)
		at app//org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390)
		at app//org.spockframework.runtime.PlatformSpecRunner.runSpec(PlatformSpecRunner.java:55)
		at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:63)
		at app//org.spockframework.runtime.SpecNode.around(SpecNode.java:11)
		at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.grpc.examples.helloworld.HelloRequest
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	... 25 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain [in thread "main"]
	at app//io.grpc.examples.helloworld.HelloRequest.<clinit>(HelloRequest.java:20)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getSayHelloMethod(Greeter2Grpc.java:41)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.getServiceDescriptor(Greeter2Grpc.java:316)
	at app//io.grpc.examples.helloworld.Greeter2Grpc.bindService(Greeter2Grpc.java:260)
	at app//io.grpc.examples.helloworld.Greeter2Grpc$Greeter2ImplBase.bindService(Greeter2Grpc.java:124)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:143)
	at app//io.grpc.internal.ServerImplBuilder.addService(ServerImplBuilder.java:57)
	at app//io.grpc.ForwardingServerBuilder.addService(ForwardingServerBuilder.java:77)
	at app//io.micronaut.grpc.server.GrpcServerBuilder.serverBuilder(GrpcServerBuilder.java:90)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.AbstractBeanResolutionContext.getBean(AbstractBeanResolutionContext.java:89)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.resolveBean(AbstractInitializableBeanDefinition.java:2165)
	at app//io.micronaut.context.AbstractInitializableBeanDefinition.getBeanForConstructorArgument(AbstractInitializableBeanDefinition.java:1328)
	at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2332)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2302)
	at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2314)
	at app//io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3116)
	at app//io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80)
	at app//io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3018)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2979)
	at app//io.micronaut.context.DefaultBeanContext.resolveBeanRegistration(DefaultBeanContext.java:2753)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:1752)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:858)
	at app//io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:850)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:234)
	at app//io.micronaut.context.ApplicationContext.run(ApplicationContext.java:210)
	at io.micronaut.grpc.discovery.GrpcServiceDiscoverySpec.test GRPC named service discovery(GrpcServiceDiscoverySpec.groovy:37)

Check failure on line 17 in protobuff-support/src/test/groovy/io/micronaut/SimpleWebsocketSpec.groovy

See this annotation in the file changed.

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

SimpleWebsocketSpec.test json from proto generated classes websocket exchange

java.lang.NoSuchMethodError: 'com.google.protobuf.Descriptors$FileDescriptor$Syntax com.google.protobuf.Descriptors$FileDescriptor.getSyntax()'
Raw output
java.lang.NoSuchMethodError: 'com.google.protobuf.Descriptors$FileDescriptor$Syntax com.google.protobuf.Descriptors$FileDescriptor.getSyntax()'
	at app//com.hubspot.jackson.datatype.protobuf.builtin.serializers.MessageSerializer.serialize(MessageSerializer.java:64)
	at app//com.hubspot.jackson.datatype.protobuf.builtin.serializers.MessageSerializer.serialize(MessageSerializer.java:30)
	at app//com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:502)
	at app//com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:341)
	at app//com.fasterxml.jackson.databind.ObjectMapper._writeValueAndClose(ObjectMapper.java:4793)
	at app//com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:3997)
	at app//io.micronaut.jackson.databind.JacksonDatabindMapper.writeValue(JacksonDatabindMapper.java:194)
	at app//io.micronaut.json.codec.MapperMediaTypeCodec.encode(MapperMediaTypeCodec.java:231)
	at app//io.micronaut.json.codec.MapperMediaTypeCodec.encode(MapperMediaTypeCodec.java:280)
	at app//io.micronaut.http.netty.websocket.WebSocketMessageEncoder.encodeMessage(WebSocketMessageEncoder.java:74)
	at app//io.micronaut.http.netty.websocket.NettyWebSocketSession.sendSync(NettyWebSocketSession.java:179)
	at app//io.micronaut.websocket.interceptor.ClientWebSocketInterceptor.send(ClientWebSocketInterceptor.java:112)
	at app//io.micronaut.websocket.interceptor.ClientWebSocketInterceptor.intercept(ClientWebSocketInterceptor.java:89)
	at app//io.micronaut.aop.chain.MethodInterceptorChain.proceed(MethodInterceptorChain.java:138)
	at io.micronaut.SimpleWebsocketSpec.test json from proto generated classes websocket exchange(SimpleWebsocketSpec.groovy:17)