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
If the config storage tree is configured to use 'file' provider, several errors occur in the app. such as "not a directory path: acls" or "not a directory path: projects/myproject/acls".
org.rundeck.storage.api.StorageException: not a directory path: acls
at org.rundeck.storage.api.StorageException.listException(StorageException.java:85)
at org.rundeck.storage.data.file.FileTree.filterResources(FileTree.java:166)
at org.rundeck.storage.data.file.FileTree.listDirectory(FileTree.java:120)
at org.rundeck.storage.impl.DelegateTree.listDirectory(DelegateTree.java:71)
at org.rundeck.storage.impl.DelegateTree.listDirectory(DelegateTree.java:71)
at org.rundeck.storage.conf.ListenerTree.listDirectory(ListenerTree.java:97)
at org.rundeck.storage.impl.DelegateTree.listDirectory(DelegateTree.java:71)
at org.rundeck.storage.impl.DelegateTree.listDirectory(DelegateTree.java:71)
at org.rundeck.storage.impl.StringToPathTree.listDirectory(StringToPathTree.java:66)
at rundeck.services.ConfigStorageService.$tt__listDirPaths(ConfigStorageService.groovy:71)
Additionally, saving a new project config file fails with "NullPointerException" "Cannot invoke method propertyNames() on null object"
Caused by: java.lang.NullPointerException: Cannot invoke method propertyNames() on null object
at rundeck.services.ProjectManagerService.mergeProperties(ProjectManagerService.groovy:603)
at rundeck.services.ProjectManagerService.$tt__mergeProjectProperties(ProjectManagerService.groovy:588)
at grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:94)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:91)
at rundeck.services.ProjectManagerService.$tt__mergeProjectProperties(ProjectManagerService.groovy:565)
at grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:94)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:91)
at com.dtolabs.rundeck.server.projects.RundeckProject.mergeProjectProperties(RundeckProject.java:82)
at rundeck.services.FrameworkService.updateFrameworkProjectConfig(FrameworkService.groovy:249)
at rundeck.controllers.FrameworkController.saveProject(FrameworkController.groovy:1215)
... 83 common frames omitted
My Rundeck detail
Rundeck version: 3.0
To Reproduce
Setup config storage tree using file provider in rundeck-config:
Describe the bug
If the config storage tree is configured to use 'file' provider, several errors occur in the app. such as "not a directory path: acls" or "not a directory path: projects/myproject/acls".
Additionally, saving a new project config file fails with "NullPointerException" "Cannot invoke method propertyNames() on null object"
My Rundeck detail
To Reproduce
Setup config storage tree using file provider in rundeck-config:
Expected behavior
Rundeck works as before, (excepting missing acls/project configs)
Additional context
Creating some missing dirs allows certain pages to load, but is not a very workable workaround.
The text was updated successfully, but these errors were encountered: