Servoy Client Hangs at 'Start Repository' since 3.0.2

Servoy Client hangs with ‘Start Repository’ in the status bar when launching from a jnlp file on the desktop. Quitting and re-launching several times eventually gets the solution to launch. Here is the contents of the Java console when the client hangs:

Dec 6, 2006 2:13:22 PM com.servoy.j2db.util.Debug log
INFO: Starting Servoy from /
Dec 6, 2006 2:13:22 PM com.servoy.j2db.util.Debug log
INFO: Servoy 3.0.1 build-372 on Mac OS X using Java 1.5.0_06
getWebStartURL http://dev.dakim.com:8081/
getWebStartURL http://dev.dakim.com:8081/
getWebStartURL http://dev.dakim.com:8081/
Dec 6, 2006 2:13:25 PM com.servoy.j2db.util.Debug error
SEVERE: Throwable
java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
	java.io.InvalidClassException: com.servoy.j2db.persistence.RootObjectMetaData; local class incompatible: stream classdesc serialVersionUID = 1169254565805681072, local class serialVersionUID = 4734808307183851315
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:157)
	at com.servoy.j2db.persistence.Repository_Stub.getRootObjectMetaDatasForType(Unknown Source)
	at com.servoy.j2db.cmd.c$1.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.io.InvalidClassException: com.servoy.j2db.persistence.RootObjectMetaData; local class incompatible: stream classdesc serialVersionUID = 1169254565805681072, local class serialVersionUID = 4734808307183851315
	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
	at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
	at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:290)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:139)
	... 9 more

This error does not occur in the console when the client launches successfully. Any ideas?

Servoy Developer
Version 3.0.2-build 373
Java version 1.5.0_06-64 (Mac OS X)

Steve in LA

Steve,
did you find the problem, i am finding the same thing. I have a simply login screen coming up, sometimes usually after it has hung and i have restarted it then comes up reasonably quicky, but often when i first go in it hangs and hangs.

I am using a mac server and a mac client.
It allows me to pick the application from the repository and then just hangs.

Did you find an answer?

The solution was to delete the hidden folder named ‘.servoy’. This folder contained files created by the Servoy client that became out of whack. I made a tiny application that finds this folder and deletes it, but I had difficulty uploading it here. Send me an email at steve@dakim.com and I will send it to you and anyone else reading this. I have a Mac OSX and a Windows version of the app. All this application does is verify the existence of the ‘.servoy’ folder on a client machine and deletes it. I cannot be held responsible for any problems as a result of using my application though.

Steve in LA

Instructions for clearing java and servoy cache files:

http://www.data-mosaic.com/DM/client.lasso?menu=4&sub=2