PlayN GWT hosted mode BufferOverflowException

I'm trying to get the PlayN demos and show cases to work in eclipse.

When i build / run the "Cute" sample using maven :

/path-to/playn-samples/cute$ mvn -Phtml integration-test

it works fine and i get to see the demo on http://localhost:8080/

But when i run GWT inside eclipse in hosted mode , it seems to compile fine, but once in the browser (http://127.0.0.1:8888/CuteGame.html?gwt.codesvr=127.0.0.1:9997) i get an error in FireBug console (keeps repeating until i close the browser tab)

uncaught exception: java.lang.RuntimeException: Native buffer required java.nio.DirectFloatBufferU[pos=0 lim=640 cap=640]
uncaught exception: java.nio.BufferOverflowException

Any idea what this could be ?

Edit: Here are the versions i'm using:

  • PlayN 1.4
  • GWT 2.4
  • Eclipse Indigo
  • FireFox 13.0.1
  • Java 6
  • Windows 7, 64bits
  • Hosted mode works fine for other projets.
  • 链接地址: http://www.djcxy.com/p/51074.html

    上一篇: gwt托管模式如何观察变化?

    下一篇: PlayN GWT托管模式BufferOverflowException