You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No signature of method: rundeck.services.ProjectService.exportProjectToFileAsync() when trying to export project archive with the DB storage type
#1198
Closed
tiahino opened this issue
Apr 29, 2015
· 0 comments
Project archive export works in this version with the filesystem storage type.
If I switch to the database backend by changing rundeck.projectsStorageType=db in the rundeck-config.properties and restart the services, all the projects get imported (and respective project.properties files get replaced with project.properties.imported). However, when I try to export an archive through the web UI, I get the following error:
No signature of method: rundeck.services.ProjectService.exportProjectToFileAsync() is applicable for argument types: (com.dtolabs.rundeck.server.projects.RundeckProject, com.dtolabs.rundeck.core.common.Framework, java.lang.String) values: [RundeckProject{name='TestProject', lastModifiedTime=Mon Apr 27 13:20:34 PDT 2015}, ...] Possible solutions: exportProjectToFileAsync(com.dtolabs.rundeck.core.common.FrameworkProject, com.dtolabs.rundeck.core.common.Framework, java.lang.String)
Error details:
Request: /rundeck/project/TestProject/exportPrepare
Message: No signature of method: rundeck.services.ProjectService.exportProjectToFileAsync() is applicable for argument types: (com.dtolabs.rundeck.server.projects.RundeckProject, com.dtolabs.rundeck.core.common.Framework, java.lang.String) values: [RundeckProject{name='TestProject', lastModifiedTime=Mon Apr 27 13:20:34 PDT 2015}, ...] Possible solutions: exportProjectToFileAsync(com.dtolabs.rundeck.core.common.FrameworkProject, com.dtolabs.rundeck.core.common.Framework, java.lang.String)
Caused by: No signature of method: rundeck.services.ProjectService.exportProjectToFileAsync() is applicable for argument types: (com.dtolabs.rundeck.server.projects.RundeckProject, com.dtolabs.rundeck.core.common.Framework, java.lang.String) values: [RundeckProject{name='TestProject', lastModifiedTime=Mon Apr 27 13:20:34 PDT 2015}, ...] Possible solutions: exportProjectToFileAsync(com.dtolabs.rundeck.core.common.FrameworkProject, com.dtolabs.rundeck.core.common.Framework, java.lang.String)
Class: ProjectController
At Line: [115]
Code Snippet:
Stack trace:
groovy.lang.MissingMethodException: No signature of method: rundeck.services.ProjectService.exportProjectToFileAsync() is applicable for argument types: (com.dtolabs.rundeck.server.projects.RundeckProject, com.dtolabs.rundeck.core.common.Framework, java.lang.String) values: [RundeckProject{name='TestProject', lastModifiedTime=Mon Apr 27 13:20:34 PDT 2015}, ...]
Possible solutions: exportProjectToFileAsync(com.dtolabs.rundeck.core.common.FrameworkProject, com.dtolabs.rundeck.core.common.Framework, java.lang.String)
at rundeck.controllers.ProjectController.exportPrepare(ProjectController.groovy:115)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1360)
at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198)
at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:539)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:288)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:115)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:97)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:486)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
at org.eclipse.jetty.server.Server.handle(Server.java:349)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:449)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:910)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
at java.lang.Thread.run(Thread.java:745)
The text was updated successfully, but these errors were encountered:
Rundeck version: 2.5.0
Project archive export works in this version with the filesystem storage type.
If I switch to the database backend by changing rundeck.projectsStorageType=db in the rundeck-config.properties and restart the services, all the projects get imported (and respective project.properties files get replaced with project.properties.imported). However, when I try to export an archive through the web UI, I get the following error:
Error details:
Stack trace:
The text was updated successfully, but these errors were encountered: