[izpack-changes] r1620 - in izpack-src/branches/branch-3.9: . src/lib/com/izforge/izpack/compiler

noreply at berlios.de noreply at berlios.de
Tue Sep 26 04:09:57 CEST 2006


Author: miraodb
Date: 2006-09-26 04:09:52 +0200 (Tue, 26 Sep 2006)
New Revision: 1620

Modified:
   izpack-src/branches/branch-3.9/Versions.txt
   izpack-src/branches/branch-3.9/src/lib/com/izforge/izpack/compiler/CompilerConfig.java
Log:
Fix NullPointerException in CompilerConfig.java (FM)

Modified: izpack-src/branches/branch-3.9/Versions.txt
===================================================================
--- izpack-src/branches/branch-3.9/Versions.txt	2006-09-25 05:03:12 UTC (rev 1619)
+++ izpack-src/branches/branch-3.9/Versions.txt	2006-09-26 02:09:52 UTC (rev 1620)
@@ -1,6 +1,8 @@
 [ The list of the different public versions of IzPack ]
 
   > 3.9.0 (build 2006.09.25)
+- Fix NullPointerException in CompilerConfig, if you specify a 
+	compiler listener and the compiler listener class can't be found (Dennis Reil)
 - Fix Accents In French Langpack (Fabrice Mirabile)
 - Update French Langpack (Julien Ponge)
 - New Indonesian Langpack (Hans Aikema, thanks to Thomas Edwin Santosa)

Modified: izpack-src/branches/branch-3.9/src/lib/com/izforge/izpack/compiler/CompilerConfig.java
===================================================================
--- izpack-src/branches/branch-3.9/src/lib/com/izforge/izpack/compiler/CompilerConfig.java	2006-09-25 05:03:12 UTC (rev 1619)
+++ izpack-src/branches/branch-3.9/src/lib/com/izforge/izpack/compiler/CompilerConfig.java	2006-09-26 02:09:52 UTC (rev 1620)
@@ -2052,6 +2052,10 @@
             jarPath = "bin/customActions/" + className + ".jar";
         URL url = findIzPackResource(jarPath, "CustomAction jar file", var);
         String fullName = getFullClassName(url, className);
+        if (fullName == null){
+            // class not found
+            return null;
+        }
         if (url != null)
         {
             if (getClass().getResource("/" + jarPath) != null)




More information about the izpack-changes mailing list