"unexpected async reply" using Swing

Hi.

I’m new to JOGL and have some problems combining JOGL and Swing. When I start the JRefract demo I get this error:

When I replace the Frame and the GLCanvas in the program presented in
this thread by a JFrame and a GLJPanel I get the following output:

(The program makes no problems with the heavyweight components.)

Is this a known bug and is there a workaround for this problem?

System:

[]java version “1.5.0”
Java™ 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot™ Client VM (build 1.5.0-b64, mixed mode, sharing)
[
]JOGL 1.1 b10
[]Geforce4 440 Go
[
]Suse Linux 9.2

Do any of the other JOGL demos work on your system?

Are you using NVidia’s latest drivers?

[quote]Do any of the other JOGL demos work on your system?

Are you using NVidia’s latest drivers?
[/quote]
No. I don’t have the latest driver. I will update the driver later and report if the error still exists. My current driver is

The other JOGL demos:

[]VertexProgWarp, VertexProgRefract, TestContextDestruction, Tess, Multisample, InfiniteShadowVolumes, Gears: These demos work. But I get an error when I close the window.
[
]VertexBufferObject, VertexArrayRange: These demos work. But I get an error when I close the window and this message at start up:

[quote]wglSwapIntervalEXT not available; cannot disable sync-to-refresh
Allocated 4.0 megabytes of fast memory
[/quote]
[]TestContextSharing: Works, Frames can’t be closed.
[
]JGears: I get the following output:

[*]HWShadowmapsSimple: I get a (not closable) empty Frame “Unavailable extension” at startup.

What is the error you get when closing e.g. the VertexProgWarp or VertexProgRefract demos? Are you 100% sure you are running 1.1 b10, both the jar file and native library, and don’t have any old versions of JOGL lying around?

[quote]What is the error you get when closing e.g. the VertexProgWarp or VertexProgRefract demos? Are you 100% sure you are running 1.1 b10, both the jar file and native library, and don’t have any old versions of JOGL lying around?
[/quote]
I’m sure that I’m using 1.1b10.

Here is the output of VertexProgWarp (still with the old drivers):

And here is the report file:

Hi.

I tried to install the new drivers and then… I reinstalled my whole system and installed the new drivers. :slight_smile: Everything works fine now. Thank you for the tip.