java.lang.IllegalArgumentException: Could not initialize artifactory main directory due to: Unable to create directory /apps/artifactory-current/etc/ui

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JFrog JIRA by Richard Brosnahan, 1 year ago
Could not initialize artifactory main directory due to: Unable to create directory /apps/artifactory-current/etc/ui
via JFrog JIRA by Richard Brosnahan, 1 year ago
Could not initialize artifactory main directory due to: Unable to create directory /apps/artifactory-current/etc/ui
via JFrog JIRA by Yoav Landman, 1 year ago
Could not initialize artifactory main directory due to: null
via JFrog JIRA by Yoav Landman, 1 year ago
Could not initialize artifactory main directory due to: null
via jfrog.org by Unknown author, 1 year ago
Could not initialize artifactory main directory due to: Could not call org.artifactory.mime.MimeTypes.readResolve() : null : Could not call org.artifactory.mime.MimeTypes.readResolve() : null ---- Debugging information ---- message
java.lang.IllegalArgumentException: Could not initialize artifactory main directory due to: Unable to create directory /apps/artifactory-current/etc/ui
at org.artifactory.common.ArtifactoryHome.getOrCreateSubDir(ArtifactoryHome.java:161)
at org.artifactory.common.ArtifactoryHome.create(ArtifactoryHome.java:177)
at org.artifactory.common.ArtifactoryHome.(ArtifactoryHome.java:90)
at org.artifactory.webapp.servlet.ArtifactoryHomeConfigListener.contextInitialized(ArtifactoryHomeConfigListener.java:44)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.