Skip to main content

.5 trunk 7/1/09

10 replies [Last post]
steflik
Offline
Joined: 2009-06-29

I downloaded the latest code from trunk, heres what happened:

I started the server and retrieved the page wo start the client, just before the avatar is displayed i get an Application Error box (no details) that saya Unable to launch application. If i click OK the client shuts down, if i just leave the dialog box open the avatar gets displayed (after a short wait) and I can move the avatar around. It still looks like no collision detection is being dome as i can still have the avatar walk through other objects.

When I try the client from another maching i have the same problem as I had with dev. i.e. The client hangs but the avatar has been registered with the server as I can see hime on the client that is running on localhost of the server.

The avatar running on localhost can walk through the avatar registered by the remote machine.

Dick Steflik
Binghamton University
Binghamton, NY

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
steflik
Offline
Joined: 2009-06-29

The details say a null pointer exception with the following in the details window:

Project Wonderland 0.5 Sun Microsystems Inc. Project Wonderland 0.5 Toolkit for building collaborative, immersive environments


Also , the only thing under the Tools menu is the Cell Viewer. Nothing about turning collision detection on/off.

Dick Steflik
Binghamton University
Binghamton, NY

jslott
Offline
Joined: 2006-01-05

I suspect the NPE you are seeing is related to the missing icons (as discussed in another thread). I suspect that NPE is preventing the client from initializing properly (e.g. populating the Tools menu is one side-effect).

Do an "svn update" and recompile from scratch. For development, it's also a bit easier to run the client from the command-line, "ant run" in the core/ directory.

steflik
Offline
Joined: 2009-06-29

I'm using the Tortise svn client and it doesn'r seem to have an update so I did another checkout, hopefully its smart enough to see this as an update. Anyway, after the retrieval I hopped into NetBeans and did a rebuild and when I did a run-server the server seemed to start up smoother. Now when I load up the client I get all of the dropdown menus and the collision detection does seem to work. A lot of the other menu chouces still hang the client running on local host (avatar appearance).

I still can't get the client to run from another maching. It does get far enough into the client start-up that the user gets register and eventually displayed in the client running on local host.

Anyone have any thoughts why i can't get the client to start-up completely on a remote machine?

I'm pretty sure that what I'm seeing on the local host machine is not an NPE but the avatar for the remote machine as it is tagged with name of the user I used to log onto the remote machine.

jslott
Offline
Joined: 2006-01-05

> Anyone have any thoughts why i can't get the client to start-up completely on a remote machine?

We'll need to see the Java web start log. See http://wiki.java.net/bin/view/Javadesktop/TroubleshootingGuide on how to display it.

steflik
Offline
Joined: 2009-06-29

I have the files (log and trace. I don't see anyplace to attach them to this, where would you like me to send them?

BTW, how do you view the trace file, it doesn't seem to be a text file like I would expect.

Dick Steflik
Binghamton University
Binghamton, NY

jslott
Offline
Joined: 2006-01-05

You can email them to me at jslott [at] dev [dot] java [dot] net.

steflik
Offline
Joined: 2009-06-29

Before this thread gets too stale, have you been able to figure out from the files I sent to you.

Dick Steflik
Binghamton University

jslott
Offline
Joined: 2006-01-05

I just emailed. The snippet you sent to me indicates too old a Java version (1.4.2). Please upgrade to Java SE 6. We'll support Java SE 5 for WL 0.5, pending one bug fix.

Java(TM) Plug-in: Version 1.4.2_06
Using JRE version 1.4.2_06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Dick
Proxy Configuration: No proxy

steflik
Offline
Joined: 2009-06-29

Jordan and i have been working this off of the forum and it appears that the Windows Client needs OpenGL 2.0 and the version installed by Windows XP is earlier than that. If this fixes the problem I'll post another reply.

Dick Steflik
Binghamton University

jslott
Offline
Joined: 2006-01-05

Can you get more details about the error you are seeing when launching the Java web server client? There should be a Details button.

As for collision, it is off by default, there's a menu item under Tools to turn it on.