Will email solution.
Thanks
Graham
Will email solution.
Thanks
Graham
Recently I’ve begun getting erratic error messages with zero content. Probing with the debugger I’ve discovered:```
globals.gint1 = 1;
> java.lang.NullPointerException
where globals.gint1 is an integer global.
This didn't make much sense, so I relaunched, I removed the filter from the form, tested for a transaction. I moved the instruction to a test method attached to a completely different form and set a string of setting of the global to different numbers.
Now, get this, when I changed the form being currently displayed, the test method worked, the global could be set. Redisplay the form and the global returns an error -- even though the test method is **not** attached to that form. The one common factor is the current display of this particular form.
This still doesn't make much sense. What characteristic of this form could account for causing this fault to the global integer field? I'm looking for recommendations on how to proceed from here.
Version R2 2.2rc3-build 321
Java version 1.4.2_06-b03 (Windows XP)
Hello guys,
Just found a small irregular in the method editor.
When setting the “setSelectedIndex” property from the tree it places a space in front of the “foundset” property
forms.Contact_Details. foundset.setSelectedIndex(index)
Code still works however.
When using CTRL + Space the code is correct
forms.Contact_Details.foundset.setSelectedIndex(index)
Servoy Developer
Version R2 2.2rc3-build 321
Java version 1.5.0_01-b08 (Windows XP)
Keep up the good work, Rene
Hello Guys,
Just updated to RC3 in a test environment.
When opening a client I get the following Java webstart error.
PS under RC2 in opens the client correctly.
Configuration info
Server
Servoy Developer
Version R2 2.2rc3-build 321
Java version 1.4.2_05-b04 (Windows 2003)
Client
Servoy Client
Java version 1.5.0_02 (Windows 2000)
Java webstart Error Message details
General
An error occurred while launching/running the application.
Title: Servoy Client
Vendor: Servoy
Category: Download Error
Could not verify signing in resource: (http://195.75.197.210:80/lib/j2db.jar, 1110888382000)
Launch file
<?xml version="1.0" encoding="utf-8"?> Servoy Client Servoy Database client HelpdeskExeption
JNLPException[category: Download Error : Exception: java.lang.SecurityException: SHA1 digest error for com/servoy/j2db/persistence/Relation.class : LaunchDesc: null ]
at com.sun.javaws.security.SigningInfo.checkSigning(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Wrapped exeption
java.lang.SecurityException: SHA1 digest error for com/servoy/j2db/persistence/Relation.class
at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
at java.util.jar.JarVerifier.processEntry(Unknown Source)
at java.util.jar.JarVerifier.update(Unknown Source)
at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
at com.sun.javaws.security.SigningInfo.checkSigning(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Kind regards Rene
Morley:
Recently I’ve begun getting erratic error messages with zero content. Probing with the debugger I’ve discovered…
Can you sent us the .log.txt as found in your Servoy install dir when this happens?
Rene:
…Just found a small irregular in the method editor…
Corrected in next release
Rene:
…When opening a client I get the following Java webstart error…
Are you sure you did update the server correctly? can you for example start a client from http://demo.servoy.com:8080/index.html ?
are you absoluutly sure that you start the server where you connect to with the client with java 1.4 and not java 1.5??
Because that really looks like a client and server are both in 1.5. This is a know bug and i will try to fix it for the next release. Or disabled the fast loading feature for now.
You can see what youre server uses by going to the /servoy-admin/ page
Hello Jan,
Are you sure you did update the server correctly? can you for example start a client from http://demo.servoy.com:8080/index.html ?
I can download the file completely but I can`t get connection to the repository. (this has probably something to do with our proxyserver)
I can demonstrate it tomorrow to one of you on the servoy seminar.
Rene
Hello Johan,
are you absoluutly sure that you start the server where you connect to with the client with java 1.4 and not java 1.5??
Because that really looks like a client and server are both in 1.5. This is a know bug and i will try to fix it for the next release. Or disabled the fast loading feature for now.You can see what youre server uses by going to the /servoy-admin/ page
these are the settings you requested for.
Server Information
Servoy version R2 2.2rc2-build 320, repository version 25
Uptime: 28 seconds
User Information
Logged in as: rene
JDK Information
java.vm.name=Java HotSpot™ Client VM
java.vm.version=1.4.2_05-b04
java.vm.info=mixed mode
java.vm.vendor=Sun Microsystems Inc.
Operating System Information
os.name=Windows 2003
os.version=5.2
os.arch=x86
I can demonstrate it tomorrow to one of you on the servoy seminar.
Rene
Rene:
Are you sure you did update the server correctly? can you for example start a client from http://demo.servoy.com:8080/index.html ?
I can download the file completely but I can`t get connection to the repository. (this has probably something to do with our proxyserver)
Your server seems partially updated or something… copy a working Servoy lib dir contents ontop of the server lib dir and try again
Hello,
has there been some changes in handling the servoy.properties file format?
I noticed that after the developer update, my database connection rows have changed from:
server.0.URL=jdbc\:mysql\://127.0.0.1/servoy_repository?characterEncoding=ISO8859_1
.. to:
server.0.URL=jdbc\:mysql\://127.0.0.1/servoy_repository?characterEncoding\=ISO8859_1
There is one small but important difference - a backslash after “characterEncoding”. This caused some very peculiar problems as I updated our Linux server just by copying the lib folder to the server. After adding the backslash to the jdbc url it worked.
PS. If you are wondering what the characterEncoding-parameter is - we need it in order to have some special characters display right. This might be a JDBC driver and/or MySQL issue.
You better not manually edit the property file (use the db serverpanel), when the properties are written it escapes any special char… making any second or more from ‘=’ to ‘=’
TIP: use UTF8 encoding for your db
Jan Blok:
You better not manually edit the property file (use the db serverpanel), when the properties are written it escapes any special char… making any second or more from ‘=’ to ‘=’
TIP: use UTF8 encoding for your db
I can’t edit the server db connections any other way, because the fields in the admin panel are read-only.
Tried using UTF8 (well, that is the default encoding?) but things get really broken every time. This is a Red Hat Enterprise Linux server, MySQL 4.1, everything set up at UTF-8… Still no success. The same setup on Windows works fine with UTF-8. But in Linux server we get really weird error messages and behaviour. So, I will stick to latin1 for a while ![]()
jonttu-:
… I can’t edit the server db connections any other way, because the fields in the admin panel are read-only…
In the edit → preferences → “db servers” in Servoy developer??
Hello Guys,
To let you know.
Just did a complete new install and no problem occured when connecting the clients.
With kind regards Rene
Jan Blok:
jonttu-:
… I can’t edit the server db connections any other way, because the fields in the admin panel are read-only…In the edit → preferences → “db servers” in Servoy developer??
It is a headless server in a machine room, without a monitor or keyboard… So I have to do all the configuration via SSH terminal connection or with a browser using the Servoy Administration panel.
Probably I could configure a remote X11 desktop, though. But IMHO it should be possible to administer the server without the need for a GUI.
Ah you are working on the server…it’s on our todo to allow editting of servers