ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gareth Western <>
Subject What does error message "impossible to get artifacts when data has not been loaded" mean?
Date Mon, 03 Aug 2009 14:06:54 GMT
Since I started using the release candidates for Ivy 2.1 I've seen the
following error a few times, but I don't know what it means. Thus far
I've managed to get around it by various incantations, such as
cleaning the cache and restarting the build scripts, but it would be
better if I actually knew what was causing the error. Can anyone
provide some more information?

The latest version I'm seeing is this:

impossible to get artifacts when data has not been loaded. IvyNode =
java.lang.IllegalStateException: impossible to get artifacts when data
has not been loaded. IvyNode = commons-lang#commons-lang;2.1
	at org.apache.ivy.core.resolve.IvyNode.getArtifacts(
	at org.apache.ivy.core.resolve.IvyNode.getSelectedArtifacts(
	at org.apache.ivy.core.resolve.ResolveEngine.resolve(
	at org.apache.ivy.core.resolve.ResolveEngine.resolve(
	at org.apache.ivy.Ivy.resolve(
	at org.clarent.ivyidea.resolve.DependencyResolver.resolve(
	at org.clarent.ivyidea.resolve.IntellijDependencyResolver$
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(
	at org.clarent.ivyidea.resolve.IntellijDependencyResolver.resolve(
	at org.clarent.ivyidea.ResolveForActiveModuleAction$1.doResolve(
	at com.intellij.openapi.progress.impl.ProgressManagerImpl$
	at com.intellij.openapi.progress.impl.ProgressManagerImpl$
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(
	at com.intellij.openapi.progress.impl.ProgressManagerImpl$
	at com.intellij.openapi.application.impl.ApplicationImpl$
	at java.util.concurrent.Executors$
	at java.util.concurrent.FutureTask$Sync.innerRun(
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$
	at com.intellij.openapi.application.impl.ApplicationImpl$1$

The funny thing is I don't think I have any dependencies on
commons-lang;2.1 declared anywhere, only 2.4...

PS The references to an "intellij" package are because this error is
now occuring from an Intellij plugin I'm using (IvyIDEA), however I
have been getting the same error message when calling Ivy from an Ant
task as well...

View raw message