java.lang.IllegalStateException

Unknown format the provided Artefacts 'ZIP file must have at least one entry'

Solutions on the web15680

  • via SpringSource Issue Tracker by Andy Wilkinson, 1 year ago
    Unknown format the provided Artefacts 'ZIP file must have at least one entry'
  • via SpringSource Issue Tracker by Andy Wilkinson, 1 year ago
    Unknown format the provided Artefacts 'ZIP file must have at least one entry'
  • Form encoded body must have at least one part.
  • Stack trace

    • java.lang.IllegalStateException: Unknown format the provided Artefacts 'ZIP file must have at least one entry' at com.springsource.repository.internal.ArtefactSerializer.getFileData(ArtefactSerializer.java:84) at com.springsource.repository.internal.SerializingArtefactPersister.persistArtefacts(SerializingArtefactPersister.java:67) at com.springsource.repository.internal.StandardArtefactDepository.persistArtefactDepository(StandardArtefactDepository.java:140) at com.springsource.repository.internal.StandardRepository.persistRepository(StandardRepository.java:208) at com.springsource.kernel.repository.LocalRepositoryFactory.createRepository(LocalRepositoryFactory.java:72) at com.springsource.kernel.repository.LocalRepositoryFactory.createRepository(LocalRepositoryFactory.java:57) at com.springsource.kernel.repository.LocalRepositoryFactory.createBundleRepository(LocalRepositoryFactory.java:46) at com.springsource.kernel.repository.internal.RepositoryBackedMutableBundleRepositoryTests.testRegisterNonBundleContent(RepositoryBackedMutableBundleRepositoryTests.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59) at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98) at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79) at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87) at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77) at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42) at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88) at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51) at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    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.