continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Cordes (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (CONTINUUM-2558) Migration 1.3.6 => 1.4.0 (beta) fails with ZipException when reading a pom file
Date Thu, 05 Aug 2010 20:23:32 GMT
Migration 1.3.6 => 1.4.0 (beta) fails with ZipException when reading a pom file
-------------------------------------------------------------------------------

                 Key: CONTINUUM-2558
                 URL: http://jira.codehaus.org/browse/CONTINUUM-2558
             Project: Continuum
          Issue Type: Bug
    Affects Versions: 1.4.0 (Beta)
         Environment: Windows 2008 Server
            Reporter: Stefan Cordes


I exported my 1.3.6 Continuum via
{code}
java  -Xmx512m -jar data-management-cli-1.3.6-app.jar -buildsJdbcUrl jdbc:derby:D:\workspaces\continuum\apache-continuum-1.3.6/data/databases/continuum
-mode EXPORT -directory backups -debug true -settings settings.xml 
{code}

When importing to 1.4.0 (beta) with
{code}
java -Xmx512m -jar data-management-cli-1.4.0-app.jar -buildsJdbcUrl jdbc:derby:apache-continuum-1.4.0/data/databases/continuum
-mode IMPORT -directory backups -settings settings.xml -debug true -strict 
{code}
I get following ZipException when reading maven-scm-providers-standard-1.2.pom which is not
a ZIP.

{code}
439879 [main] DEBUG org.codehaus.plexus.spring.PlexusBeanDefinitionDocumentReader  - Plexus
Bean Definition Document suc
cessfully translated to Spring
439879 [main] DEBUG org.codehaus.plexus.spring.PlexusBeanDefinitionDocumentReader  - <?xml
version="1.0" encoding="UTF-8
"?>

<spring:beans xmlns:spring="http://www.springframework.org/schema/beans" xmlns="http://plexus.codehaus.org/spring"
xmlns
:plexus="http://plexus.codehaus.org/spring" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
default-lazy-init="tru
e" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-be
ans-2.5.xsd                            http://plexus.codehaus.org/spring http://plexus.codehaus.org/schemas/spring-1.0.x
sd">
  <component implementation="org.apache.maven.shared.invoker.DefaultInvoker" role="org.apache.maven.shared.invoker.Invok
er" role-hint="default"/>
</spring:beans>

439879 [main] DEBUG org.codehaus.plexus.spring.PlexusBeanDefinitionDocumentReader  - Loading
bean definitions
439879 [main] DEBUG org.codehaus.plexus.spring.PlexusXmlBeanDefinitionReader  - Loaded 1 bean
definitions from location
pattern [jar:file:C:\Users\dt0b35\.m2\repository\org\apache\maven\shared\maven-invoker\2.0.9\maven-invoker-2.0.9.jar!/**
/META-INF/plexus/components.xml]
439879 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver
 - Looking for matching reso
urces in jar file [file:C:/Users/dt0b35/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar]
439879 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver
 - Resolved location pattern
 [jar:file:C:\Users\dt0b35\.m2\repository\commons-cli\commons-cli\1.0\commons-cli-1.0.jar!/**/META-INF/spring-context.xm
l] to resources []
439879 [main] DEBUG org.codehaus.plexus.spring.PlexusXmlBeanDefinitionReader  - Loaded 0 bean
definitions from location
pattern [jar:file:C:\Users\dt0b35\.m2\repository\commons-cli\commons-cli\1.0\commons-cli-1.0.jar!/**/META-INF/spring-con
text.xml]
439879 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver
 - Looking for matching reso
urces in jar file [file:C:/Users/dt0b35/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar]
439879 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver
 - Resolved location pattern
 [jar:file:C:\Users\dt0b35\.m2\repository\commons-cli\commons-cli\1.0\commons-cli-1.0.jar!/**/META-INF/plexus/components
.xml] to resources []
439879 [main] DEBUG org.codehaus.plexus.spring.PlexusXmlBeanDefinitionReader  - Loaded 0 bean
definitions from location
pattern [jar:file:C:\Users\dt0b35\.m2\repository\commons-cli\commons-cli\1.0\commons-cli-1.0.jar!/**/META-INF/plexus/com
ponents.xml]
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException:
Could not resolve bean defini
tion resource pattern [jar:file:C:\Users\dt0b35\.m2\repository\org\apache\maven\scm\maven-scm-providers-standard\1.2\mav
en-scm-providers-standard-1.2.pom!/**/META-INF/spring-context.xml]; nested exception is java.util.zip.ZipException:
Erro
r opening zip file C:\Users\dt0b35\.m2\repository\org\apache\maven\scm\maven-scm-providers-standard\1.2\maven-scm-provid
ers-standard-1.2.pom
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini
tionReader.java:190)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini
tionReader.java:149)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini
tionReader.java:212)
        at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationC
ontext.java:113)
        at org.apache.maven.continuum.management.util.PlexusFileSystemXmlApplicationContext.loadBeanDefinitions(PlexusFi
leSystemXmlApplicationContext.java:72)
        at org.apache.maven.continuum.management.util.PlexusFileSystemXmlApplicationContext.loadBeanDefinitions(PlexusFi
leSystemXmlApplicationContext.java:94)
        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefresha
bleApplicationContext.java:123)
        at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationCont
ext.java:422)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
        at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.ja
va:140)
        at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.ja
va:106)
        at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:295)
        at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:189)
Caused by: java.util.zip.ZipException: Error opening zip file C:\Users\dt0b35\.m2\repository\org\apache\maven\scm\maven-
scm-providers-standard\1.2\maven-scm-providers-standard-1.2.pom
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:238)
        at java.util.jar.JarFile.<init>(JarFile.java:168)
        at java.util.jar.JarFile.<init>(JarFile.java:106)
        at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:71)
        at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:56)
        at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:99)
        at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:131)
        at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:98)
        at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(PathMa
tchingResourcePatternResolver.java:430)
        at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchin
gResourcePatternResolver.java:339)
        at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatt
ernResolver.java:276)
        at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:1
018)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini
tionReader.java:177)
        ... 12 more

D:\workspaces\continuum>
{code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message