Strange ArrayIndexOutOfBoundsException

Hi, I’m getting a ArrayIndexOutOfBoundsException and I’m not sure why this is happening. I’m developing a JME client. I’ve got this FakeDiscovery.xml file on a local web server












I did the following in my JME client
mgr = new JMEClientManager(“MHack”
, new JMEDiscovererImpl(getAppProperty(DISCOVERY_XML))
, getAppProperty(USER_MANAGER));
mgr.setListener(this);
mgr.discoverGames();

The respective values in DISCOVERY_XML points http://localhost:8080/FakeDiscovery.xml and USER_MANAGER is com.sun.gi.comm.users.client.impl.JMEHttpUserManagerClient.

So I start my web server and the game server. AFAIK, there is no problem with the GLOs because the game has a JavaSE client as well and that is working.

At the point when I invoke mgr.discoverGames(), I got a ArrayIndexOutOfBoundsException. This exception is not thrown in discoveredGames() method. So between discoverGames() and discoveredGames() method, something happen. The only problematic thing I could think of here is the FakeDiscovery.xml file. I’ve check and I could not find any problems with the file.

Any pointers would be appreciated.

TIA

Regards
Chuk

Is this with EA1 or EA2.

EA1 has a bug where you could not omit the Validator. EA2 was supposed to fix that.