GLException in Tutorial Code

While running code from the tutorial (Interaction) I get a following exception when I terminate the program.


net.java.games.jogl.GLException: Error swapping buffers
      at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.swapBuffers(WindowsOnscreenGLContext.java:140)
      at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:241)
      at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:186)
      at net.java.games.jogl.GLCanvas.display(GLCanvas.java:74)
      at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java:1100)
      at com.xith3d.scenegraph.View.renderOnce(View.java:755)
      at com.xith3d.scenegraph.View.renderOnce(View.java:688)
      at tests.Interaction.<init>(Interaction.java:101)
      at tests.Interaction.main(Interaction.java:46)

Otherwise the program works correctly. I have a Radeon 9700 and my processor is AMD 64 Athlon.
What is going wrong in here.