[ https://issues.apache.org/jira/browse/IVY-987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665376#action_12665376 ]
rednix commented on IVY-987: ---------------------------- It's most likely not dom4j - because I got the error with a different package as well: BUILD FAILED C:\workspaces\eclipseGanymede\TEST IVY\build.xml:125: impossible to install org.apache.struts#struts2-spring-plugin;2.1.6: java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded. IvyNode = org.springframework#spring-test;2.5.3 at org.apache.ivy.ant.IvyInstall.doExecute(IvyInstall.java:109) at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277) 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.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) Caused by: java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded. IvyNode = org.springframework#spring-test;2.5.3 at org.apache.ivy.core.resolve.IvyNode.getArtifacts(IvyNode.java:756) at org.apache.ivy.core.resolve.IvyNode.getSelectedArtifacts(IvyNode.java:733) at org.apache.ivy.core.report.ResolveReport.setDependencies(ResolveReport.java:235) at org.apache.ivy.core.install.InstallEngine.install(InstallEngine.java:120) at org.apache.ivy.Ivy.install(Ivy.java:526) at org.apache.ivy.ant.IvyInstall.doExecute(IvyInstall.java:101) ... 17 more --- Nested Exception --- java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded. IvyNode = org.springframework#spring-test;2.5.3 at org.apache.ivy.core.resolve.IvyNode.getArtifacts(IvyNode.java:756) at org.apache.ivy.core.resolve.IvyNode.getSelectedArtifacts(IvyNode.java:733) at org.apache.ivy.core.report.ResolveReport.setDependencies(ResolveReport.java:235) at org.apache.ivy.core.install.InstallEngine.install(InstallEngine.java:120) at org.apache.ivy.Ivy.install(Ivy.java:526) at org.apache.ivy.ant.IvyInstall.doExecute(IvyInstall.java:101) at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277) 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.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) Even if I resolve org.springframework#spring-test;2.5.3 before on its own - it still don't work. > Error message: "impossible to get artifacts when data has not been loaded" , > on certain modules only > ---------------------------------------------------------------------------------------------------- > > Key: IVY-987 > URL: https://issues.apache.org/jira/browse/IVY-987 > Project: Ivy > Issue Type: Bug > Affects Versions: 2.0-RC2 > Environment: ubuntu 8.04, java .1.6.0_06 Java HotSpot(TM) Client VM, > calling external ant 1.7 from netbeans 6.1 IDE, ivy ant task in ants home > lib dir > Reporter: K. Rekk > > I found a similiar post here: > http://www.mail-archive.com/ivy-u...@ant.apache.org/msg01766.html > Everything worked fine with 2.0.0 beta . > > > > It's just a simple test and dom4j seems to cause the problem with > > standard ivysettings : > > <dependencies> > > <dependency org="dom4j" name="dom4j" rev="1.6.1"/> > > <dependency org="log4j" name="log4j" rev="1.2.9"/> > > <dependency org="junit" name="junit" rev="4.5"/> > > </dependencies> > > </ivy-module> > Removing dom4j makes it work again. > So I dont know, is it dom4j or ivy causing the problem? > > output: > > > > init: > > deps-jar: > > ivy-retrieve: > > No ivy:settings found for the default reference 'ivy.instance'. A > > default instance will be used > > no settings file found, using default... > > :: loading settings :: url = > > jar:file:/home/kostja/VZG/soa-workarea-ref/tools/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings/ivysettings.xml > > :: resolving dependencies :: gbv.de#test;work...@myhome > > confs: [default] > > found dom4j#dom4j;1.6.1 in public > > found xml-apis#xml-apis;1.0.b2 in public > > found jaxme#jaxme-api;0.3 in public > > found jaxen#jaxen;1.1-beta-6 in public > > found jdom#jdom;1.0 in public > > found xerces#xmlParserAPIs;2.6.2 in public > > found xerces#xercesImpl;2.6.2 in public > > found xom#xom;1.0b3 in public > > found com.ibm.icu#icu4j;2.6.1 in public > > found org.ccil.cowan.tagsoup#tagsoup;0.9.7 in public > > found msv#xsdlib;20030807 in public > > found msv#relaxngDatatype;20030807 in public > > found pull-parser#pull-parser;2 in public > > found xpp3#xpp3;1.1.3.3 in public > > found stax#stax-api;1.0 in public > > found log4j#log4j;1.2.9 in public > > found junit#junit;4.5 in public > > > > :: problems summary :: > > :::: ERRORS > > impossible to get artifacts when data has not been loaded. > > IvyNode = xalan#xalan;2.5.1 > > :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS > > /home/kostja/VZG/soa-workarea-ref/projects/Test/build.xml:15: impossible > > to resolve dependencies: > > java.lang.IllegalStateException: impossible to get artifacts > > when data has not been loaded. IvyNode = xalan#xalan;2.5.1 > > BUILD FAILED (total time: 0 seconds) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.