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

Error 500 "provider name was null for Service: FileCopier" at the moment of define "stub" on file copier while creating a new Project #5080

Closed
MegaDrive68k opened this issue Jul 22, 2019 · 0 comments

Comments

@MegaDrive68k
Copy link

commented Jul 22, 2019

Describe the bug

Error 500 "provider name was null for Service: FileCopier" at the moment of define "stub" on file copier.

My Rundeck detail

  • Rundeck version: 3.1.0-RC2
  • JDK version: openjdk version "1.8.0_212"
  • install type: WAR
  • OS Name/Version: Kubuntu 19.03
  • DB Type/version:H2

To Reproduce
Steps to reproduce the behavior:

  1. Go to Projects -> New Project
  2. Give a Name to the new project.
  3. Go to Default File Copier
  4. Select "Stub".
  5. Click on "Create" and see Error 500 with this Stack Trace:
Line | Method
->>   94 | providerOfType             in com.dtolabs.rundeck.core.plugins.BaseProviderRegistryService
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|     53 | providerOfType             in com.dtolabs.rundeck.core.plugins.PluggableProviderRegistryService
|    386 | loadPluginDescriptorByName in com.dtolabs.rundeck.server.plugins.RundeckPluginRegistry
|    135 | getPluginDescriptor        in rundeck.services.PluginService
|    891 | validateServiceConfig . .  in rundeck.services.FrameworkService
|    889 | createProjectPost          in rundeck.controllers.FrameworkController
|    223 | invoke . . . . . . . . . . in org.grails.core.DefaultGrailsControllerClass$MethodHandleInvoker
|    188 | invoke                     in org.grails.core.DefaultGrailsControllerClass
|     90 | handle . . . . . . . . . . in org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter
|    967 | doDispatch                 in org.springframework.web.servlet.DispatcherServlet
|    901 | doService . . . . . . . .  in     ''
|    970 | processRequest             in org.springframework.web.servlet.FrameworkServlet
|    872 | doPost . . . . . . . . . . in     ''
|    846 | service                    in     ''
|    865 | handle . . . . . . . . . . in org.eclipse.jetty.servlet.ServletHolder
|   1655 | doFilter                   in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|    215 | doFilter . . . . . . . . . in org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter
|   1642 | doFilter                   in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|     55 | doFilterInternal . . . . . in org.springframework.boot.web.filter.ApplicationContextHeaderFilter
|   1642 | doFilter                   in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|     67 | doFilterInternal . . . . . in org.rundeck.grails.plugins.securityheaders.RundeckSecurityHeadersFilter
|   1642 | doFilter                   in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|    317 | doFilter . . . . . . . . . in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    127 | invoke                     in org.springframework.security.web.access.intercept.FilterSecurityInterceptor
|     91 | doFilter . . . . . . . . . in     ''
|    331 | doFilter                   in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    114 | doFilter . . . . . . . . . in org.springframework.security.web.access.ExceptionTranslationFilter
|     64 | doFilter                   in grails.plugin.springsecurity.web.UpdateRequestContextHolderExceptionTranslationFilter
|    331 | doFilter . . . . . . . . . in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|     54 | doFilterInternal           in grails.plugin.springsecurity.web.filter.GrailsHttpPutFormContentFilter
|    331 | doFilter . . . . . . . . . in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|     54 | doFilter                   in grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter
|    331 | doFilter . . . . . . . . . in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    158 | doFilter                   in org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter
|    331 | doFilter . . . . . . . . . in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    170 | doFilter                   in org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter
|    331 | doFilter . . . . . . . . . in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    200 | doFilter                   in org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
|    331 | doFilter . . . . . . . . . in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|     64 | doFilter                   in grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter
|    331 | doFilter . . . . . . . . . in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    105 | doFilter                   in org.springframework.security.web.context.SecurityContextPersistenceFilter
|    331 | doFilter . . . . . . . . . in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|     58 | doFilter                   in grails.plugin.springsecurity.web.SecurityRequestHolderFilter
|    331 | doFilter . . . . . . . . . in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    214 | doFilterInternal           in org.springframework.security.web.FilterChainProxy
|    177 | doFilter . . . . . . . . . in     ''
|   1642 | doFilter                   in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|     77 | doFilterInternal . . . . . in org.grails.web.servlet.mvc.GrailsWebRequestFilter
|   1642 | doFilter                   in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|     67 | doFilterInternal . . . . . in org.grails.web.filters.HiddenHttpMethodFilter
|   1642 | doFilter                   in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|    533 | doHandle . . . . . . . . . in org.eclipse.jetty.servlet.ServletHandler
|    146 | handle                     in org.eclipse.jetty.server.handler.ScopedHandler
|    548 | handle . . . . . . . . . . in org.eclipse.jetty.security.SecurityHandler
|    132 | handle                     in org.eclipse.jetty.server.handler.HandlerWrapper
|    257 | nextHandle . . . . . . . . in org.eclipse.jetty.server.handler.ScopedHandler
|   1595 | doHandle                   in org.eclipse.jetty.server.session.SessionHandler
|    255 | nextHandle . . . . . . . . in org.eclipse.jetty.server.handler.ScopedHandler
|   1317 | doHandle                   in org.eclipse.jetty.server.handler.ContextHandler
|    203 | nextScope . . . . . . . .  in org.eclipse.jetty.server.handler.ScopedHandler
|    473 | doScope                    in org.eclipse.jetty.servlet.ServletHandler
|   1564 | doScope . . . . . . . . .  in org.eclipse.jetty.server.session.SessionHandler
|    201 | nextScope                  in org.eclipse.jetty.server.handler.ScopedHandler
|   1219 | doScope . . . . . . . . .  in org.eclipse.jetty.server.handler.ContextHandler
|    144 | handle                     in org.eclipse.jetty.server.handler.ScopedHandler
|    132 | handle . . . . . . . . . . in org.eclipse.jetty.server.handler.HandlerWrapper
|    531 | handle                     in org.eclipse.jetty.server.Server
|    352 | handle . . . . . . . . . . in org.eclipse.jetty.server.HttpChannel
|    260 | onFillable                 in org.eclipse.jetty.server.HttpConnection
|    281 | succeeded . . . . . . . .  in org.eclipse.jetty.io.AbstractConnection$ReadCallback
|    102 | fillable                   in org.eclipse.jetty.io.FillInterest
|    118 | run . . . . . . . . . . .  in org.eclipse.jetty.io.ChannelEndPoint$2
|    333 | runTask                    in org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
|    310 | doProduce . . . . . . . .  in     ''
|    168 | tryProduce                 in     ''
|    126 | run . . . . . . . . . . .  in     ''
|    366 | run                        in org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread
|    762 | runJob . . . . . . . . . . in org.eclipse.jetty.util.thread.QueuedThreadPool
|    680 | run                        in org.eclipse.jetty.util.thread.QueuedThreadPool$2
^    748 | run . . . . . . . . . . .  in java.lang.Thread

Expected behavior
The project must be created with stub file copier (as 3.0.X versions)

Screenshots

error500

@jtobard jtobard added the bug label Jul 22, 2019

@gschueler gschueler added this to the 3.1.0 milestone Jul 22, 2019

@gschueler gschueler closed this in dad9db6 Jul 30, 2019

gschueler added a commit that referenced this issue Jul 30, 2019

Merge pull request #5098 from rundeck/issue/5080
Fix #5080 by sending the chosen file copier plugin type even if it has no config properties.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.