openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pinaki Poddar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-902) Occasional ZipException(s) when invoking the enhance.all.entities ant step during the build
Date Wed, 11 Feb 2009 08:08:59 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672544#action_12672544
] 

Pinaki Poddar commented on OPENJPA-902:
---------------------------------------

Similar problems encountered in other openjpa modules.
Never got to the bottom of it.
Ant and Maven version may have some connection with this error. 

> Occasional ZipException(s) when invoking the enhance.all.entities ant step during the
build
> -------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-902
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-902
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: build / infrastructure
>    Affects Versions: 1.2.0, 1.2.1, 2.0.0
>            Reporter: Tim McConnell
>            Assignee: Tim McConnell
>            Priority: Minor
>
> Happens for the openjpa-slice and the openjpa-persistence-jdbc projects. Investigate:

> 1. Why error occurs (see example below)
> 2. Why build does not stop as a result of the failure
> [INFO] ------------------------------------------------------------------------
> [INFO] Building OpenJPA Slice
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 20 source files to C:\SVN\OPENJPA\tags\1.2.0\openjpa-slice\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 12 source files to C:\SVN\OPENJPA\tags\1.2.0\openjpa-slice\target\test-classes
> [INFO] [antrun:run {execution: default}]
> [INFO] Executing tasks
> enhance:
> enhance.all.entities:
>      [echo]  running enhancer
> 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:203)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
> 	at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
> 	at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findNextResource(AntClassLoader.java:126)
> 	at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.nextElement(AntClassLoader.java:109)
> 	at org.apache.tools.ant.util.CollectionUtils$CompoundEnumeration.nextElement(CollectionUtils.java:146)
> 	at sun.misc.CompoundEnumeration.nextElement(CompoundEnumeration.java:43)
> 	at org.apache.openjpa.lib.util.Services.getImplementors(Services.java:99)
> 	at org.apache.openjpa.lib.util.Services.getImplementors(Services.java:71)
> 	at org.apache.openjpa.lib.conf.ProductDerivations.<clinit>(ProductDerivations.java:57)
> 	at org.apache.openjpa.conf.BrokerFactoryValue.<clinit>(BrokerFactoryValue.java:50)
> 	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.<init>(OpenJPAConfigurationImpl.java:188)
> 	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.<init>(OpenJPAConfigurationImpl.java:164)
> 	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.<init>(OpenJPAConfigurationImpl.java:155)
> 	at org.apache.openjpa.ant.PCEnhancerTask.newConfiguration(PCEnhancerTask.java:80)
> 	at org.apache.openjpa.lib.ant.AbstractTask.getConfiguration(AbstractTask.java:97)
> 	at org.apache.openjpa.lib.ant.AbstractTask.createConfig(AbstractTask.java:151)
> 	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:585)
> 	at org.apache.tools.ant.IntrospectionHelper$CreateNestedCreator.create(IntrospectionHelper.java:1244)
> 	at org.apache.tools.ant.IntrospectionHelper$Creator.create(IntrospectionHelper.java:1145)
> 	at org.apache.tools.ant.UnknownElement.handleChild(UnknownElement.java:549)
> 	at org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:326)
> 	at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:182)
> 	at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:158)
> 	at org.apache.tools.ant.Task.perform(Task.java:363)
> 	at org.apache.tools.ant.Target.execute(Target.java:341)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
> 	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
> 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
> 	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> 	at org.apache.tools.ant.Task.perform(Task.java:364)
> 	at org.apache.tools.ant.Target.execute(Target.java:341)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
> 	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
> 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> 	at org.apache.tools.ant.Task.perform(Task.java:364)
> 	at org.apache.tools.ant.Target.execute(Target.java:341)
> 	at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:108)
> 	at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> 	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:585)
> 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message