You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Aaron Digulla (JIRA)" <ji...@codehaus.org> on 2011/05/23 14:15:22 UTC

[jira] Created: (MSITE-584) Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()

Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()
-----------------------------------------------------------------------------------------------

                 Key: MSITE-584
                 URL: http://jira.codehaus.org/browse/MSITE-584
             Project: Maven 2.x and 3.x Site Plugin
          Issue Type: Bug
          Components: site:run
    Affects Versions: 3.0-beta-3
            Reporter: Aaron Digulla


When I run {{mvn site}} on my project, I get an exception in DefaultSiteRenderer.createContextForSkin(): "error in opening zip file"

Which zip file?

-- 
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

        

[jira] Commented: (DOXIASITETOOLS-60) Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()

Posted by "Aaron Digulla (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIASITETOOLS-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=268281#action_268281 ] 

Aaron Digulla commented on DOXIASITETOOLS-60:
---------------------------------------------

The JAR file seems OK so the problem must be that Maven is pulling something in that I don't expect/see.

How can I get this version of Doxia to test?

> Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()
> -----------------------------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-60
>                 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-60
>             Project: Maven Doxia Sitetools
>          Issue Type: Improvement
>          Components: Site renderer
>    Affects Versions: 1.2
>            Reporter: Aaron Digulla
>            Assignee: Lukas Theussl
>             Fix For: 1.3
>
>
> When I run {{mvn site}} on my project, I get an exception in DefaultSiteRenderer.createContextForSkin(): "error in opening zip file"
> Which zip file?

-- 
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

        

[jira] Closed: (DOXIASITETOOLS-60) Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIASITETOOLS-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed DOXIASITETOOLS-60.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3
         Assignee: Lukas Theussl

Improved error message: [r1126622|http://svn.apache.org/viewvc?rev=1126622&view=rev]

> Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()
> -----------------------------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-60
>                 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-60
>             Project: Maven Doxia Sitetools
>          Issue Type: Improvement
>          Components: Site renderer
>    Affects Versions: 1.2
>            Reporter: Aaron Digulla
>            Assignee: Lukas Theussl
>             Fix For: 1.3
>
>
> When I run {{mvn site}} on my project, I get an exception in DefaultSiteRenderer.createContextForSkin(): "error in opening zip file"
> Which zip file?

-- 
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

        

[jira] Commented: (MSITE-584) Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()

Posted by "Aaron Digulla (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=268173#action_268173 ] 

Aaron Digulla commented on MSITE-584:
-------------------------------------

Please add a {{try/catch}} in {{createContextForSkin()}} that adds the file name to the error message (with absolute path).

> Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()
> -----------------------------------------------------------------------------------------------
>
>                 Key: MSITE-584
>                 URL: http://jira.codehaus.org/browse/MSITE-584
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: site:run
>    Affects Versions: 3.0-beta-3
>            Reporter: Aaron Digulla
>
> When I run {{mvn site}} on my project, I get an exception in DefaultSiteRenderer.createContextForSkin(): "error in opening zip file"
> Which zip file?

-- 
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

        

[jira] Commented: (DOXIASITETOOLS-60) Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIASITETOOLS-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=268293#action_268293 ] 

Lukas Theussl commented on DOXIASITETOOLS-60:
---------------------------------------------

Try site-plugin-2.4-SNAPSHOT. Also did you run with -X to get the full debug output?

> Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()
> -----------------------------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-60
>                 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-60
>             Project: Maven Doxia Sitetools
>          Issue Type: Improvement
>          Components: Site renderer
>    Affects Versions: 1.2
>            Reporter: Aaron Digulla
>            Assignee: Lukas Theussl
>             Fix For: 1.2.1
>
>
> When I run {{mvn site}} on my project, I get an exception in DefaultSiteRenderer.createContextForSkin(): "error in opening zip file"
> Which zip file?

-- 
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

        

[jira] Commented: (DOXIASITETOOLS-60) Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIASITETOOLS-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=268207#action_268207 ] 

Lukas Theussl commented on DOXIASITETOOLS-60:
---------------------------------------------

What skin are you using (mvn site:effective-site)? Can you check if that skin jar is not corrupt?

> Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()
> -----------------------------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-60
>                 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-60
>             Project: Maven Doxia Sitetools
>          Issue Type: Improvement
>          Components: Site renderer
>    Affects Versions: 1.2
>            Reporter: Aaron Digulla
>
> When I run {{mvn site}} on my project, I get an exception in DefaultSiteRenderer.createContextForSkin(): "error in opening zip file"
> Which zip file?

-- 
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

        

[jira] Commented: (MSITE-584) Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()

Posted by "Aaron Digulla (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=268172#action_268172 ] 

Aaron Digulla commented on MSITE-584:
-------------------------------------

Here is the full stack trace:

{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site (default-site) on project ExBib: Error during site generation: error in opening zip file -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site (default-site) on project ExBib: Error during site generation
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error during site generation
	at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:131)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
Caused by: java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:127)
	at java.util.zip.ZipFile.<init>(ZipFile.java:144)
	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.createContextForSkin(DefaultSiteRenderer.java:616)
	at org.apache.maven.plugins.site.AbstractSiteRenderingMojo.createSiteRenderingContext(AbstractSiteRenderingMojo.java:312)
	at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:138)
	at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:122)
	... 21 more
{code}


> Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()
> -----------------------------------------------------------------------------------------------
>
>                 Key: MSITE-584
>                 URL: http://jira.codehaus.org/browse/MSITE-584
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: site:run
>    Affects Versions: 3.0-beta-3
>            Reporter: Aaron Digulla
>
> When I run {{mvn site}} on my project, I get an exception in DefaultSiteRenderer.createContextForSkin(): "error in opening zip file"
> Which zip file?

-- 
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

        

[jira] (DOXIASITETOOLS-60) Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/DOXIASITETOOLS-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated DOXIASITETOOLS-60:
------------------------------------------

    Fix Version/s:     (was: 1.2.1)
                   1.3
    
> Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()
> -----------------------------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-60
>                 URL: https://jira.codehaus.org/browse/DOXIASITETOOLS-60
>             Project: Maven Doxia Sitetools
>          Issue Type: Improvement
>          Components: Site renderer
>    Affects Versions: 1.2
>            Reporter: Aaron Digulla
>            Assignee: Lukas Theussl
>             Fix For: 1.3
>
>
> When I run {{mvn site}} on my project, I get an exception in DefaultSiteRenderer.createContextForSkin(): "error in opening zip file"
> Which zip file?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Moved: (DOXIASITETOOLS-60) Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIASITETOOLS-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl moved MSITE-584 to DOXIASITETOOLS-60:
---------------------------------------------------

          Component/s:     (was: site:run)
                       Site renderer
    Affects Version/s:     (was: 3.0-beta-3)
                       1.2
           Issue Type: Improvement  (was: Bug)
                  Key: DOXIASITETOOLS-60  (was: MSITE-584)
              Project: Maven Doxia Sitetools  (was: Maven 2.x and 3.x Site Plugin)

> Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()
> -----------------------------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-60
>                 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-60
>             Project: Maven Doxia Sitetools
>          Issue Type: Improvement
>          Components: Site renderer
>    Affects Versions: 1.2
>            Reporter: Aaron Digulla
>
> When I run {{mvn site}} on my project, I get an exception in DefaultSiteRenderer.createContextForSkin(): "error in opening zip file"
> Which zip file?

-- 
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

        

[jira] Commented: (DOXIASITETOOLS-60) Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()

Posted by "Aaron Digulla (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIASITETOOLS-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=268447#action_268447 ] 

Aaron Digulla commented on DOXIASITETOOLS-60:
---------------------------------------------

Yes. The debug output doesn't list the resources which the plugin loads. That might be a valuable addition.

> Useless error message "error in opening zip file" in DefaultSiteRenderer.createContextForSkin()
> -----------------------------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-60
>                 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-60
>             Project: Maven Doxia Sitetools
>          Issue Type: Improvement
>          Components: Site renderer
>    Affects Versions: 1.2
>            Reporter: Aaron Digulla
>            Assignee: Lukas Theussl
>             Fix For: 1.2.1
>
>
> When I run {{mvn site}} on my project, I get an exception in DefaultSiteRenderer.createContextForSkin(): "error in opening zip file"
> Which zip file?

-- 
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