Index: src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java
===================================================================
--- src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java	(révision 595956)
+++ src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java	(copie de travail)
@@ -143,6 +143,7 @@
         }
 
         protected IStatus run(IProgressMonitor monitor) {
+            IvyPlugin.ensureConsoleInitialized();
             Message.info("resolving dependencies of "+_ivyXmlFile); 
         	_monitor = monitor;
         	final IStatus[] status = new IStatus[1];
Index: src/java/org/apache/ivyde/eclipse/IvyPlugin.java
===================================================================
--- src/java/org/apache/ivyde/eclipse/IvyPlugin.java	(révision 595956)
+++ src/java/org/apache/ivyde/eclipse/IvyPlugin.java	(copie de travail)
@@ -206,15 +206,27 @@
 
 
     public static Ivy getIvy(IJavaProject javaProject) {
+        ensureConsoleInitialized();
         Ivy ivy = refreshIvyConfiguration(javaProject, getIvyconfURL(javaProject));
         setIvyContext(javaProject);
         return ivy == null ? new Ivy() : ivy;
     }
-    
+
+    /**
+     * Make sure current thread's IvyContext has the console
+     */
+    public static void ensureConsoleInitialized() {
+        if (IvyContext.getContext().getMessageImpl()==null) {
+            IvyContext.getContext().setMessageImpl(getDefault().getConsole());
+        }
+    }
+
     public static void setIvyContext(IJavaProject javaProject) {
     	IvyConfig ic = (IvyConfig)_ivysByProject.get(javaProject);
         if (ic != null) {
         	IvyContext.setContext(ic.context);
+        } else {
+            ensureConsoleInitialized();
         }
 	}
 
