Well, a graphicsenv being sun.awt.X11GraphicsEnvironment on an X console and a Sun JDK does not sound too surprising. It is possible that trying to instantiate it twice causes the hang. It's not the kind of stuff for which there will often be several in a JVM (the possible exception being software working against multiple X displays).

I can live with that until you can work out the Gump thing. Just scares me, though, that Gump may hang too because of this... hope it has some kind of timeout.
--
Salut,


Jordi.

En/na BAZLEY, Sebastian ha escrit:
-----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]




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



Reply via email to