-----Original Message-----
From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED]
Sent: 03 December 2003 12:50
To: JMeter Developers List
Subject: Re: Unit tests totally broken


Hmmm... it really looks like a hang. The test runs to completion (I see 
the output FAILURES!!, and then:

>      [java] FAILURES!!!
>      [java] Xlib: unexpected async reply (sequence 0x11b)!
>      [java] Tests run: 110,  Failures: 2,  Errors: 0
>  
>      [java] java.awt.headless=false
>      [java] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
>      [java] Headless? false
>      [java] Found class:  sun.awt.X11GraphicsEnvironment

and it hangs. 

That is my test code in AllTests.java.

I'm trying to find out why the same code in the graphics class fails.

The code in question is:

        String g="java.awt.graphicsenv";
     String n=System.getProperty(g);
...
        Class c = Class.forName(n);
        System.out.println("Found class:  "+n);
        c.newInstance();
        System.out.println("Instantiated: "+n);
Or similar.

So it looks like the newInstance() is hanging.

Dunno why your graphicsenv is set the way it is.

As far as I know, none of the Gump builds hang like this.

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to