You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2007/09/25 16:14:50 UTC
[jira] Created: (IVY-610) EmptyStackException when upgrading from
1.4 to 2.0
EmptyStackException when upgrading from 1.4 to 2.0
--------------------------------------------------
Key: IVY-610
URL: https://issues.apache.org/jira/browse/IVY-610
Project: Ivy
Issue Type: Bug
Components: Ant
Affects Versions: 2.0.0-alpha-2
Reporter: Maarten Coene
Priority: Critical
When I upgrade Ivy from version 1.4 to version 2.0, I receive an EmptyStackException.
The only thing I did was replacing the ivy-1.4.jar with the ivy-2.0.jar.
I get the following output:
{code}
[ivy:configure] :: Ivy 2.0.0-beta1-incubating-local-20070925041026 - 20070925041
026 :: http://incubator.apache.org/ivy/ ::
[ivy:configure] ivy:configure is deprecated, please use the data type ivy:settin
gs instead
[ivy:info] :: loading settings :: file = C:\working\repository\commons\lcm\ant_
build\config\ivy\ivy-config.xml
[ivy:info] DEPRECATED: 'ivyconf' element is deprecated, use 'ivysettings' inste
ad (file:/C:/working/repository/commons/lcm/ant_build/config/ivy/ivy-config.xml)
[mkdir] Created dir: C:\working\ph_tcomp\profile_manager\build\ivy
[ivy:resolve] :: resolving dependencies :: [ LCMT | profilemanager | working@N51
F2D5 ]
[ivy:resolve] confs: [default, j2ee, standalone, compile, test, runtest]
[ivy:resolve] :: resolution report ::
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| default | 4 | 0 | 0 | 0 || 0 | 0 |
| j2ee | 4 | 0 | 0 | 0 || 0 | 0 |
| standalone | 4 | 0 | 0 | 0 || 0 | 0 |
| compile | 4 | 0 | 0 | 0 || 0 | 0 |
| test | 2 | 0 | 0 | 0 || 0 | 0 |
| runtest | 6 | 0 | 0 | 0 || 0 | 0 |
---------------------------------------------------------------------
[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: [ OTHER | junit | 3.8.1 ]: java.util.EmptyStackExcept
ion at java.util.Stack.peek(Stack.java:79)
[ivy:resolve] :: [ LCMT | commons-test | 1.+ ]: java.util.EmptyStackEx
ception at java.util.Stack.peek(Stack.java:79)
[ivy:resolve] :: [ OTHER | commons-discovery | 0.2 ]: java.util.EmptyS
tackException at java.util.Stack.peek(Stack.java:79)
[ivy:resolve] :: [ OTHER | xerces | 2.4.0 ]: java.util.EmptyStackExcep
tion at java.util.Stack.peek(Stack.java:79)
[ivy:resolve] :: [ OTHER | commons-logging | 1.0.3 ]: java.util.EmptyS
tackException at java.util.Stack.peek(Stack.java:79)
[ivy:resolve] :: [ LCMT | parametermanager | 3.+ ]: java.util.EmptySta
ckException at java.util.Stack.peek(Stack.java:79)
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
{code}
The exception is this:
{code}
C:\working\repository\commons\lcm\ant_build\targets\common-targets-1.0.0.xml:390
: impossible to resolve dependencies: resolve failed - see output for details
at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:295)
at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:281)
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.taskdefs.Sequential.execute(Sequential.java:64)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123)
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.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: resolve failed - see output for details
at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:219)
... 22 more
--- Nested Exception ---
resolve failed - see output for details
at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:219)
at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:281)
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.taskdefs.Sequential.execute(Sequential.java:64)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123)
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.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Total time: 3 seconds
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (IVY-610) EmptyStackException when upgrading from
1.4 to 2.0
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene resolved IVY-610.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-beta-1
Assignee: Maarten Coene
> EmptyStackException when upgrading from 1.4 to 2.0
> --------------------------------------------------
>
> Key: IVY-610
> URL: https://issues.apache.org/jira/browse/IVY-610
> Project: Ivy
> Issue Type: Bug
> Components: Ant
> Affects Versions: 2.0.0-alpha-2
> Reporter: Maarten Coene
> Assignee: Maarten Coene
> Priority: Critical
> Fix For: 2.0.0-beta-1
>
>
> When I upgrade Ivy from version 1.4 to version 2.0, I receive an EmptyStackException.
> The only thing I did was replacing the ivy-1.4.jar with the ivy-2.0.jar.
> I get the following output:
> {code}
> [ivy:configure] :: Ivy 2.0.0-beta1-incubating-local-20070925041026 - 20070925041
> 026 :: http://incubator.apache.org/ivy/ ::
> [ivy:configure] ivy:configure is deprecated, please use the data type ivy:settin
> gs instead
> [ivy:info] :: loading settings :: file = C:\working\repository\commons\lcm\ant_
> build\config\ivy\ivy-config.xml
> [ivy:info] DEPRECATED: 'ivyconf' element is deprecated, use 'ivysettings' inste
> ad (file:/C:/working/repository/commons/lcm/ant_build/config/ivy/ivy-config.xml)
> [mkdir] Created dir: C:\working\ph_tcomp\profile_manager\build\ivy
> [ivy:resolve] :: resolving dependencies :: [ LCMT | profilemanager | working@N51
> F2D5 ]
> [ivy:resolve] confs: [default, j2ee, standalone, compile, test, runtest]
> [ivy:resolve] :: resolution report ::
> ---------------------------------------------------------------------
> | | modules || artifacts |
> | conf | number| search|dwnlded|evicted|| number|dwnlded|
> ---------------------------------------------------------------------
> | default | 4 | 0 | 0 | 0 || 0 | 0 |
> | j2ee | 4 | 0 | 0 | 0 || 0 | 0 |
> | standalone | 4 | 0 | 0 | 0 || 0 | 0 |
> | compile | 4 | 0 | 0 | 0 || 0 | 0 |
> | test | 2 | 0 | 0 | 0 || 0 | 0 |
> | runtest | 6 | 0 | 0 | 0 || 0 | 0 |
> ---------------------------------------------------------------------
> [ivy:resolve]
> [ivy:resolve] :: problems summary ::
> [ivy:resolve] :::: WARNINGS
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] :: [ OTHER | junit | 3.8.1 ]: java.util.EmptyStackExcept
> ion at java.util.Stack.peek(Stack.java:79)
> [ivy:resolve] :: [ LCMT | commons-test | 1.+ ]: java.util.EmptyStackEx
> ception at java.util.Stack.peek(Stack.java:79)
> [ivy:resolve] :: [ OTHER | commons-discovery | 0.2 ]: java.util.EmptyS
> tackException at java.util.Stack.peek(Stack.java:79)
> [ivy:resolve] :: [ OTHER | xerces | 2.4.0 ]: java.util.EmptyStackExcep
> tion at java.util.Stack.peek(Stack.java:79)
> [ivy:resolve] :: [ OTHER | commons-logging | 1.0.3 ]: java.util.EmptyS
> tackException at java.util.Stack.peek(Stack.java:79)
> [ivy:resolve] :: [ LCMT | parametermanager | 3.+ ]: java.util.EmptySta
> ckException at java.util.Stack.peek(Stack.java:79)
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]
> [ivy:resolve]
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> {code}
> The exception is this:
> {code}
> C:\working\repository\commons\lcm\ant_build\targets\common-targets-1.0.0.xml:390
> : impossible to resolve dependencies: resolve failed - see output for details
> at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:295)
> at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:281)
> 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.taskdefs.Sequential.execute(Sequential.java:64)
> at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123)
> 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.Project.executeTarget(Project.java:1185)
> at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
> cutor.java:40)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
> at org.apache.tools.ant.Main.runBuild(Main.java:668)
> at org.apache.tools.ant.Main.startAnt(Main.java:187)
> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> Caused by: resolve failed - see output for details
> at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:219)
> ... 22 more
> --- Nested Exception ---
> resolve failed - see output for details
> at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:219)
> at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:281)
> 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.taskdefs.Sequential.execute(Sequential.java:64)
> at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123)
> 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.Project.executeTarget(Project.java:1185)
> at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
> cutor.java:40)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
> at org.apache.tools.ant.Main.runBuild(Main.java:668)
> at org.apache.tools.ant.Main.startAnt(Main.java:187)
> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> Total time: 3 seconds
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.