Bug#690152: bsaf: FTBFS: Test, org.jdesktop.application.TaskMonitorTest failed

2012-11-03 Thread Matteo Vescovi
Hi, Here's what I found out so far about this bug. Unsetting the DISPLAY environment variable works around the FTBFS error by skipping the failing Junit tests. However, unsetting DISPLAY is not the preferable/acceptable solution, as it simply skips the failing tests. Check out the

Bug#690152: bsaf: FTBFS: Test, org.jdesktop.application.TaskMonitorTest, failed

2012-11-03 Thread Matteo Vescovi
The first failing test is BadSessionStateTest. The first exception in the log is actually expected: [junit] java.lang.ArrayIndexOutOfBoundsException: 0 [junit] at com.sun.beans.ObjectHandler.dequeueResult(ObjectHandler.java:189) [junit] at

Bug#690152: bsaf: FTBFS: Test org.jdesktop.application.TaskMonitorTest failed

2012-11-03 Thread Matteo Vescovi
Hi, The stack trace led me to suspect the root cause of the issue lies in the java.beans package. I built the bsaf sources and tests with the default jdk (/usr/lib/jvm/default-java - java-6-openjdk) and then ran the entire testsuite with openjdk-7-jdk by changing the exported JAVA_HOME to