Servoy Preferences

Hi all,

I’m using a MacBook Pro Intel Core 2 Duo with 2GB RAM and Mac OS X 10.4.9 and Java 5.0. When I choose preferences for the first time in a session a blue beachball spins for a second and nothing happens. If I choose it a second time the preferences dialog opens, but only shows the General and Look and Feel tabs (screen shot included).

I have completely reinstalled Servoy with a freshly downloaded copy of 3.1.4 and a new MySQL driver, but the problem still exists. If I look at the log file it only contains the “cannot find repository” message that one would expect with a new installation (fyi I chose not to install the Sybase DB).

Servoy preferences used to work on this machine, but now things seem very strange.

Has anyone run into this problem?

Thanks,

Rich Coulombre

In general such a thing occures when something goes wrong loading the panel (in this case at index 2).
I don’t know which panel it is by heart but the issue probably lies there.
No stacktrace?

There should be an error in the log. Could you check that?

When I open servoy_log.txt this is what I’ve got:

2007-05-07 19:02:48,697 ERROR [main] com.servoy.j2db.util.Debug - Throwable
com.servoy.j2db.persistence.RepositoryException: Could not find repository server: ‘repository_server’
at com.servoy.j2db.persistence.ServerManager.getRepositoryServer(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.bc(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.dataBaseInit(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.for(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.servoy.j2db.startup.Bootstrap.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

Thanks,

Rich

As far as I see, this only says that the repository cannot be found and doesn’t explain why you don’t get to see all preference tabs…

Rich,

Does it work when you do a new install and include sybase?
After startup you can change the repository_server to your mysql database and delete the database directory.

Rob

Hi Rob,

I tried that but no luck. It properly installed the Sybase database and created server connections, but the same problem happened.

I did get is working, though, and will post the solution separately.

Thanks,

Rich