I'm having the follow error when I launch a Hudson job like mvn clean compile.
[INFO] Compiling 1541 source files to /users/applis/33g/ad33gwas/.hudson/jobs/sonar facade-commande/workspace/facade-commande/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.5.0_12). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.AssertionError
Do you have any idea of reason of this issue?
解决方案
You've encountered a compiler bug. It is not clear which bug it might be, but there is a good chance that it would be fixed by upgrading to a later version of the JDK.
(You are apparently running java 1.5.0_u12, and that is pretty ancient. The last freely available patch release for Java 1.5 is java 1.5.0_u22. The are more recent 1.5 releases (to 1.5.0._u34) available for people with a Java for Business subscription. Alternatively, you could upgrade to Java 1.6 or 1.7.)