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

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
Labels
Milestone

Comments

@tiahino
Copy link

tiahino commented Apr 29, 2015

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:

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)
@gschueler gschueler added the bug label Apr 30, 2015
@gschueler gschueler added this to the 2.5.1 milestone Apr 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants