Tim, why do you exclude beans in a headless run?
2009/12/3 Tim Ellison <t.p.elli...@gmail.com>: > On 03/Dec/2009 17:37, Alexei Fedotov wrote: >> I have noticed [1] that in addition to awt and swing tests the tests >> from the followng packages are broken: >> java.beans >> java.util.jar >> >> Do we care? >> >> [1] http://www.telebridge.ru/harmony/ > > Wow, there are thousands of failures there!! Yes, we care! > > What is happening with your machine? I see it is > svn = rr885602, (Dec 3 2009), Linux/ia32/gcc 4.3.2 > > and I guess it is running headless? I think the problems stem from > that, since I see in your output [1]: > java.lang.NullPointerException > at java.awt.Toolkit.getNativeEventQueue(Toolkit.java:1172) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:46) > java.lang.InternalError: Cannot open display '' > at > org.apache.harmony.awt.wtk.linux.XServerConnection.<init>(XServerConnection.java:41) > at > org.apache.harmony.awt.wtk.linux.XServerConnection.<clinit>(XServerConnection.java:33) > at > org.apache.harmony.awt.wtk.linux.LinuxWindowFactory.<init>(LinuxWindowFactory.java:45) > at org.apache.harmony.awt.wtk.linux.LinuxWTK.<init>(LinuxWTK.java:99) > at java.lang.reflect.VMReflection.newClassInstance(VMReflection.java) > at java.lang.reflect.Constructor.newInstance(Constructor.java:282) > at java.lang.Class.newInstance(Class.java:657) > at java.awt.Toolkit.createWTK(Toolkit.java:975) > at java.awt.Toolkit.access$1(Toolkit.java:972) > at java.awt.Toolkit$1.init(Toolkit.java:555) > at > org.apache.harmony.awt.wtk.NativeEventThread.run(NativeEventThread.java:46) > > > On such a system the best you can hope for is to run all but awt, swing, > and beans, like we do through Hudson > > xvfb-run -a -e xvfb-run.log ant -Dexclude.module=awt,beans,swing test > > > [1] > http://www.telebridge.ru/harmony/org/apache/harmony/beans/tests/java/beans/852_BeansTest-err.txt > > Regards, > Tim > -- With best regards / с наилучшими пожеланиями, Alexei Fedotov / Алексей Федотов, http://www.telecom-express.ru/ http://harmony.apache.org/ http://www.expressaas.com/ http://openmeetings.googlecode.com/