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

Swagger is broken in v0.10.5 and v0.10.5.1 #1791

Open
ehaupt opened this issue Feb 15, 2023 · 2 comments
Open

Swagger is broken in v0.10.5 and v0.10.5.1 #1791

ehaupt opened this issue Feb 15, 2023 · 2 comments

Comments

@ehaupt
Copy link
Contributor

ehaupt commented Feb 15, 2023

Swagger is broken in v0.10.5

# digdag server --enable-swagger --memory
2023-02-14 15:46:12 +0100: Digdag v0.10.5
2023-02-14 15:46:16 +0100 [INFO] (main): Reflections took 3225 ms to scan 1 urls, producing 56163 keys and 112271 values
Exception in thread "main" java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.introspect.AnnotatedMember.getType(Lcom/fasterxml/jackson/databind/type/TypeBindings;)Lcom/fasterxml/jackson/databind/JavaType;
	at io.swagger.jackson.ModelResolver.resolve(ModelResolver.java:280)
	at io.swagger.jackson.ModelResolver.resolve(ModelResolver.java:127)
	at io.swagger.converter.ModelConverterContextImpl.resolve(ModelConverterContextImpl.java:99)
	at io.swagger.jackson.ModelResolver.resolveProperty(ModelResolver.java:106)
	at io.swagger.jackson.ModelResolver.resolveProperty(ModelResolver.java:71)
	at io.swagger.converter.ModelConverterContextImpl.resolveProperty(ModelConverterContextImpl.java:79)
	at io.swagger.converter.ModelConverters.readAsProperty(ModelConverters.java:58)
	at io.swagger.jaxrs.Reader.parseMethod(Reader.java:829)
	at io.swagger.jaxrs.Reader.read(Reader.java:298)
	at io.swagger.jaxrs.Reader.read(Reader.java:150)
	at io.swagger.jaxrs.config.BeanConfig.scanAndRead(BeanConfig.java:235)
	at io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:214)
	at io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:229)
	at io.digdag.server.ServerModule.enableSwagger(ServerModule.java:158)
	at io.digdag.server.ServerModule.configure(ServerModule.java:91)
	at com.google.inject.AbstractModule.configure(AbstractModule.java:64)
	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409)
	at com.google.inject.spi.Elements.getElements(Elements.java:108)
	at com.google.inject.util.Modules$OverrideModule.configure(Modules.java:214)
	at com.google.inject.AbstractModule.configure(AbstractModule.java:64)
	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409)
	at com.google.inject.spi.Elements.getElements(Elements.java:108)
	at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160)
	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
	at com.google.inject.Guice.createInjector(Guice.java:87)
	at org.embulk.guice.Bootstrap.start(Bootstrap.java:168)
	at org.embulk.guice.Bootstrap.build(Bootstrap.java:130)
	at org.embulk.guice.Bootstrap.initializeCloseable(Bootstrap.java:125)
	at io.digdag.guice.rs.server.undertow.UndertowBootstrap.initialize(UndertowBootstrap.java:70)
	at io.digdag.guice.rs.GuiceRsServletContainerInitializer.processBootstrap(GuiceRsServletContainerInitializer.java:61)
	at io.digdag.guice.rs.GuiceRsServletContainerInitializer.onStartup(GuiceRsServletContainerInitializer.java:36)
	at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:192)
	at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:174)
	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
	at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:239)
	at io.digdag.guice.rs.server.undertow.UndertowServer.start(UndertowServer.java:180)
	at io.digdag.server.ServerBootstrap.start(ServerBootstrap.java:86)
	at io.digdag.cli.Server.startServer(Server.java:143)
	at io.digdag.cli.Server.main(Server.java:106)
	at io.digdag.cli.Main.cli(Main.java:198)
	at io.digdag.cli.Main.main(Main.java:86)
@ehaupt
Copy link
Contributor Author

ehaupt commented Jan 22, 2024

Closing this as it's been inactive and no longer aligns with current priorities.

@ehaupt ehaupt closed this as completed Jan 22, 2024
@ehaupt ehaupt reopened this Feb 14, 2024
@ehaupt ehaupt changed the title Swagger is broken in v0.10.5 Swagger is broken in v0.10.5 and v0.10.5.1 Feb 14, 2024
@ehaupt
Copy link
Contributor Author

ehaupt commented Feb 14, 2024

Swagger is still broken in v0.10.5.1:

# ./digdag server --enable-swagger --memory
2024-02-14 10:54:10 +0100: Digdag v0.10.5.1
2024-02-14 10:54:14 +0100 [INFO] (main): Reflections took 4000 ms to scan 1 urls, producing 56497 keys and 112805 values
Exception in thread "main" java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.introspect.AnnotatedMember.getType(Lcom/fasterxml/jackson/databind/type/TypeBindings;)Lcom/fasterxml/jackson/databind/JavaType;
	at io.swagger.jackson.ModelResolver.resolve(ModelResolver.java:280)
	at io.swagger.jackson.ModelResolver.resolve(ModelResolver.java:127)
	at io.swagger.converter.ModelConverterContextImpl.resolve(ModelConverterContextImpl.java:99)
	at io.swagger.jackson.ModelResolver.resolveProperty(ModelResolver.java:106)
	at io.swagger.jackson.ModelResolver.resolveProperty(ModelResolver.java:71)
	at io.swagger.converter.ModelConverterContextImpl.resolveProperty(ModelConverterContextImpl.java:79)
	at io.swagger.converter.ModelConverters.readAsProperty(ModelConverters.java:58)
	at io.swagger.jaxrs.Reader.parseMethod(Reader.java:829)
	at io.swagger.jaxrs.Reader.read(Reader.java:298)
	at io.swagger.jaxrs.Reader.read(Reader.java:150)
	at io.swagger.jaxrs.config.BeanConfig.scanAndRead(BeanConfig.java:235)
	at io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:214)
	at io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:229)
	at io.digdag.server.ServerModule.enableSwagger(ServerModule.java:158)
	at io.digdag.server.ServerModule.configure(ServerModule.java:91)
	at com.google.inject.AbstractModule.configure(AbstractModule.java:64)
	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409)
	at com.google.inject.spi.Elements.getElements(Elements.java:108)
	at com.google.inject.util.Modules$OverrideModule.configure(Modules.java:214)
	at com.google.inject.AbstractModule.configure(AbstractModule.java:64)
	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409)
	at com.google.inject.spi.Elements.getElements(Elements.java:108)
	at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160)
	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
	at com.google.inject.Guice.createInjector(Guice.java:87)
	at org.embulk.guice.Bootstrap.start(Bootstrap.java:168)
	at org.embulk.guice.Bootstrap.build(Bootstrap.java:130)
	at org.embulk.guice.Bootstrap.initializeCloseable(Bootstrap.java:125)
	at io.digdag.guice.rs.server.undertow.UndertowBootstrap.initialize(UndertowBootstrap.java:70)
	at io.digdag.guice.rs.GuiceRsServletContainerInitializer.processBootstrap(GuiceRsServletContainerInitializer.java:61)
	at io.digdag.guice.rs.GuiceRsServletContainerInitializer.onStartup(GuiceRsServletContainerInitializer.java:36)
	at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:192)
	at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:174)
	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
	at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:239)
	at io.digdag.guice.rs.server.undertow.UndertowServer.start(UndertowServer.java:180)
	at io.digdag.server.ServerBootstrap.start(ServerBootstrap.java:86)
	at io.digdag.cli.Server.startServer(Server.java:143)
	at io.digdag.cli.Server.main(Server.java:106)
	at io.digdag.cli.Main.cli(Main.java:198)
	at io.digdag.cli.Main.main(Main.java:86)

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

No branches or pull requests

1 participant