java.io.IOException: A file cannot be of zero length: /repositories/third-party/test/test/1.0/test-1.0.jar

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 Vitaliy Morarian, 1 year ago
A file cannot be of zero length: /repositories/third-party/test/test/1.0/test-1.0.jar
via JFrog JIRA by Vitaliy Morarian, 1 year ago
A file cannot be of zero length: /repositories/third-party/test/test/1.0/test-1.0.jar
java.io.IOException: A file cannot be of zero length: /repositories/third-party/test/test/1.0/test-1.0.jar
at org.artifactory.jcr.fs.JcrFile.(JcrFile.java:165)
at org.artifactory.jcr.fs.JcrFile.create(JcrFile.java:86)
at org.artifactory.jcr.JackrabbitJcrWrapper.importStream(JackrabbitJcrWrapper.java:331)
at org.artifactory.repo.JcrRepo$3.doInJcr(JcrRepo.java:395)
at org.artifactory.repo.JcrRepo$3.doInJcr(JcrRepo.java:381)
at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:232)
at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:381)
at org.artifactory.engine.UploadEngine.process(UploadEngine.java:198)
at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:162)
at org.artifactory.webapp.servlet.RepoFilter.access$100(RepoFilter.java:48)
at org.artifactory.webapp.servlet.RepoFilter$JcrWebEntry.doInJcr(RepoFilter.java:111)
at org.artifactory.webapp.servlet.RepoFilter$JcrWebEntry.doInJcr(RepoFilter.java:94)
at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:232)
at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:80)
at org.artifactory.webapp.servlet.ArtifactoryFilter$2.doInJcr(ArtifactoryFilter.java:110)
at org.artifactory.webapp.servlet.ArtifactoryFilter$2.doInJcr(ArtifactoryFilter.java:105)
at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:232)
at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:105)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:172)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:110)
at org.artifactory.webapp.servlet.ArtifactoryFilter$2.doInJcr(ArtifactoryFilter.java:110)
at org.artifactory.webapp.servlet.ArtifactoryFilter$2.doInJcr(ArtifactoryFilter.java:105)
at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:232)
at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:105)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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