incubator-ivy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (IVY-371) IOException during publish causes NullPointerException
Date Thu, 04 Jan 2007 22:46:27 GMT

     [ https://issues.apache.org/jira/browse/IVY-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maarten Coene reassigned IVY-371:
---------------------------------

    Assignee: Maarten Coene

> IOException during publish causes NullPointerException
> ------------------------------------------------------
>
>                 Key: IVY-371
>                 URL: https://issues.apache.org/jira/browse/IVY-371
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.4
>         Environment: JDK 1.5.0_10
>            Reporter: John Williams
>         Assigned To: Maarten Coene
>             Fix For: 1.5
>
>
> I get the following exception when I try to publish.  I'm not sure of the underlying
problem because the NullPointerException hides the IOException.
> do-publish:
>  [property] Loading /tmp/delivery.properties
>  [property] Unable to find property file: /tmp/delivery.properties
> [ivy:publish] :: delivering :: [ lcc | litenejava | 1.3.1 ] :: 1.3.1 :: integration ::
Wed Jan 03 17:09:04 CST 2007
> [ivy:publish]   validate = true
> [ivy:publish]   delivering ivy file to /shared/lcc94/disk1/work/devBuilds/CC/checkout/litenejava/build/ivy.xml
> [ivy:publish]   deliver done (32ms)
> [ivy:publish] :: publishing :: [ lcc | litenejava ]
> [ivy:publish]   validate = true
> [ivy:publish] /usr/local/devh/ivy/lcc/litenejava/1.3.1/jars/litenejava.jar already exists,
nothing done
> BUILD FAILED
> /shared/lcc94/disk1/work/devBuilds/CC/checkout/litenejava/build/ant-support/lcc-ant-targets.xml:267:
impossible to publish artifacts for [ lcc | litenejava | 1.3.1 ]: java.lang.NullPointerException
>         at fr.jayasoft.ivy.ant.IvyPublish.execute(IvyPublish.java:232)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>         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.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>         at org.apache.tools.ant.Target.execute(Target.java:357)
>         at org.apache.tools.ant.Target.performTasks(Target.java:385)
>         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
>         at org.apache.tools.ant.Main.runBuild(Main.java:698)
>         at org.apache.tools.ant.Main.startAnt(Main.java:199)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> Caused by: java.lang.NullPointerException
>         at fr.jayasoft.ivy.repository.AbstractRepository.fireTransferError(AbstractRepository.java:86)
>         at fr.jayasoft.ivy.repository.file.FileRepository.copy(FileRepository.java:52)
>         at fr.jayasoft.ivy.repository.file.FileRepository.put(FileRepository.java:44)
>         at fr.jayasoft.ivy.repository.AbstractRepository.put(AbstractRepository.java:123)
>         at fr.jayasoft.ivy.resolver.RepositoryResolver.put(RepositoryResolver.java:175)
>         at fr.jayasoft.ivy.resolver.RepositoryResolver.publish(RepositoryResolver.java:170)
>         at fr.jayasoft.ivy.Ivy.publish(Ivy.java:2389)
>         at fr.jayasoft.ivy.Ivy.publish(Ivy.java:2372)
>         at fr.jayasoft.ivy.Ivy.publish(Ivy.java:2348)
>         at fr.jayasoft.ivy.ant.IvyPublish.execute(IvyPublish.java:209)
>         ... 17 more
> --- Nested Exception ---
> java.lang.NullPointerException
>         at fr.jayasoft.ivy.repository.AbstractRepository.fireTransferError(AbstractRepository.java:86)
>         at fr.jayasoft.ivy.repository.file.FileRepository.copy(FileRepository.java:52)
>         at fr.jayasoft.ivy.repository.file.FileRepository.put(FileRepository.java:44)
>         at fr.jayasoft.ivy.repository.AbstractRepository.put(AbstractRepository.java:123)
>         at fr.jayasoft.ivy.resolver.RepositoryResolver.put(RepositoryResolver.java:175)
>         at fr.jayasoft.ivy.resolver.RepositoryResolver.publish(RepositoryResolver.java:170)
>         at fr.jayasoft.ivy.Ivy.publish(Ivy.java:2389)
>         at fr.jayasoft.ivy.Ivy.publish(Ivy.java:2372)
>         at fr.jayasoft.ivy.Ivy.publish(Ivy.java:2348)
>         at fr.jayasoft.ivy.ant.IvyPublish.execute(IvyPublish.java:209)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>         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.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>         at org.apache.tools.ant.Target.execute(Target.java:357)
>         at org.apache.tools.ant.Target.performTasks(Target.java:385)
>         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
>         at org.apache.tools.ant.Main.runBuild(Main.java:698)
>         at org.apache.tools.ant.Main.startAnt(Main.java:199)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

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

        

Mime
View raw message