Servoy 7.4.6

We are pleased to announce the availability of Servoy 7.4.6 releaseNumber 2043).

This version is available through the download option on the Servoy website and auto update.
Always make a backup of your current Servoy installation (directory and database) before installing/upgrading.
To update a Servoy eclipse open “Check for updates” via help menu.

Issues in that where addressed in 7.4.6:

Developer
[enh] SVY-9386 Expand the Form Outline viewby default (code included)
[fix] SVY-9052 When using the group feature to group elements on a form Developer constantly crashes
[fix] SVY-8992 Incorrect warning for related value list in related field

Client
[fix] SVY-9196 Relations work with wrong source table

SmartClient

[enh] SVY-9394 include rmi-whitelist into the installer (viewtopic.php?f=16&t=21087)
[enh] SVY-9411 generate a new certificate in servoy_shared that is used for “test” ssl (viewtopic.php?f=6&t=21147)
[fix] SVY-9389 Typeahead format mask not respected

WebClient
[enh] SVY-9088 WriteFile plugin generates URL with private IP instead of public IP
[fix] SVY-9369 Webclient: Table jumps back to first row when selecting rows.
[fix] SVY-9339 Webclient: Menu item events don’t block input or show the “Loading…” indicator.
[fix] SVY-9328 Setting the tooltipText @ runtime on a label that is a cell in a tableview doesn’t work
[fix] SVY-9327 NullPointerException at JSDataSet.getParentScope(JSDataSet.java:1985)
[fix] SVY-9326 NullPointerException at com.servoy.j2db.dblayer.Zb.(Zb.java:201)
[fix] SVY-9301 PopupMenu remains visible when clicking outside the menu on a label/button
[fix] SVY-9262 First best timezone is picked in webclient while the same as server timezone
[fix] SVY-9236 Performance: Slow to click from row-to-row in table view.
[fix] SVY-9235 onRender is being called on records removed from display during sorts.
[fix] SVY-9207 Internal error page caused by NullPointerException in WebCellBasedView$ReorderableListItem
[fix] SVY-9190 Popup window not closing
[fix] SVY-9179 Screen scrolls down automatically when entering find mode.
[fix] SVY-8969 Null Pointer Exception in DBValueList
[fix] SVY-4229 Error: “No selection set on foundset with size 1”

Mobile Client
[enh] SVY-9237 Default Style CSS in servoy mobile

Server
[fix] SVY-9347 Upgrade javamail to fix smtp injection vulnerability
[fix] SVY-9271 “importing table number x out of n” should be a debug log entry so that it is not visible in developer
[fix] SVY-9252 Starting with -upgradeRepository option doesn’t exit.
[fix] SVY-9202 The order in the audit trail is wrong

Jasper
[fix] SVY-9282 Compatibility issue between servoy-jasperreport plugin and java 1.8

Extensions
[fix] SVY-9069 make the oauth plugin smart client enabled
[fix] SVY-8642 Treeview broken in MS-Edge (W10)

I have made a complete new install of Servoy 7.4.6 Application Server.
Servoy_JasperReports_Plugin_v5.0.0 is added to the plugins direction.

But now I get the error:

java.lang.Exception: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: Class not whitelisted for RMI: net.sf.jasperreports.engine.JasperPrint

Mac OSX 10.11.3
Java 1.8_74

Regards Thomas

Hi Thomas,

Did you think about setting this server property: ‘servoy.application_server.trustedRemotePlugins’?
I don’t work with the Jasper Plugin but I assume there is a server (rmi) part…

EDIT: My assumption is wrong I think. Read this: viewtopic.php?f=16&t=21087

Hi Marcel,

I’m wondering because the upgraded version of 7.4.6 from 7.4.5 is working without those errors!?

I have read the topic “rmi/java serialization security fix”… for me it is too complicated and I understand only parts of them…

Regards Thomas

Hi Thomas,

The release notes say it is an enhancement and 7.4.5 does not show this enhancement.

Concerning what you have to do to make it work: I don’t know how to make it any easier.
The topic says pretty much everything I would have written the same thing :)

Hi Marcel, thank you!

It seems the upgraded version 7.4.6 from the previous 7.4.5 does not have the enhancement.

How ever, do I have this

“…then you have to add that package to the -Drmi.whitelist.config=com.servoy.:com.sebster.:a.package.that.you.expect.”

understood right that I must insert

“net.sf.jasperreports.engine.JasperPrint”

to

"servoy.application_server.trustedRemotePlugins: "

in servoy-admin?

Thomas

We are now mixing up things

servoy.application_server.trustedRemotePlugins has nothing to do with the rmi.whitelist.config

trustedRemotePlugins are plugins that you allowed to be called when the smart client is not logged in yet. So be careful with that because if you expose this then anybody with any piece of java code running on their end can call that plugin at any time.

rmi.whitelist.config is much earlier then the above setting. that is much lower level on the transport layer of rmi, so you configure the what rmi (the transport protocol between smart client and server) can use.
so if you want to use stuff of Jasper you need to adjust your servoy_server.sh/bat file (or wrapper conf) so that that system property has the jasper package inside:

-Drmi.whitelist.config=com.servoy.:com.sebster.:net.sf.jasperreports.

In 7.4.6 still a lot of these false warnings in case of forms on a tabpanel which use chained relations as in a_to_b.b_to_c :

SEVERE: An incorrect child relation (ord_sales_order_to_glb_customer) was accessed through a foundset (or a record of foundset) with datasource ‘db:/user_data/ord_sales_order_detail’. The accessed relation actually has ‘db:/user_data/ord_sales_order’ as primary datasource. It will resolve for legacy reasons but please fix it as it is error prone.

SVY-9196 not fixed?

Yes, 7.4.6 generates false errors like the one you mentioned.
See SVY-9196 comments - that should be fixed already for 7.4.7 (which will be released soon).

There is also a forum discussion about this message.

Thanks Andrei for this info.

7.4.7 is now released.